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