int MSXExxxx__DigitalIOTestOutputsShortCircuit ( xsd__unsignedLong  ulPort,
xsd__unsignedLong  ulOption1,
struct MSXExxxx__unsignedLongResponse Response 
)

Get the short-circuit status of the outputs of the selected port.
The function returns a mask of bits (32 bits). Each bit represents the short-circuit state of an output.
If you detect a short circuit, first solve it, and then, call the MSXExxxx__DigitalIORearmOutputsShortCircuit function.

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] ulOption1 Reserved. Set to 0
[out] Response 
sResponse.iReturnValue :

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

sResponse.syserrno : system error code (the value of the libc "errno" code)
ulValue : Digital outputs short circuit state. Each bit represents the short-circuit state of one digital output channel.

  • B0 : 0: Digital I/O 0/32 no short circuit. 1: Digital I/O 0/32 short circuit
  • ...
  • D31 : 0: Digital I/O 31/63 no short circuit. 1: Digital I/O 31/63 short circuit
Return values:
0 SOAP_OK
Others See SOAP error