RTC
®
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
83
innovators for industry
Ctrl Command get_hex_version
Function
returns the version number of the RTC
®
4
software
(program file)
Result
RTC
®
4 software version number as an unsigned 16-bit value
Integration
Pascal:
function get_hex_version: word;
C:
unsigned short get_hex_version(void);
Basic:
function get_hex_version()%
Comments
• The RTC
®
4 2D-HEX version numbers are in the range 2.400-2.499
• The RTC
®
4 3D-HEX version numbers are in the range 3.400-3.499
• The RTC
®
3 2D-HEX version numbers are in the range 2.000-2.399
• The RTC
®
3 3D-HEX version numbers are in the range 3.000-3.399
References
Ctrl Command get_hi_data
Function
returns the current positions of the home-in sensors for scan head A (primary scan head
connector) of the current RTC
®
4 board.
Result
x1,x2,
y1,y2
coordinates of the current home-in positions in
bits
as unsigned 16-bit
values
Integration
Pascal:
procedure get_hi_data(var x1, x2, y1, y2: word);
C:
void get_hi_data(unsigned short *x1, unsigned short *x2, unsigned
short *y1, unsigned short *y2);
Basic:
sub get_hi_data (x1%, x2%, y1%, y2%)
Comments
• This command can only be used in combination with a scan head equipped with
sensors for automatic self-calibration.
• The command is provided for diagnostic purposes in addition to the command
Ctrl Command get_input_pointer
Function
returns the present list input pointer, i.e. the position in the RTC
®
4 list buffer where the
next list command will be stored.
Result
list input pointer [0 … 7999] as unsigned 16-bit value.
Integration
Pascal:
function get_input_pointer: word;
C:
unsigned short get_input_pointer(void);
Basic:
function get_input_pointer()%
Comments
• This command is useful for reading the ADC input values from a raster image scan.
See the command
References
,