I think I have solved the issue that was causing the additional delay ( or shift ) in the continuous data that was being acquired.
If you look at the VI that I had enclosed, you will notice that I have done as below :
- I had configured the Timing Source to fire the Timed Loop once it had acquired 125 samples.
- Not stopping there I had also passed on the same value of number of samples to the DAQMX Read VI within the Timed Loop.
All I did was to remove the "125" value that was wiired to DAQMX Read and instead wire a "-1" thereby making it to read the "All Available Samples " .
This small change has worked very well and now there is no shift in the data being acquired : be it 1 sample / channel inside a 50ms Timed Loop [or] 125 Samples @ 2.5kHz with a Hardware Timed loop.
Raghunathan
LabVIEW to Automate Hydraulic Test rigs.