Borrar filtros
Borrar filtros

Data Acquisition Toolbox Analog I/O absolute time of data points acquisition

1 visualización (últimos 30 días)
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!

Respuestas (1)

Walter Roberson
Walter Roberson el 29 de Jun. de 2019
Third output of startForeground is the absolute time that is acting as the time base for the relative times.

Productos


Versión

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by