DA-IRIGB-4DIO-PCI104-EMC4 Module
Returns
If the operation completes successfully, the return value is nonzero. If the operation fails or is pending, the
return value is zero. To display detailed error information, use GetLastError.
Get IRIG-B Signal Status
MXIRIG_API BOOL mxIrigbGetSignalStatus (HANDLE hDev, DWORD dwSource, PDWORD pdwStatus)
Parameters
in
hDev
in
dwSource
out
dwStatus
Returns
If the operation completes successfully, the return value is nonzero. If the operation fails or is pending, the
return value is zero. To display detailed error information, use GetLastError.
GET RTC Synchronization Source
MXIRIG_API BOOL mxIrigbGetSyncTimeSrc (HANDLE hDev, PDWORD pdwSource)
Parameters
in
hDev
out
pdwSource
Returns
If the operation completes successfully, the return value is nonzero. If the operation fails or is pending, the
return value is zero. To display detailed error information, use GetLastError.
Get RTC from IRIG-B Device
MXIRIG_API BOOL mxIrigbGetTime (HANDLE hDev, PRTCTIME pRtcTime)
Parameters
in
hDev
out
pRtcTime
Returns
If the operation completes successfully, the return value is nonzero. If the operation fails or is pending, the
return value is zero. To display detailed error information, use GetLastError.
A valid handle value returned from the mxIrigbOpen function.
The IRIGB signal source. The value is one of PORT_LIST.
A pointer to get IRIGB signal status. The value is one of
IRIG_SIGNAL_STATUS.
A valid handle value returned from the mxIrigbOpen function.
A pointer to get internal RTC synchronization source. The value is one of
RTC_SYNC_SOURCE.
A valid handle value returned from the mxIrigbOpen function.
A pointer to a PRTCTIME structure that contains the time value.
4-5
API Reference