int MSXExxxx__DigitalIOGetNumberOfPorts ( xsd__unsignedLong  ulOption1,
struct MSXExxxx__unsignedLongResponse Response 
)

Returns the number of digital I/O ports.
A port is a set of consecutive digital I/O channels, whose status can be written or read at the same time.

Parameters:
[in] ulOption1 Reserved. Set to 0
[out] Response 
sResponse.iReturnValue

  • 0: The remote function performed OK
  • -1: System error occurred
  • -100: Internal system error occurred. See value of syserrno

sResponse.syserrno system error code (the value of the libc "errno" code)
ulValue Number of available digital I/O ports

Return values:
0 SOAP_OK
Others See SOAP error