I am a new Labview user, and there is a confusion in my DAQmx concepts.
I use a loop structure. Within the loop, I put one motion VI to read the current position of my motion stage. Also, I put a DAQmx Read VI to read force.
For every loop execution, I want to get just one position value and one force value for that specific time, and the data should be as following :
Time Position Force
-----------------------------------------
t1 p1 f1
t2 p2 f2
t3 p3 f3
............................................
I have no problem for getting position of that time. However, I am not sure whether the foce data is associated with that time.
I plan to set "samples per channel"=1 for the DAQmx Read VI, and use "finite sapmles" mode. Now I do not know whether the data I read is associated with that time, or it is just a data stored in buffer and is associated with a little earlier time, which is not what I want.
Since I am not using continuous sampling, I do not need to use Timing VI, right? If no timing VI, is there still any data in the buffer?
Maybe I need to use triggering VI? Software triggering?
In summary, the point of my question is: How can I get the exactly current daq value of the time instead of data stored in buffer and related with earlier time?
Hope to get suggestions to clear away my concept confusion. Thanks a lot.
SIncerely,
Dejun
Message Edited by Dejun on 10-14-2005 02:13 PM