Moxa DA-UPCI-DK [41/45] Parameters

Moxa DA-SP08-I-DB [41/45] Parameters
DA-IRIGB-4DIO-PCI104-EMC4 Module Driver and Utility Installation
3-6
Set Digital Output Signal
MXIRIG_API BOOL mxIrigbSetDigitalOutputSignal (HANDLE hDev, DWORD dwPort, DWORD value)
Parameters
in hDev A valid handle value returned from the mxIrigbOpen function.
in dwPort The port number (starting from 0).
in value The 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, use GetLastError.
Set IRIG-B Input Parity Check Mode
MXIRIG_API BOOL mxIrigbSetInputParityCheckMode (HANDLE hDev, DWORD dwSource, DWORD
dwMode)
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.
in dwMode PARITY_CHECK_MODE to set 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 Input Interface
MXIRIG_API BOOL mxIrigbSetInputSignalType (HANDLE hDev, DWORD dwPort, DWORD dwType, 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 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.

Содержание

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

Скачать