Moxa DA-UPCI-DK [38/45] Returns

Moxa DA-LN04-RJ [38/45] Returns
DA-IRIGB-4DIO-PCI104-EMC4 Module Driver and Utility Installation
3-3
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 Digital Output Signal
MXIRIG_API BOOL mxIrigbGetDigitalOutputSignal (HANDLE hDev, DWORD dwPort, PDWORD pValue)
Parameters
in hDev A valid handle value returned from the mxIrigbOpen function.
in dwPort The port number (starting from 0).
out pValue A pointer to get port data (1:HIGH, 0:LOW).
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, call GetLastError.
Get IRIG-B Parity Check Mode
MXIRIG_API BOOL mxIrigbGetInputParityCheckMode (HANDLE hDev, DWORD dwSource, PDWORD
pdwMode)
Parameters
in hDev A valid handle value returned from the mxIrigbOpen function.
in dwSource The value is one of RTC_SYNC_SOURCE, but cannot be
TIMESRC_FREERUN.
out pdwMode A pointer to get output parity check mode. The value is one of
PARITY_CHECK_MODE .
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 Input Interface
MXIRIG_API BOOL mxIrigbGetInputSignalType (HANDLE hDev, DWORD dwPort, PDWORD pdwType,
PBOOL pbInvert)
Parameters
in hDev A valid handle value returned from the mxIrigbOpen function.
in dwPort Signal source. The value is one of PORT_LIST.
out pdwType A pointer to get the signal type. The value is one of SIGNAL_TYPE.
out pbInvert A pointer to get the signal mode. If the value is not zero, the signal is

Содержание

Похожие устройства

Скачать