Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Overwrite digital output

Hey guys, I need your help...

 

I have a waveform of 1s length that is (repeatedly) written to a digital output task. This works fine, but here is my problem:

Sometimes I need to "interrupt" the current waveform output and overwrite it with a different waveform one before the current output/task has finished. I want to use a DAQmx trigger to do that, but obviously the trigger can only be set when the task is currently not running.

Is there a way to use the trigger even before the task has been stopped? Or do I need to take a different approach (and which one)?

 

Thanks for your help in advance!

 

BW

0 Kudos
Message 1 of 3
(3,503 Views)

looking for an answer I found this posting:

http://forums.ni.com/t5/Multifunction-DAQ/How-to-overwrite-the-output-buffer/td-p/1803060

 

I hope this works! In the meantime I am still thankful for every comment 🙂

0 Kudos
Message 2 of 3
(3,474 Views)

obviously the solution given in the previous post does not work for me, because as soon as the "DAQmx Control Task (Unreserve)" is called the whole output stops (which makes kind of sense, I guess).

 

I just want to overwrite the current output with a new waveform as soon as a button is pushed or a digital/analog trigger is received. Is that so hard to do? 

 

 

 Oh damn, I forgot:

I am working with a USB-6343 DAQ and Labview 2013. Sorry about that 😉

0 Kudos
Message 3 of 3
(3,466 Views)