Query the displayable grayvalues.
query_gray returns all grayvalues that are used for grayvalue output (disp_image) and that can be reproduced exactly in the window. They can be set with the set_gray call. The number of displayable grayvalues can be set with set_system(::'num_gray_*',...:) before opening the first window.
|
WindowHandle (input_control) |
window -> integer |
| Window_id. | |
|
Grayval (output_control) |
integer-array -> integer |
| Tuple of all displayable grayvalues. | |
query_gray returns 2 (H_MSG_TRUE), if the window is valid. Otherwise an exception handling is raised.
query_gray is reentrant, local, and processed without parallelization.
System