Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

aquiring multiple waveforms

I am trying to write a program to aquire multiple waveforms from a NI cDAQ 9184 with 8 inputs. I set up the data aquisition successfully with DAQ Assist for one channel, but trying to aquire more than one channel is returning an error.

 

AJ Metzger

Test Engineer

Advanced Fusion Systems

0 Kudos
Message 1 of 5
(4,136 Views)

What error are you getting?  What modules are you trying to read from?  Are you trying to read all of your waveforms with the same DAQ Assistant (ie multiple channels in a single task)?  What sample rate are you using?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(4,134 Views)

Currently I have one DAQ Assist reading ai0 and ai1 as a differential with a sample rate of 300 hz. I have tried setting up multiple DAQ Assistants and recieved an error about having multiple DAQ Assists in a program.

I tried to sample 2 and 4 channels in one DAQ Assist set to taking measurements in RSE mode, but it only returns one waveform when sampleing multiple channels.

0 Kudos
Message 3 of 5
(4,124 Views)

Can you post your code?  Sounds like something is setup wrong, but really hard to tell without seeing the code.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 5
(4,120 Views)
If you actually selected ai0 and ai1, that is two different channels. You never select a second channel when doing a differential measurement. That is automatically done for you when you select differential mode.
0 Kudos
Message 5 of 5
(4,117 Views)