Scanlab RTC 4 Installation And Operation Manual page 100

Interface board for real time control of scan heads and lasers
Table of Contents

Advertisement

Ctrl Command read_pixel_ad
Function
returns the ADC value that was obtained at a pixel position during the output of a raster
image line
Parameter
pos
Result
10-bit output value from the analog input channel (on the RTC
which was specified with the
contain the analog input channel number)
Integration
Pascal:
C:
Basic:
Comments
• This command can only be used with the RTC
• The RTC
stores the result in the list (at the position of the
finished, the data can be read from the list pixel by pixel with the command
read_pixel_ad.
• The command requires the position of the corresponding
list. To retain this position, use the command
set_pixel
References
set_pixel,
Ctrl Command read_status
Function
returns the list execution status
®
Result
RTC
4 status as an unsigned 16-bit value:
Bit #
Bit #0 (LSB)
Bit #1
Bit #2
Bit #3
Bit #4
Bit #5
Bits #6...#7
Bits #8...#15
Integration
Pascal:
C:
Basic:
Comments
• Compare with the command
• To read the status signals from the scan heads, use the command
(page
References
get_status,
®
RTC
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
list pointer to the corresponding
set_pixel
function read_pixel_ad(pos: word): word;
unsigned short read_pixel_ad(unsigned short pos);
function read_pixel_ad(ByVal pos%)%
®
4 reads the ADC value during execution of each
command into the list.
set_pixel_line
Name
Description
Load1
= 1:
indicates that all following list commands will be stored in list 1.
This bit will be set after a set_start_list_1 command and will be reset after a
set_end_of_list
Load2
= 1:
indicates that all following list commands will be stored in list 2.
This bit will be set after a set_start_list_2 command and will be reset after a
set_end_of_list
Ready1
= 1:
indicates that list 1 is closed.
This bit will be set after list 1 is closed by the
Ready2
= 1:
indicates that list 2 is closed.
This bit will be set after list 2 is closed by the
Busy1
= 1:
indicates that list 1 is executing at the moment.
Busy2
= 1:
indicates that list 2 is executing at the moment.
0
1
function read_status: word;
unsigned short read_status(void);
function read_status()%
get_status (page
82).
get_head_status
set_pixel
command [0 ... 7999]
®
4 I/O Extension Board)
command (unsigned 16-bit value; the upper 6 bits
®
4 I/O Extension Board.
set_pixel
set_pixel
command). After the list is
set_pixel
get_input_pointer
command.
command.
set_end_of_list
set_end_of_list
86).
command, and
command in the
just before writing the
command.
command.
get_head_status
100

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RTC 4 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF