LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

issue with 2 devices recording different amount or data points

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

 

n3ow_0-1641410775435.png

 

0 Kudos
Message 1 of 2
(1,053 Views)

@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.



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 2
(1,045 Views)