Instruction manual

AMPDIO DRIVERS
Page 127
Returns short: Event recorder handle (>= 0). Use this handle to call the
TCfreeEventRecorder function when finished.
or ERRHANDLE
ERRCHAN
ERRBUFFER
Prior Calls registerBoardEx
TCsetStopwatch
allocateLongBuf
See Also TCfreeEventRecorder
getLongIntItem
readLongBuf
copyFromLongBuf
enableInterrupts
6.4.7.5 Free-up Event Recorder Timer and Digital Input Channels TCfreeEventRecorder
Frees up the event recorder.
i = TCfreeEventRecorder (h, hE)
where h short: board handle as issued by the
registerBoardEx function.
hE short: event recorder handle as issued by the
TCsetEventRecorder function.
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
TCsetStopwatch
allocateLongBuf
TCsetEventRecorder
See Also disableInterrupts
TCfreeStopwatch
freeLongBuf
6.4.7.6 Convert Milliseconds into Time String TCgetTimeStr
Converts a 32-bit word representing an elapsed time in milliseconds to a time string in the
format “DD HH:MM:SS.TTT”. Such 32-bit elapsed times are produced by the stopwatch
functions.
i = TCgetTimeStr (ms, strPtr)
where ms long: elapsed time in milliseconds.
strPtr pointer to char: pointer to buffer where null-
terminated string for result is to be written.
Returns short: OK