int MSXE17xx__MFSinCosInitHardwareTrigger ( xsd__unsignedLong  ulMFModuleIndex,
xsd__unsignedLong  ulEdgeSelection,
xsd__unsignedLong  ulCount,
xsd__unsignedLong  ulOption01,
xsd__unsignedLong  ulOption02,
struct MSXE17xx__Response Response 
)
Parameters:
[in] ulMFModuleIndex : index of the multifunction sub module (0 to 3).
[in] ulEdgeSelection : Front selection

  • 01 : rising front
  • 10 : falling front
  • 11 : Both front
[in] ulCount :Define the number of trigger events before the action occur
1 : all trigger event start the action
max value : 65535
[in] ulOption01 : Hardware trigger gate, if enabled hardware trigger is not activated until MSXE17xx__EnableDisableHardwareTriggerGate is called

  • 0 : Hardware trigger gate is not used
  • 1 : Hardware trigger gate is used
[in] ulOption02 : set it to 0
[out] Response :
iReturnValue :

  • 0: means the remote function performed OK
  • -1: means an system error occured
  • -2: Multifunction sub module index selection error
  • -3: Multifunction sub module is not a SinCos module.
  • -4: Trigger edge selection error
  • -5: Trigger count selection error
  • -6: Sinus / Cosinus module not initialised
  • -7: Hardware trigger already initialised
  • -8: ulOption01 parameter is wrong must be 0 or 1
  • -100: Init hardware trigger kernel function error

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

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