Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

mutiple channels

Hi,
 
I'm making waveforms generation program using DAQmx.  Brifely explainnig my program,
 
it makes two different waveforms first, and then it generates them through two channels at the same time.
 
I made waveforms array and physical channels array so that connect these arrays to "DAQmx creat virtual channels.vi"
 
The probelm is that I cannot connects array channels to the "physical channels" input.
 
For traditional AO wave.vi, I can connect multiple channels. however DAQms I cannot do that.
 
I think DAQmx provides this function. (That is why it is written physical channel"s")
 
When I look at the block diagram of DAQmx creat virtual channels.vi. , there is only one channel instead of array channels.
 
How can I use multiple channels?  
 
Thank you.
0 Kudos
Message 1 of 2
(2,835 Views)
If you want multiple channels and they're all the same type and configured the same (i.e. gain, etc.) then all you have to do is specify Dev1/ao0:1 for channels 0 and 1. If you want each channel configured differently, you use a DAQmx Create Channel for each and wire task out of the first to task in of the second. This is only a little different than the traditional DAQ. You only needed an array of channels when they were configured differently.
0 Kudos
Message 2 of 2
(2,826 Views)