IMAQ WindZoom 2 VI
Owning Palette: External DisplayInstalled With: NI Vision Development ModuleObtains or modifies the status of the zoom factor. An image can be displayed using either a positive zoom factor, which represents the image larger than actual size, or a negative zoom factor, which represents the image smaller than actual size. When the size of the image window is smaller than the image displayed, use this VI to specify the position of the image that is centered in the image window.
Window Number (0...15) specifies the image window. The window is identified by a number from 0 to 15. The default value is 0. |
|||||||
Zoom Factor can have the following values: 1 to 16 and –1 to –16. The default value is 1 (image is displayed at the original size). |
|||||||
Zoom to Fit? (False) specifies whether the window will automatically zoom to fit the image in the image window. |
|||||||
Center Point is a cluster containing two elements that describe the (x, y) coordinates used to center the image in the image window. |
|||||||
error in (no error) describes the error status before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
|
|||||||
Get/Set Status? (Set) specifies whether to retrieve (Get) or modify (Set) the present values of Zoom Factor and Center Point. |
|||||||
Zoom Factor out returns the current zoom factor. |
|||||||
Zoom to Fit? out returns whether the window will automatically zoom to fit the image. |
|||||||
Center Point out returns the current coordinates of the Center Point. |
|||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
|