Writing to an Entire Digital Port with DAQmx

Updated May 7, 2023

Reported In

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

I have set up my DAQmx program to write one line. How do I write to the entire port?

Solution

Look at the Digital - Continuous Output example. This can be found in Help >> Find Examples >> Search 'Digital - Continuous Output'. To write to the entire port, just use channel expansion to select all the lines on your port.