xPCIe1032 API
|
Functions | |
_INT_ | i_PCIe1032_InitDigitalInputEventLogic (IN HANDLE h_DeviceHandle, IN BYTE b_InterruptLogic, IN DWORD dw_DigitalInputMode1, IN DWORD dw_DigitalInputMode2) |
_INT_ | i_PCIe1032_StartDigitalInputEventLogic (IN HANDLE h_DeviceHandle) |
_INT_ | i_PCIe1032_StopDigitalInputEventLogic (IN HANDLE h_DeviceHandle) |
_INT_ | i_PCIe1032_ReleaseDigitalInputEventLogic (IN HANDLE h_DeviceHandle) |
_INT_ i_PCIe1032_InitDigitalInputEventLogic | ( | IN HANDLE | h_DeviceHandle, |
IN BYTE | b_InterruptLogic, | ||
IN DWORD | dw_DigitalInputMode1, | ||
IN DWORD | dw_DigitalInputMode2 | ||
) |
Initializes the input event logic of the board
[in] | h_DeviceHandle | Handle of the board |
[in] | b_InterruptLogic | Logic of interrupt (OR -> 0, AND -> 1) (0..1) |
[in] | dw_DigitalInputMode1 | Mask of mode 1 |
[in] | dw_DigitalInputMode2 | Mask of mode 2 |
0 | No error |
-1 | The h_DeviceHandle parameter is wrong |
-2 | The b_InterruptLogic parameter is wrong |
-100 | An error occurred while calling the IOCTL function |
_INT_ i_PCIe1032_StartDigitalInputEventLogic | ( | IN HANDLE | h_DeviceHandle | ) |
Starts the input event logic of the board
[in] | h_DeviceHandle | Handle of the board |
0 | No error |
-1 | The h_DeviceHandle parameter is wrong |
-100 | An error occurred while calling the IOCTL function |
_INT_ i_PCIe1032_StopDigitalInputEventLogic | ( | IN HANDLE | h_DeviceHandle | ) |
Stops the input event logic of the board
[in] | h_DeviceHandle | Handle of the board |
0 | No error |
-1 | The h_DeviceHandle parameter is wrong |
-100 | An error occurred while calling the IOCTL function |
_INT_ i_PCIe1032_ReleaseDigitalInputEventLogic | ( | IN HANDLE | h_DeviceHandle | ) |
Releases the input event logic of the board
[in] | h_DeviceHandle | Handle of the board |
0 | No error |
-1 | The h_DeviceHandle parameter is wrong |
-100 | An error occurred while calling the IOCTL function |