Moxa DA-SP38-I-TB [42/45] Parameters

Moxa DA-SP38-I-TB [42/45] Parameters
DA-IRIGB-4DIO-PCI104-EMC4 Module Driver and Utility Installation
3-7
Set IRIG-B Output Parity Check Mode
MXIRIG_API BOOL mxIrigbSetOutputParityCheckMode (HANDLE hDev, DWORD dwMode)
Parameters
in hDev A valid handle value returned from the mxIrigbOpen function.
in dwMode PARITY_CHECK_MODE to set the 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.
Set Output Interface
MXIRIG_API BOOL mxIrigbSetOutputSignalType (HANDLE hDev, DWORD dwPort, DWORD dwType,
DWORD dwMode, BOOL invert)
Parameters
in hDev A valid handle value returned from the mxIrigbOpen function.
in dwPort Signal source. The value is one of PORT_LIST.
in dwType SIGNAL_TYPE to set the input interface mode.
in dwMode OUTPUT_MODE to set the output interface mode.
in invert If the value is not zero, invert the input signal.
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 A valid handle value returned from the mxIrigbOpen function.
in dwMilliSecond The pulse width per millisecond.
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)

Содержание

Скачать