Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle multiple channels in DAQmx (data dimensions and types)

I'm trying to read multiple channels in a single task.

I've got a simple example running fine with one channel.

However, I would need a few tips and tricks on how to convert this example to multiple channel. 

 

The code isthe following:

Single_channel.jpg

Changing to 2 channels and setting read to multiple chanels gives:Multiple_channels.jpg

 

Any hints on how to deal with this?

0 Kudos
Message 1 of 2
(3,219 Views)

Obviously, you cannot wire a 2D array to the Split 1D Array function. What are you trying to do with that? Do a subset? If so, use Array Subset which will allow you to wire a 2D array as an input.

 

You might also consider using a waveform data type so you do not lose any of the timing information. That would return a 1D Waveform array.

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