LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[Help] Difference between Channel Length (.tdms save data) and samples calculated

Hi guys, im  in trouble with my VI DAQ, i have a huge difference between Length data (.tdms files) and my samples calculated in the same loop, i dont know if im doing something wrong in my code or if is it normal when u save data with DAQ, i appreciate any help or guide , I attached evidence (frecuency: 1000 Hz, total time: 7,366 s ) and a picture of my labview code.  

 

Cheers and have a nice day!

 

 

Download All
0 Kudos
Message 1 of 3
(3,311 Views)

You might have what we like to call a race condition.  The problem is that you have no clue when that first Tick Count is taken.  It could be from before any of the setup or right before your loop starts or anywhere in between.  Trust the hardware timing to give you what you need.


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 3
(3,282 Views)

Thanks crossrulz, but how can i view my hardware frecuency? is a VI put in the block diagram or something? i use Instacal, and its supposed that labview reads instacal measures with Ulx library, that example (evidence1.png) was with a DEMO-BOARD configure in instacal (like a waveform generate but in Instacal not labview) ,i try with the device usb connect and its the same (analog input).

 

My device is USB-1208LS (MCC DAQ).

 

Thanks for all! 

0 Kudos
Message 3 of 3
(3,256 Views)