Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

individual control of analog output channel CDaq with NI9264

Hello All,

 

I am using a CDaq 9174 with 9205 + 9264.

I would like to control individually 5 of the AO channel depending of what is happening on the analog input (9205). Actually, I want to output 0V if I have more than x volt on the AI.

My five AO are 4 seconds amplitude sweeped 50Hz sinewaves, and are started simultaneously.

My problem is the following : as I can have only one hardware timed task controlling my 5 AO, I cannot find how to conditionnaly stop (ie 0V) only one of the AO channel.

I can see how to manage it with software timed AO, but 1ms loop will give poor result for a 50Hz sinewave.

I probably go the wrong way, but my idea was to slice the 4 seconds signals, in order to have a control in each "slice". But I have a 20-30ms latency between each restart of the task. (see vi attached, an example with 2 "slices" )

Is there any solution to achieve what I am expecting ?

 

Thanks for your help.

 

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