Data Acquisition Toolbox Analog I/O absolute time of data points acquisition
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I am trying to measure the response delay of an instrument. I use Python to run some calculation and then send the setpoint to the instrument. I use Matlab to record instruments response through ni daq. In order to synchronize my data, I need the absolute time points where python calculation is executed. As well as the time points analog data points are aquired in Matlab. I hope to reach milliseconds accuracy. Currently, I only see relative time stamp for the Matlab datapoints. Only way I can think of is to record absolute time one line before the Matlab data acquisition code, but there might still be some delay, hopefully negeligible.
Can anyone help me on how to get the absolute time stamp of data points?
Thank you!
0 个评论
回答(1 个)
Walter Roberson
2019-6-29
Third output of startForeground is the absolute time that is acting as the time base for the relative times.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 National Instruments Frame Grabbers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!