xPCIe1032 API
xPCIe1032 Event logic functions

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)
 

Detailed Description

Function Documentation

_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

Parameters
[in]h_DeviceHandleHandle of the board
[in]b_InterruptLogicLogic of interrupt (OR -> 0, AND -> 1) (0..1)
[in]dw_DigitalInputMode1Mask of mode 1
[in]dw_DigitalInputMode2Mask of mode 2
Return values
0No error
-1The h_DeviceHandle parameter is wrong
-2The b_InterruptLogic parameter is wrong
-100An error occurred while calling the IOCTL function
_INT_ i_PCIe1032_StartDigitalInputEventLogic ( IN HANDLE  h_DeviceHandle)

Starts the input event logic of the board

Parameters
[in]h_DeviceHandleHandle of the board
Return values
0No error
-1The h_DeviceHandle parameter is wrong
-100An error occurred while calling the IOCTL function
_INT_ i_PCIe1032_StopDigitalInputEventLogic ( IN HANDLE  h_DeviceHandle)

Stops the input event logic of the board

Parameters
[in]h_DeviceHandleHandle of the board
Return values
0No error
-1The h_DeviceHandle parameter is wrong
-100An error occurred while calling the IOCTL function
_INT_ i_PCIe1032_ReleaseDigitalInputEventLogic ( IN HANDLE  h_DeviceHandle)

Releases the input event logic of the board

Parameters
[in]h_DeviceHandleHandle of the board
Return values
0No error
-1The h_DeviceHandle parameter is wrong
-100An error occurred while calling the IOCTL function