Instruction manual

Table Of Contents
Page
87
PC215E
6.6.7.5 Free-up Event Recorder Timer and Digital Input Channels - TCfreeEventRecorder
Frees up the event recorder handle. This function is necessary so that the interrupt service
routine can decide whether a PPI Port C0 interrupt is an event recorder, or some other user-
defined task.
i = TCfreeEventRecorder (h, hE)
where
h Integer. Board handle as issued by function
registerBoard.
hE Integer. Event recorder handle as issue by
function TCsetEventRecorder.
Returns Integer:
OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoard
TCsetStopwatch
allocateLongBuff
TCsetEventRecorder
See Also disableInterrupts
TCfreeStopwatch
copyFromLongBuf
freeLongBuf
6.6.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 string. Pointer to target string for
result.
Returns Integer:
OK
or ERRDATA
Prior Calls registerBoard
TCsetStopwatch
TCgetElapsedTime
See Also