RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
438
Ctrl Command get_transform_offset
Function Transfers to the PC the position values that were recorded by
set_trigger/set_trigger4/set_trigger8 and stored on the RTC6, and applies backward
transformation to them.
Call
get_transform_offset( Channel1, Channel2, Offset, Number, Ptr1, Ptr2, Ptr, Code )
Parameters
Channel1
Measurement channel.
As an unsigned 32-bit value.
Allowed values: [1...8].
Channel2
Like
Channel1
.
Offset
Start position.
As an unsigned 32-bit value.
Allowed value range: [1…2
24
].
Number
Number of to-be-backward-transformed position values.
As an unsigned 32-bit value.
The measured values from position
Offset
…[(
Offset
+ (
Number
– 1)] are
backward transformed.
Ptr1
Pointer (in C and C++ data type ULONG_PTR, an unsigned 32-bit value or
unsigned 64-bit value) to the area of PC main memory to which the backward
transformed values are to be transferred (see also
Code
).
Ptr2
Like
Ptr1
.
Ptr
Pointer (in C and C++ data type ULONG_PTR, an unsigned 32-bit value or
unsigned 64-bit value) to the area of PC main memory to which the correction
and transformation settings for backward transformation were previously
transferred by upload_transform.
Code
Aspects of backward transformation, particularly which partial
transformations are to be performed.
If a partial transformation should not be performed, then the corresponding
Bit must be set to 1 (Bit #2…Bit #5, Bit #2…Bit #4).
Code
has the same meaning as
Code
of transform (
Ptr1
corresponds to
Sig1
,
Ptr2
corresponds to
Sig2
).
As an unsigned 32-bit value.