From the course: Data Acquisition with LabVIEW

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Digital output with NI-DAQmx API

Digital output with NI-DAQmx API - LabVIEW Tutorial

From the course: Data Acquisition with LabVIEW

Digital output with NI-DAQmx API

- [Instructor] To demonstrate how to generate digital output using the DAQmx API instead of the simplified DAQ Assistant Express VI, I'm going to turn to the example finder by going to help, find examples. I'll navigate to the hardware input/output section, DAQmx, digital output, and select digital software-timed output. And I'll press Control + T to view the front panel and block diagram side by side. This code is almost identical to the software-timed digital input example we looked at in a previous video, but there are two differences. The create channel VI is configured for digital output instead of input, and instead of using a read VI inside of the while loop to display acquired data on Boolean indicator to perform digital output, it uses the write VI to write data from an array of Boolean controls to the DAQ device. And that's pretty much the difference between software-timed digital input and output. I'll…

Contents