Masterclock TCR1000 Uživatelský manuál Strana 9

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 23
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 8
TCR1000SDKRev.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_NORMALTimecodeisavailable.
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.
Zobrazit stránku 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 22 23

Komentáře k této Příručce

Žádné komentáře