|
For each latch the data server send a 5 DWORD frame with following informations:
DWORD 0 : Time stamp micro s
DWORD 1 : Time stamp s
DWORD 2 :
D1-D0 : Sub module index (0 to 3)
D31-D16 : Sub module functionality (2)
DWORD 3 : Event mask
D30-D0 :
2: Hardware trigger latch occur
3: Synchro input latch occur
4: Index input latch occur
D31 :
0: No error occur
1: Amplitude or Frequency error occur.
DWORD 4 :
D31-D0: Counter value (DWORD) if the selected output format of the measure is raw data
D31-D0: Current position in mm (FLOAT) if the selected output format of the measure is standardized in mm.
- Parameters:
-
[in] | ulMFModuleIndex | : Index of the multifunction sub module (0 to 3).
|
[in] | ulLatchSource | : Latch source.
- 0: Index input
- 1: Hardware trigger
- 2: Synchro input
|
[in] | ulCondition | : Previously condition for accept the latch source
- 0: No previously condition required
- 1: Index input condition required (Only if index input not selected selected for the latch source)
- 2: Hardware trigger condition required (Only if hardware trigger not selected selected for the latch source)
- 3: Synchro input condition required (Only if synchro input not selected selected for the latch source)
|
[in] | ulAutoMode | : Action mode
- 0: Do not use auto mode (action is done only once)
- 1: Use auto mode (action is done continously)
|
[in] | ulOption01 | : set it to 0 |
[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: Sinus / Cosinus module not initialised
- -5: Latch logic already initialised
- -6: Latch source selection error
- -7: Previously condition selection error
- -8: Auto mode selection error
- -9: Hardware trigger not initialised. Refer to MSXE17xx__MFSinCosInitHardwareTrigger
- -10: Index input not initialised. Refer to MSXE17xx__MFSinCosInitIndex
- -11: Can not be used for the "fast measure" mode
- -100: Init and enable counter latch kernel function error
syserrno : system-error code (the value of the libc "errno" code) |
- Returns:
- 0: SOAP_OK
- <> 0: See SOAP error
|