| Data Acquisition Toolbox | Search  Help Desk |
Trigger Times
You can keep track of the number of triggers issued and the absolute times they occurred with theTriggerTime property. To find out how many triggers occurred, you can use MATLAB's length command. For the example on page 5-14
NumTrigs = length(AO.TriggerTime)
NumTrigs =
1
To find out the trigger times, you must convert the elements of the TriggerTime array from the datenum format to a string.
times = AO.TriggerTime; time1_str = datestr(times(1), 13) time1_str = 17:17:58