Read/Write (NI-IMAQ I/O) Controls

NI Vision Builder

Communicate

Read/Write (NI-IMAQ I/O) Controls

The following controls are available on all tabs.

Control Name Description
Step Name Name to give the step.
Test Panel Launches the NI-IMAQ I/O Test Panel. The test panel allows you to monitor the values of the NI-IMAQ I/O lines, isolated port, encoder, and isolated power status. The test panel also allows you to set digital outputs and chart the values of multiple digital I/O lines.

Digital Inputs Tab

The following controls are available on the Digital Inputs tab.

Digital Input Lines

Control Name Description
Read Specifies the digital input lines to use in your inspection.
Name Name of the digital input line.
Action Specifies the behavior of the digital input line.
  • Read Line Value—Reads the current value of the digital input line.
  • Detect Any Edge—Detects any change in the value of the digital input line.
  • Detect Rising Edge—Detects when the value of the digital input line changes from Low to High.
  • Detect Falling Edge—Detects when the value of the digital input line changes from High to Low.
Edge Detection Filter Width (ms) Specifies the amount of time the line must be in the new state to be considered a change. Any changes that occur for less the specified Edge Detection Filter Width are ignored. Valid values are between 0 and 163 ms.

Digital Input Ports

Control Name Description
Read Specifies the digital input ports to use in your inspection.
Name Name of the digital input port.

Digital Output Tab

The following controls are available on the Digital Output tab.

Digital Output Lines

Control Name Description
Write Specifies the digital output lines you want to use in your inspection.
Name Name of the digital output line.
Value Signal or value you want to output on the line. Digital output lines can be set to drive Low, High, or Toggle. The digital output lines can also be set to output system signals, boolean measurement results, or the value of a boolean variable.
Polarity Specifies whether the digital output line is driven high when the signal selected is TRUE, or Pass, or when the signal selected is FALSE, or Fail.

Enable Lines

Control Name Description
Write Specifies the enable lines you want to use in your inspection.
Name Name of the enable line.
Value Signal or value you want to use for the enable line. Enable lines can be set to Enable or Disable. The enable lines can also be set to system signals, boolean measurement results, or the value of a boolean variable.
Polarity Specifies whether the corresponding digital output line is enabled when the value is TRUE (Pass) or FALSE (Fail).