Table Of Contents

Window Zoom (G Dataflow)

Last Modified: October 24, 2017

Obtains 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 node to specify the position of the image that is centered in the image window.

connector_pane_image
datatype_icon

window number

Number from 0 to 15 that specifies the image window.

Default: 0

datatype_icon

zoom factor in

Value of 1 to 16 or -1 to -16.

Default: 1 (image is displayed at the original size)

datatype_icon

zoom to fit in

Boolean value that specifies whether to use automatic zoom to fit the image in the image window.

True Automatic zoom enabled
False Automatic zoom disabled

Default: FALSE

datatype_icon

center point in

Cluster containing two elements that describe the (x, y) coordinates used to center the image in the image window.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

get/set?

Boolean value that specifies whether to determine the bit depth of the image or modify the bit depth of the image.

True Set
False Get

Default: TRUE (Set)

datatype_icon

zoom factor out

Current zoom factor.

datatype_icon

zoom to fit out

Boolean that indicates whether the window will automatically zoom to fit the image.

True Automatic zoom enabled
False Automatic zoom disabled
datatype_icon

center point out

Current coordinates of the center point.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics