Get start time of a daq session
조회 수: 4(최근 30일)
표시 이전 댓글
I'm wondering if it is possible to get the time at which the DAQ starts so that I can keep track of other code events, relative to the time the DAQ started. Currently I just keep track of the time I told the DAQ to start, but I'd prefer another method.
Edit: To clarify the meaning of "start", I mean the time at startForeground or startBackground is actually executed on the hardware. Ignoring any issues with triggering a start, what I'm really looking for is the time that input data starts OR that output data starts leaving the DAQ.
댓글 수: 0
답변(1개)
Walter Roberson
2018년 1월 9일
It is not clear what it means for the DAQ to "start", so I am going to guess you mean the time at which you startForeground() . If so then the answer to your question is No, that is not kept track of. The properties kept track of are noted at https://www.mathworks.com/help/daq/ref/daq.createsession.html
댓글 수: 3
참고 항목
범주
Find more on Digital Input and Output in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!