Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Burst Mode in Digital Lines

Hi,

 

I want to write on three Digital Lines as follows.

 

int er=DAQmxCreateTask("GPRxTask",&gTaskHandle);

er= DAQmxCreateDOChan(gTaskHandle,"Dev1/port0/line0","clock",DAQmx_Val_ChanPerLine);
er=DAQmxCreateDOChan(gTaskHandle,"Dev1/port0/line1","Txdata",DAQmx_Val_ChanPerLine);
er=DAQmxCreateDOChan(gTaskHandle,"Dev1/port0/line2","strobe",DAQmx_Val_ChanPerLine);


er=DAQmxWriteDigitalLines(gTaskHandle,256,0,-1,DAQmx_Val_GroupByChannel,Clck,NULL,NULL);
er=DAQmxWriteDigitalLines(gTaskHandle,256,0,-1,DAQmx_Val_GroupByChannel,Strobe,NULL,NULL);
er=DAQmxWriteDigitalLines(gTaskHandle,512,0,-1,DAQmx_Val_GroupByChannel,TxData,NULL,NULL);

i have a requiremnt to burst all the three lines together at the same time .

Please let me know , how it can be acheived (above code write the lines one after other)

 

Thanks

IVI

 

 

0 Kudos
Message 1 of 1
(4,034 Views)