Data Acquisition Toolbox    

When Did the Trigger Occur?

You can find the absolute time of the first trigger event with the InitialTriggerTime property value. The absolute time is returned using the MATLAB clock format.

For example, the absolute time of the first trigger event for the preceding example is

To convert the clock vector to a more convenient form, you can use the sprintf function.

You can also use the showdaqevents function to return the absolute time of each trigger event. For more information about trigger events, refer to Recording and Retrieving Event Information.


  How Many Triggers Occurred? Device-Specific Hardware Triggers