Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous Writing to Digital 2520 Card (using DAQmx C API)

Hello, Im trying to develop an application that can continuously write an array of 80 elements to the PXI-2520 card.  Each element corresponds to an individual line (channel).  Im struggling with the following:

 

1.  how do I Create the DO channel ?  do I create Dev1/port0:9 using DAQmx_Val_ChanForAllLines?  

2.  which write API do I call in order to write the elements of the array to each line?

3.  the data is always updating, so in order to keep the output up to date, do I need to call the write function in a loop?  

 

Appreciate any insight.  

0 Kudos
Message 1 of 1
(889 Views)