GX5296, GX5961, GX5964
Returns the execution time of the latest sequence run.
GtDio6xSequencerGetRunElapsedTime (nHandle, pdElapsedTime, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Session identifier:● Board handle is used when communicating with the hardware. The Board handle session identifier is returned by calling GtDio6xInitialize or GtDio6xSetupInitialization. |
pdElapsedTime |
PDOUBLE |
Used to return the execution time of the latest sequencer run. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative value on failure. |
The sequence active time has a 25ns resolution +/- 25ns.
The following example gets the sequence active time:
DOUBLE dTime;
SHORT nStatus;
GtDio6xSequencerGetRunElapsedTime(nHandle, &dElapsedTime, &nStatus);
GtDio6xSequencerRun, GtDio6xSequencerRunEx, GtDio6xSequencerGetStatus, GtDio6xGetErrorString