en:software:qview:qview_6:qcl_library:vc11hdrjoint

This translation is older than the original page and might be outdated. See what has changed.

VC11HdrJoint

V = Variables

R = Reading functions

The VC11HdrJoint function calculate the posit Joint for a device according to the HIGH DATA RAPPRESENTATION scheme.

VC11HdrJoint (Joint,HdrType,ResultX,ResultY,ResultZ)

Parameters:

IN/OUTVARIABLE TYPEEXAMPLE NAMEDIM
Joint JOINT joint Device JOINT
HdrType GLOBAL
CONST
SYSTEM
2 B HDR viewing type
ResultX GLOBAL returnX L X axis position converted
ResultY GLOBAL returnY L Y axis position converted
ResultZ GLOBAL returnZ L Z axis position converted

HdrType

The HDR viewing allows to center the range of units on integers values. The value is calculated by the encoder, measure and pulse is approximated to the nearest unit.
0 - Hdr disable.
1 - Hdr enable, in the central band between two units (between 0→1 the band is [0.25, 0.75] ) it's shown a counter that oscillates between two values.
2 - Hdr enable

Example

jtXYZ a JOINT device with parameters

measurex: 220pulsex: 4096encoderx: 6229662296/4096*220 = 3345,97positx:3345
measurey: 110pulsey: 4096encodery: 7369273692/4096*110 = 1979,03posity:1979
measurez: 336pulsez: 4096encoderz: -6939-6939/4096*336 = -569,21positz:-569

VC11HdrJoint(jtXYZ,2,ResultX, ResultY, ResultZ)

returns the values ResultX = 3346 ResultY = 1979 ResultZ = -569

  • Last modified: 2019/08/29 17:01