Get Digital Output Signal; Get Irig-B Parity Check Mode; Get Input Interface - Moxa Technologies DA-IRIGB-4DIO-PCI104-EMC4 User Manual

Hide thumbs Also See for DA-IRIGB-4DIO-PCI104-EMC4:
Table of Contents

Advertisement

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 Digital Output Signal

MXIRIG_API BOOL mxIrigbGetDigitalOutputSignal (HANDLE hDev, DWORD dwPort, PDWORD pValue)
Parameters
in
hDev
in
dwPort
out
pValue
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
in
dwSource
out
pdwMode
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
in
dwPort
out
pdwType
out
pbInvert
A valid handle value returned from the mxIrigbOpen function.
The port number (starting from 0).
A pointer to get port data (1:HIGH, 0:LOW).
A valid handle value returned from the mxIrigbOpen function.
The value is one of RTC_SYNC_SOURCE, but cannot be
TIMESRC_FREERUN.
A pointer to get output parity check mode. The value is one of
PARITY_CHECK_MODE .
A valid handle value returned from the mxIrigbOpen function.
Signal source. The value is one of PORT_LIST.
A pointer to get the signal type. The value is one of SIGNAL_TYPE.
A pointer to get the signal mode. If the value is not zero, the signal is
4-3
API Reference

Advertisement

Table of Contents
loading

Table of Contents