int MSXExxxx__DigitalIOEnableDisableInputsFilter ( xsd__unsignedLong  ulPort,
xsd__unsignedLong  ulFilter,
xsd__unsignedLong  ulOption1,
struct MSXExxxx__Response Response 
)

Enables/disables the digital input filter for the selected port.

Parameters:
[in] ulPort Selected digital I/O port (0 to MSXExxxx__DigitalIOGetNumberOfPorts)
Please read the documentation of the MSXExxxx__DigitalIOGetNumberOfPorts for the description of a port.
[in] ulFilter Digital input filter selection. Each bit indicates if the filter is enabled on the input. Example:

  • 1: Filter only enabled on input 0
  • 3: Filter enabled on inputs 0 and 1
[in] ulOption1 Reserved. Set to 0
[out] Response 
iReturnValue

  • 0: The remote function performed OK
  • -1: System error occurred
  • -2: The ulPort parameter is wrong
  • -3: The ulFilter parameter is wrong
  • -4: Any selected input is not an input or a bidirectional channel
  • -100: Internal system error occurred. See value of syserrno

syserrno system error code (the value of the libc "errno" code)

Return values:
0 SOAP_OK
Others See SOAP error