RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
408
Ctrl Command get_hex_version
Function Returns the version number of the DSP program file
RTC6OUT.out
, which is currently loaded
on the RTC6.
Call
HexVersion = get_hex_version()
Result Version number.
As an unsigned 32-bit value.
Comments • The version numbers of program files are in the range 600…699.
get_hex_version returns the following values:
– if the Option “3D” is not enabled
values in the range 2600…2699 (version number + 2000)
– if the Option “3D” is enabled
values in the range 3600…3699 (version number + 3000)
• The file name extension for RTC6 DSP program files is
*.out
. See also
load_program_file.
• The software version number can also be returned after an
RTC6_VERSION_MISMATCH
or
RTC6_ACCESS_DENIED
error. The return value is 0 if no program has yet been loaded.
• The board-specific error variables
LastError
and
AccError
, see Chapter 6.8 ”Error
Handling”, page 130, are neither generated nor altered by get_hex_version.
RTC4RTC6 Unchanged functionality.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References get_dll_version, get_rtc_version
Ctrl Command get_hi_data
Function Returns the Home-In positions, last determined by auto_cal of the scan system attached
to the first scan head connector.
Call
get_hi_data( &X1, &X2, &Y1, &Y2)
Returned
parameter
values
X1
x1 coordinate of the currently stored (most recently measured) Home-In
positions. In bits.
As a pointer to a signed 32-bit value.
X2
Like
X1
(analogously).
Y1
Like
X1
(analogously).
Y2
Like
X1
(analogously).
Comments • get_hi_data is synonymous with get_hi_pos with
HeadNo
= 1 (see comments there).
RTC4RTC6 Unchanged functionality. In addition: increased value range.
The returned values are in the 20-bit value range.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References get_hi_pos, write_hi_pos