How to Read or Write I/O using NI-DAQmx Devices |
Use the Read/Write I/O (NI-DAQmx) step to configure the I/O used in your inspection. The Read/Write I/O (NI-DAQmx) step uses NI-DAQmx Global Virtual Channels, which are configured using Measurement & Automation Explorer (MAX). Refer to the DAQ Assistant Help in MAX for instructions on creating an NI-DAQmx Global Virtual Channel.
- In the Step Name control, enter a descriptive name for the step.
Digital Input Tab
- Select the digital lines and ports you want to read.
Digital Output Tab
- Select the digital lines and ports you want to write. Digital output lines can be set to drive Low, High, Toggle, or to output system signals or boolean measurement results. Digital ports can drive constants or output numeric measurement results.
Analog Input Tab
- Select the analog channels you want to read.
Analog Output Tab
- Select the analog channels you want to write. Analog output channels can write numeric constants or numeric measurement results.
- Click OK to add the step to the inspection.