Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Generating two digital waveform signals triggered by an X Series input channel with NI-DAQmx

Hello,
I need your help. I am unable to generate two signals from a table on port 0 simultaneously. The DAQmx “write” function indicates that it is already busy. Do you have any idea what the program structure should be to send a waveform signal created from a digital array to channel port0(0) and another waveform signal of the same array size to channel port 0(1) at the same time? Please note that I am using a virtual channel to trigger the generation of these two channels.
Best regards

 

0 Kudos
Message 1 of 5
(76 Views)

You need to combine all hardware timed DIO channels into the same task as there is only one DO timing engine on X-series DAQ.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 5
(73 Views)

Okay, I put the physical DIO channels on the same task, at least I hope so. You'll find the IV in your email.
But now I'm getting another error saying: 1 task and 2 data points...

 

 

0 Kudos
Message 3 of 5
(52 Views)

Please try with the option "one channel for each line"

santo_13_0-1757427452573.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 5
(47 Views)

Great!
The Vi no longer has any bugs!!!
Well, I don't have any output signal....

0 Kudos
Message 5 of 5
(33 Views)