Set Digital Output Signal; Set Irig-B Input Parity Check Mode; Set 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

Set Digital Output Signal

MXIRIG_API BOOL mxIrigbSetDigitalOutputSignal (HANDLE hDev, DWORD dwPort, DWORD value)
Parameters
in
hDev
in
dwPort
in
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.

Set IRIG-B Input Parity Check Mode

MXIRIG_API BOOL mxIrigbSetInputParityCheckMode (HANDLE hDev, DWORD dwSource, DWORD
dwMode)
Parameters
in
hDev
in
dwSource
in
dwMode
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.

Set Input Interface

MXIRIG_API BOOL mxIrigbSetInputSignalType (HANDLE hDev, DWORD dwPort, DWORD dwType, BOOL
invert)
Parameters
in
hDev
in
dwPort
in
dwType
in
invert
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 port number (starting from 0).
The 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.
PARITY_CHECK_MODE to set parity check mode.
A valid handle value returned from the mxIrigbOpen function.
Signal source. The value is one of PORT_LIST.
SIGNAL_TYPE to set the input interface mode.
If the value is not zero, invert the input signal.
4-6
API Reference

Advertisement

Table of Contents
loading

Table of Contents