|
Get the current configuration of the selected Sine/Cosine channel.
- Parameters:
-
[in] | ulChannel | Channel selection (0 to MSXExxxx__SinCosGetNumberOfChannels - 1) |
[in] | ulOption01 | Reserved. Set it to 0 |
[in] | ulOption02 | Reserved. Set it to 0 |
[out] | Response | Response of the system
-
sResponse
-
iReturnValue Function return code
-
0: The remote function performed OK
-
-1: System error occurred
-
-2: The PLD is not working
-
-3: The ulChannel parameter is wrong
-
-100: Internal system error occurred. See value of syserrno
-
syserrno System error code (the value of the libc "errno" code)
-
ulInitialisationState Initialisation state of the Sine/Cosine channel (0: uninitialised, 1: initialised)
-
dSignalPeriod Signal period (Unit/period)
-
ulResolution Resolution to use for the measure (steps/period)
-
ulIndexState State of the index logic (0: unitialised, 1: initialised)
-
ulIndexEdge Edge selected for the index logic
-
ulIndexAction Action to do when the index signal occurs
-
ulCompareLogicState State of the compare logic (0: unitialised, 1: initialised)
-
dCompareLogicValue Compare value of the compare logic
-
ulCompareLogicValueFormat Format of the compare value of the compare logic (0: Raw, 1: Standardised)
-
ulCompareLogicMode Compare mode of the compare logic (0: Simple, 1: Modulo)
-
ulCompareLogicSynchro Synchro trigger generation of the compare logic (0: No, 1: Yes)
|
- Return values:
-
| 0 | SOAP_OK |
| Others | See SOAP error |
|