Vision Builder AI Remote Target Options

NI Vision Builder

Vision Builder AI Remote Target Options

You can set global Vision Builder AI options to customize how remote targets handle inspections. To set these options, select Target»Target Options.

Note Note  The Target menu is only available when Vision Builder AI is connected to a remote target.

Startup

The following controls are available for the Startup category.

Control Name Description
Start Inspection When Launched When enabled, the specified inspection begins running automatically when the remote target restarts. Select an item from the Inspection list to specify the inspection to run automatically.
Inspection Inspection you want the run when a remote target restarts. This option is available only when Start Inspection When Launched is enabled
Run Setup and Cleanup States when Specifies when you want Vision Builder AI to run the Inspection Setup and Inspection Cleanup states. The following options are available:
  • Open/Close Inspection (default)—Runs the Inspection Setup state only when an inspection opens and runs the Inspection Cleanup state when an inspection closes.
  • Start/Stop Inspection—Runs the Inspection Setup state when an inspection starts running and runs the Inspection Cleanup state when an inspection stops running.
Initialize all inspection steps when the target starts When enabled, Vision Builder AI loads all the inspection steps into memory when the remote target starts. Otherwise, inspection steps are loaded on first use.

Video Mode

The Video Mode category applies only to NI CVS-1450 devices. The following controls are available for the Video Mode category.

Control Name Description
Screen Resolution Resolution for the display connected to the remote target. Refer to the display documentation for information about the maximum supported screen resolution.
Color Quality Number of bits used to represent a screen pixel.
Screen Refresh Rate Refresh frequency you want to use on the display connected to the remote target. Refer to the display documentation for information about maximum refresh rate frequencies.
Test Tests the specified video settings using the connected display.

Image Display

The following controls are available for the Image Display category.

Control Name Description
Image Display Palette Changes the display palette used to display the images. The following options are available:
  • Gray Levels—Gradual gradation from black to white.
  • Binary—16 cycles of 16 different colors. The binary palette is designed especially for binary images.
  • Gradient—Gradation from red to white with a prominent range of light blue in the upper value range. 0 is black and 255 is white.
  • Rainbow—Gradation from blue to red with a prominent range of greens in the middle value range. 0 is blue and 255 is red.
  • Temperature—Gradation from light brown to dark brown. 0 is black and 255 is white.
  • Extended Rainbow—Complete rainbow gradation from black to violet, blue, green, red, and white. 0 is black and 255 is white.
  • Iron—Display palette traditionally used for thermal imaging. The color gradation matches the changing hues of iron when heated: black to purple, red, orange, yellow, and white. 0 is black and 255 is white.
Mapping Method Enables the mapping technique used when displaying a 16-bit grayscale image. The following options are available:
  • Full Dynamic—Full dynamic range of the 16-bit image is mapped to an 8-bit (256 grayscale values) scale. 16-bit images are displayed by scaling the data to 8 bits, calculated as a function of the dynamic range from the image source. The minimum value (min) and the maximum value (max) are calculated automatically. Then the following formula is applied to each pixel:

    Display(x, y) = (Src(x, y) − min) × 255/(max − min)

  • Downshift—16-bit image pixels are shifted to the right the number of times specified by the # Shifts cluster member.
  • Given Range—Pixel values in the range specified by Minimum Value and Maximum Value are mapped to an 8-bit scale.
  • 90% Dynamic—Dynamic range containing the middle 90% of the cumulated histogram of the image is mapped to an 8-bit (256 grayscale values) scale.
  • Given Percent Range—Pixel values in the relative percentage range (0 to 100) of the cumulated histogram specified by Minimum Value and Maximum Value are mapped to an 8-bit scale.
Minimum Value Minimum value used for Given Range and Given Percent Range. When Mapping Method is set to Given Range, Minimum Value represents the value that is mapped to 0. When Mapping Method is set to Given Percent Range, Minimum Value represents the percentage of the range used to compute the pixel value mapped to 0.
Maximum Value Maximum value used for Given Range and Given Percent Range. When Mapping Method is set to Given Range, Maximum Value represents the value that is mapped to 255. When Mapping Method is set to Given Percent Range, Maximum Value represents the percentage of the range used to compute the pixel value mapped to 255.
# Shifts Number of bits to right-shift the pixel values for the Downshift conversion method.

Shutdown States

The Shutdown States category applies only to NI CVS-1450 devices. The following controls are available for the Shutdown States category.

