xPCI-1032 API
xPCI-1032 Filter functions

Functions

_INT_ i_PCI1032_InitDigitalInputModuleFilter (HANDLE h_DeviceHandle, DWORD dw_DelayValue)
 
_INT_ i_PCI1032_EnableDisableDigitalInputModuleFilter (HANDLE h_DeviceHandle, BYTE b_FilterFlag)
 

Detailed Description

Function Documentation

◆ i_PCI1032_InitDigitalInputModuleFilter()

_INT_ i_PCI1032_InitDigitalInputModuleFilter ( HANDLE  h_DeviceHandle,
DWORD  dw_DelayValue 
)

Init the digital input module filter of the board xPCI-1032. This functionality is not available for all boards. If this function returns -3, it means that the board is not compatible

Parameters
[in]h_DeviceHandleHandle of the board
[in]dw_DelayValueFilter Delay value, between 0 -> 630 ms with 10ms step
Return values
0: No Error
-1: Wrong device handle
-2: Error while calling IOCTL function (wrong handle ?)
-3: Functionality not available
-4: Delay value error -> must be multiple of 10 and between 0 -> 630

◆ i_PCI1032_EnableDisableDigitalInputModuleFilter()

_INT_ i_PCI1032_EnableDisableDigitalInputModuleFilter ( HANDLE  h_DeviceHandle,
BYTE  b_FilterFlag 
)

Enable or disable the digital input module filter of the board xPCI-1032 This functionality is not available for all boards. If this function returns -3, it means that the board is not compatible.

Parameters
[in]h_DeviceHandleHandle of the board
[in]b_FilterFlagStatus of the digital input module filter
  • 0 Filter is disabled
  • 1 Filter is enabled
Return values
0: No Error
-1: Wrong device handle
-2: Error while calling IOCTL function (wrong handle ?)
-3: Functionality not available
-4: FilterFlag parameter is wrong, must be 0 or 1