Table Of Contents

Insert Image in Browser (G Dataflow)

Last Modified: June 25, 2019

Adds or inserts an image into the browser. The image is resampled to fit the size of the thumbnail image. The resampling value applied to the image is the same on both axis to maintain the image aspect. Adds the thumbnail at either the last position or the first vacant position, depending on the selected mode. If all positions are occupied, an additional line of thumbnail images is added to the browser.

This node is not supported on ETS targets or VxWorks targets.

connector_pane_image
datatype_icon

browser image in

RGB image that the browser uses.

datatype_icon

image to add

Image to add or insert in the browser. This image can be an 8-bit, 16-bit, floating-point, RGB, or HSL image.

datatype_icon

insertion mode

Mode used for inserting the thumbnail.

Two modes are available:

Name Description
Add at First Free Adds the thumbnail at the first vacant position in the browser.
Add at the End Adds the thumbnail at the last position in the browser.
datatype_icon

color palette

Color palette applied to the thumbnail image.

Color Palette is an array of clusters constructed by the user or supplied by the Get Color Palette.gvi node. This palette is composed of 256 elements for each of the three color planes (red, green, and blue). A specific color is the result of applying a value between 0 and 255 to each of the three color planes. If the three planes have identical values, a gray level is obtained (0 specifies black and 255 specifies white). The default is a grayscale palette. The color palette can be used only for 8-bit images.

For best results, set your video adapter to high color or true color.

datatype_icon

Red

Value of the red color plane.

datatype_icon

Green

Value of the green color plane.

datatype_icon

Blue

Value of the blue color plane.

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

browser image out

Browser image that results from the inputs.

datatype_icon

index

Index of the browser position of the replaced thumbnail.

datatype_icon

matrix indexes

Column, line position of the added thumbnail.

datatype_icon

pixel position

x- and y-coordinates of the topmost-leftmost pixel and bottommost-rightmost pixel of the browser area in which the image is inserted.

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