int MSXE371x__IncCounterInit ( xsd__unsignedLong  ulCounterMode,
xsd__unsignedLong  ulCounterOption,
xsd__unsignedLong  ulOption01,
xsd__unsignedLong  ulOption02,
xsd__unsignedLong  ulOption03,
xsd__unsignedLong  ulOption04,
struct MSXE371x__Response Response 
)
Parameters:
[in] ulCounterMode : Set the counter mode : either

  • MSXE371x_COUNTER_QUADRUPLE_MODE (0x4)
  • MSXE371x_COUNTER_DOUBLE_MODE (0x2)
  • MSXE371x_COUNTER_SIMPLE_MODE (0x1)
  • MSXE371x_COUNTER_DIRECT_MODE (0x0)
[in] ulCounterOption : Set the counter option
if in QUADRUPLE/DOUBLE/SIMPLE mode : either

  • MSXE371x_COUNTER_HYSTERESIS_ON (0x1)
  • MSXE371x_COUNTER_HYSTERESIS_OFF (0x0)

if in DIRECT mode :

  • MSXE371x_COUNTER_INCREMENT (0x0)
  • MSXE371x_COUNTER_DECREMENT (0x1)
[in] ulOption01 : Set it to 0
[in] ulOption02 : Set it to 0
[in] ulOption03 : Set it to 0
[in] ulOption04 : Set it to 0
[out] Response :
iReturnValue :

  • 0: success
  • -1: means an system error occurred
  • -2: Counter mode selection error
  • -3: Counter option selection error
  • -100: Init counter kernel function error

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

Returns:
  • 0: SOAP_OK
  • <> 0: See SOAP error