en:software:qview:qview_6:qcl_library:vc11hdr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:software:qview:qview_6:qcl_library:vc11hdr [2017/02/03 17:42] – [Example] qem103en:software:qview:qview_6:qcl_library:vc11hdr [2019/08/29 17:01] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== VC11Hdr ======
 +
 +<wrap em>OBSOLETE</wrap> 
 +
 +**V = **//Variables//
 +
 +**R = **//Reading functions//
 +
 +The VC11Hdr function __calculate the posit of the axis according to the HIGH DATA RAPPRESENTATION scheme__.
 +
 +===== IMPLEMENTATION =====
 +
 +**VC11Hdr (Axis,HdrType,Result)**
 +
 +Parameters:
 +
 +^IN/OUT^VARIABLE TYPE^EXAMPLE NAME^DIM^^
 +|  Axis  |  EANPOS,\\ OOPOS3,\\ COUNTER3,\\ ABSCNT,\\ CAMMING4,\\ CAMMING3  |  ooX  |    |Device that maintains a count|
 +|  HdrType  |  GLOBAL\\ CONST  |  2  |  B  |HDR visualization type|
 +|  Result  |  GLOBAL  |  return  |  L  |Data value converted|
 +
 +=== HdrType ===
 +
 +The HDR viewing allows to center the range of the unit on the integer 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 middle band between two units (between 0->1 the band is [0.25, 0.75] ) you receive a count that oscillates between two values.\\
 +2 - Hdr enable. 
 +
 +=== Example ===
 +
 +With X axis\\
 +Measure: 220\\
 +Pulse: 4096\\
 +Encoder: 62296
 +
 +the Posit 3345 is calculated as 62296/4096*220 = 3345.97.
 +
 +The VH11Hdr function (x,2,Result) will put Result = 3346.