int MX370x__ExtDigitalIOGetNumberOfPorts ( xsd__unsignedLong  ulOption1,
struct MX370x__unsignedLongResponse Response 
)

A port is a set of consecutive digital I/O channels which states can be get or set at the same time.

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

  • 0: Means the remote function performed OK
  • -1: Means an 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