LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Taking multiple measurements with SCB-68 and PCI6036E

I have an SCB-68 connector block attached to a PCI6036E card in my computer. I want to take both current and temperature readings using this setup. Is it possible to perform both simultaneuosly? I want to continuously sample the current waveform at >100kS/s and the temperature at any speed faster than 1S/s. Using DAQmx I can read both independently in my LabVIEW program, but if I try reading them both in the same program (a loop, at the same time, one then the other) it just ends up generating errors.

Any help or advice would be greatly appreciated.

Thanks,
Neil
0 Kudos
Message 1 of 2
(2,968 Views)
Since the PCI-6036E device contains a single ADC, two tasks cannot perform analog input operations at the same time.

In order to perform both the current measurement and the temperature measurement simultaneously, both channels need to be added to the same task. Since both channels will be part of the same task, both channels will share the same timing.

So, if you configure a DAQmx task to contains the channel for the current measurement and the channel for the temperature measurement and set the sample rate of the task to 100kS/s, your application should work. Of course, you will be reading the value of the temperature channel much more than necessary, but averaging those values is probably a good idea anyway.

geoff
--
Geoff Schmit
Huskie Robotics, FIRST Team 3061 Lead Mentor
http://team3061.org/
@team3061
0 Kudos
Message 2 of 2
(2,968 Views)