Moxa DA-SP08-I-DB [39/45] Returns

Moxa DA-SP08-I-DB [39/45] Returns
DA-IRIGB-4DIO-PCI104-EMC4 Module Driver and Utility Installation
3-4
inversed.
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 IRIG-B Output Parity Check Mode
MXIRIG_API BOOL mxIrigbGetOutputParityCheckMode (HANDLE hDev, PDWORD pdwMode)
Parameters
in hDev A valid handle value returned from the mxIrigbOpen function.
out pdwMode A pointer to get the output 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.
Get Output Interface
MXIRIG_API BOOL mxIrigbGetOutputSignalType (HANDLE hDev, DWORD dwPort, PDWORD pdwType,
PDWORD pdwMode, PBOOL pbInvert)
Parameters
in hDev A valid handle value returned from the mxIrigbOpen function.
in dwPort Signal source. The value is one of PORT_LIST.
out pdwType A pointer to get the signal type. The value is one of SIGNAL_TYPE.
out pdwMode A pointer to get the signal output mode. The value is one of
OUTPUT_MODE .
out pbInvert A pointer to get the signal mode. If the value is not zero, the signal is
inversed.
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 Pule Per Second Output Width
MXIRIG_API BOOL mxIrigbGetPpsWidth (HANDLE hDev, PDWORD pdwMilliSecond)
Parameters
in hDev A valid handle value returned from the mxIrigbOpen function.
out pdwMilliSecond A pointer to get the pulse width per millisecond value.

Содержание

Скачать