Control Name Description
Enable Shutdown Enables the remote target to handle fault conditions and detect user shutdown. When enabled, this control allows you to specify shutdown states for the digital I/O lines on the NI CVS-1450 device. The following options are available for each I/O line:
Caution  When Enable Shutdown is selected and the shutdown input signal, ISO Input 11, turns off, NI CVS-1450 devices register an external shutdown condition. When this fault occurs, the POWER OK LED turns red and all device operations halt. To resume operation, you must reset the device.
Note  Make sure the shutdown input signal, ISO Input 11, is turned on before enabling the shutdown on an NI CVS-1450 device.

TTL Output Lines

  • Drive Low
  • Drive High
  • Tri-State (default)

ISO Output Lines

  • Drive Low (default)
  • Drive High

Serial Port

The following controls are available for the Serial Port category.

Control Name Description
Baud Rate Rate of transmission. The default value is 9600.
Data Bits Number of bits in the incoming data. The value of data bits is between five and eight. The default value is 8.
Parity Specifies the parity used for every frame to be transmitted or received.
Stop Bits Specifies the number of stop bits used to indicate the end of a frame.
Flow Control Sets the type of control used by the transfer mechanism.
Termination Character Calls for termination of the read operation. The read operation terminates when the termination char is read from the serial device. 0xA is the hex equivalent of a linefeed character (\n). Change the termination char to 0xD for message strings that terminate with a carriage return (\r).
Enable Termination Char Prepares the serial device to recognize Termination Char. If True (default), the VI_ATTR_ASRL_END_IN attribute is set to recognize the termination character. If False, the VI_ATTR_ASRL_END_IN attribute is set to 0 (None) and the serial device does not recognize the Termination Char.
Timeout Sets the timeout value for the write and read operations.

Time Server

The Time Server category applies only to NI Smart Cameras. The following controls are available for the Time Server category.

Control Name Description
Synchronize to SNTP Server Enable this control to synchronize the NI Smart Camera internal clock to a Standard Network Time Protocol (SNTP) server.
IP Address Specifies the IP address of the SNTP server.
Time Zone Specifies the time zone for the date and time.

Date & Time

The Date & Time category applies only to NI CVS-1450 devices. The following controls are available for the Date & Time category.

Control Name Description
New Date and Time Specifies the new date and time. Click Set Date Time to apply the new settings.
Note Note  After updating the Date & Time settings, you must restart the remote target to begin using the new settings.
Time Zone Specifies the time zone for the date and time.

Web Server

The Web Server is used to display a custom Inspection Interface. The following controls are available for the Web Server category.

Control Name Description
Enable Web Server Specifies whether you want to provide access to an inspection using a custom Inspection Interface through a Web Server.
Browser Access List Lists browser addresses that have access to the Web Server. Two green checkmarks appear to the left of the item when you allow viewing and controlling of the front panel, a single green checkmark appears when you allow only viewing of the front panel, and a red X appears when you deny access. If an entry does not have a green checkmark or a red X by its name, the syntax for the entry is incorrect.
Browser Address Enter a browser address to list in the Browser Access List. You can use wildcards in the browser address you enter.
Allow Viewing and Controlling Allows the browser address selected in the Browser Access List access to the Web Server for viewing and controlling an inspection remotely.
Allow Viewing Allows the browser address selected in the Browser Access List access to the Web Server for viewing inspections. This option is selected by default.
Deny Access Denies the browser address selected in the Browser Access List access to the Web Server.
Add Adds a new browser address to the Browser Access List. The new address appears below the selected address in the Browser Access List.
Remove Removes the selected browser address from the Browser Access List.

Secondary Ethernet

The Secondary Ethernet category applies only to NI Smart Cameras. The following controls are available for the Secondary Ethernet category.

Control Name Description
Secondary Ethernet Port Settings Specifies the behavior and IP address for the secondary Ethernet port. The following options are available:
  • Disabled—When enabled, the secondary Ethernet port on the remote target is disabled.
  • Use Static IP Address—When enabled, Vision Builder AI assigns the specified IP address to the remote target. Use the following controls to specify the IP address:
    • IP Address—Specifies the IP address for the secondary Ethernet port.
    • Subnet Mask—Specifies the subnet mask for the secondary Ethernet port.
  • Use Link-Local IP Address—When enabled, Vision Builder AI uses the specified IP Address to assign an IP address in the link-local range to the remote target. Use the following control to specify the IP address:
    • IP Address—Specifies the link-local IP address for the secondary Ethernet port.