Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog Output reset to zero before a triggered simultaneous read/write in cDAQ 9260/9239

Hello -

 

I am using NIDAQmx with a c-code to control the output of a cDAQ 9260 card while simultaneously reading some inputs using the 9239 card. When setting up the "write" channel, I have enabled SetAO_IdleOutputBehavior so that the card continues to output the last value. This works, i.e., if I test the output with a multimeter, the output is maintained even after clearing the write task.

 

However, if I do a simultaneous read/write where the read is triggered to start when the write starts using /ao/starttrigger, the output of the card right before the trigger drops to zero. Once the read is done, the output continues to maintain the last value. However, if the read/write loop is repeated, again, just before the output starts, the voltage output drops to zero. 

 

Is there anyway to maintain the output before a triggered event?

Thanks -

 

0 Kudos
Message 1 of 1
(668 Views)