Data Acquisition Toolbox Analog I/O absolute time of data points acquisition
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Walter Roberson
am 29 Jun. 2019
Third output of startForeground is the absolute time that is acting as the time base for the relative times.
0 Kommentare
Siehe auch
Kategorien
Mehr zu National Instruments Frame Grabbers finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!