Set Irig-B Output Parity Check Mode; Set Output Interface; Set Pulse Per Second Output Width; Set Rtc Synchronization Source - 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 IRIG-B Output Parity Check Mode

MXIRIG_API BOOL mxIrigbSetOutputParityCheckMode (HANDLE hDev, DWORD dwMode)
Parameters
in
hDev
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 Output Interface

MXIRIG_API BOOL mxIrigbSetOutputSignalType (HANDLE hDev, DWORD dwPort, DWORD dwType,
DWORD dwMode, BOOL invert)
Parameters
in
hDev
in
dwPort
in
dwType
in
dwMode
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.

Set Pulse Per Second Output Width

MXIRIG_API BOOL mxIrigbSetPpsWidth (HANDLE hDev, DWORD dwMilliSecond)
Parameters
in
hDev
in
dwMilliSecond
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 RTC Synchronization Source

MXIRIG_API BOOL mxIrigbSetSyncTimeSrc (HANDLE hDev, DWORD dwSource)
A valid handle value returned from the mxIrigbOpen function.
PARITY_CHECK_MODE to set the 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.
OUTPUT_MODE to set the output interface mode.
If the value is not zero, invert the input signal.
A valid handle value returned from the mxIrigbOpen function.
The pulse width per millisecond.
4-7
API Reference

Advertisement

Table of Contents
loading

Table of Contents