
TCR1000SDK–Rev.3.0.0 Page9
TCR1000_ApiPollTimeCode
TheTCR1000_ApiPollTimeCodereturnsthecurrenttimecodeandsetsthetimecodeanddevice
status.
DWORDTCR1000_ApiPollTimeCode(
PTCRTIMEtcrt//pointertoTCRTIMEstructurethatreceivespolledtimedata
);
Parameters
tcrt
PointertoaTCRTIMEstructurethatistoreceivepolledtimedata.
ReturnValues
ThereturnvalueisoneofDLL_TC_STATUS_xxxdefinedinINTAPI.H:
DLL_TC_STATUS_NORMAL Timecodeisavailable.
DLL_TC_STATUS_INVALID Timecodedataisoutofrange.
DLL_TC_STATUS_LOST Timecodeisnotavailable.
DLL_TC_STATUS_DRVFAIL Timecodenotavailablebecauseoffailedcommunicationswith
theTCRdriver.
DLL_TC_STATUS_CALIB TheTCR1000cardiscalibratingtothetimecodesignallevel.
Remarks
TheAPIwillattempttofillthedatemembersoftheTCRTIMEstructurerelativetothetypeoftime
codebeingdecoded.Ifthetimecodesourceisnotactuallyencodingdate,thevalueofthedate
membersisundefined.Itistheresponsibilityoftheapplicationprogrammertodetermineifdatewill
orwillnotbeencodedbythetimecodesource.
Comentários a estes Manuais