Moxa DA-SP08-I-DB [40/45] Returns

Moxa DA-SP08-I-DB [40/45] Returns
DA-IRIGB-4DIO-PCI104-EMC4 Module Driver and Utility Installation
3-5
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 A valid handle value returned from the mxIrigbOpen function.
in dwSource The IRIGB signal source. The value is one of PORT_LIST.
out dwStatus A pointer to get IRIGB signal status. The value is one of
IRIG_SIGNAL_STATUS.
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 A valid handle value returned from the mxIrigbOpen function.
out pdwSource A pointer to get internal RTC synchronization source. The value is one
of RTC_SYNC_SOURCE.
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 A valid handle value returned from the mxIrigbOpen function.
out pRtcTime A pointer to a PRTCTIME structure that contains the time value.
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.

Содержание

Скачать