
TCR1000SDK–Rev.3.0.0 Page18
WhenthecallbackfunctionprovidesaTCRTIMEdatastructureasthedatapassed,thedatemembers
oftheTCRTIMEstructurewillbesetrelativetothetypeoftimecodebeingdecoded.Ifthetimecode
sourceisnotactuallyencodingdate,thevalueofthedatemembersisundefined.Itisthe
responsibilityoftheapplicationprogrammertodetermineifdatewillorwillnotbeencodedbythe
timecodesource.
StructureandConstantsReference
//AstructuredefiningaSMPTEtimecodeframe(theunion‘rawTc’memberofTCRTIMEwillcontain
//thisdatastructureifoperatingwithSMPTEtimecode.
typedefstruct_SMPTE
{
UCHARfu;//frameunits
UCHARu1;//usergroup1
UCHARft;//frametens
UCHARu2;//
usergroup2
UCHARsu;//secondunits
UCHARu3;//usergroup3
UCHARst;//secondtens
UCHARu4;//usergroup4
UCHARmu;//minuteunits
UCHARu5;//usergroup5
UCHARmt;//minutetens
UCHARu6;//usergroup6
UCHARhu;//hourunits
UCHARu7;//usergroup7
UCHARht;//hourtens
UCHARu8;//usergroup8
}SMPTE,*PSMPTE;
//AstructuredefininganIRIG‐BorIRIG‐B1timecodeframe(theunion‘rawTc’memberofTCRTIME
willcontain
//thisdatastructureifoperatingwithIRIG‐BorIRIG‐B1timecode.
typedefstruct_IRIG
{
UCHARsu;//secondunits
UCHARst;//secondtens
UCHARmu;//minuteunits
UCHARmt;//minutetens
UCHARhu;//hourunits
UCHARht;//hourtens
UCHARdu;//dayunits
UCHARdt;//daytens
UCHARdh;//dayhundreds
UCHARcf1;//controlfunctions1(seeTCR‐500manualformoreinformation)
UCHARcf2;//controlfunctions2(seeTCR‐500manualformoreinformation)
UCHARcf3;//controlfunctions3(seeTCR‐500manualformoreinformation)
Kommentare zu diesen Handbüchern