01-05-2022 01:31 PM
Good day
I have a program that reads 7 tc in one task and a second task that is reading a single current signal. the NI devices in question are ni9213 for the TC data and a NI9207 for the current measurement.
the tasks enter a while loop where the a analog analog read is used for each task and the waveform data merged into a write to measurement file express vi for some reason I am only seeing 1/2 the quantity of data from the current card if i record 25 samples on the TC side i only record 12.5 on the current side. also I am not sure if this has any effect but the Daq devices are plugged into t2 USB ports .
Any assistance will be great.
Thank you
01-05-2022 02:07 PM
@n3ow wrote:
for some reason I am only seeing 1/2 the quantity of data from the current card if i record 25 samples on the TC side i only record 12.5 on the current side.
Well, you are telling the DAQmx Read to read 2 samples from the TC task while telling the current task to only read 1 samples (N Channels, 1 Sample). And how do you get a half of sample?
What cDAQ chassis are you using? I would get one of the 4 slot chassis, put both of these modules in the chassis, and then only create 1 task. Then you can get all of your measurements together.