Absolute time of first trigger
Note: You cannot use the legacy interface on 64-bit MATLAB®. See About the Session-Based Interface to acquire and generate data on a 64-bit MATLAB.
For all trigger types,
the time when
On. The absolute time is recorded as a
You can return the
getdata function, or with the
If you synchronize multiple
use the same digital trigger signal for all of the subsystems, the
will not show the exact identical time for all subsystems.
Although the actual trigger events occurred simultaneously across
all subsystems, the
are recorded serially on a single thread. This causes the discrepancy
of a few milliseconds. The time difference between
multiple Data Acquisition Toolbox objects will not be consistent due
to operating system process scheduling algorithms.
AI, AO, common to all channels
Six-element vector of doubles
Read-only when running
The value is automatically updated when the trigger executes. The default value is a vector of zeros.
Create the analog input object
ai for a sound
card and add two hardware channels to it.
ai = analoginput('winsound'); chans = addchannel(ai,1:2);
ai, the trigger immediately
executes and the trigger time is recorded.
start(ai) abstime = ai.InitialTriggerTime abstime = 1.0e+003 * 1.9990 0.0020 0.0190 0.0130 0.0260 0.0208
To convert the
clock vector to a more convenient
t = fix(abstime); sprintf('%d:%d:%d', t(4),t(5),t(6))
ans = 13:26:20