RTC
®
5 PC Interface Board
Rev. 1.9 e
11 Demo Programs
566
innovators for industry
11 Demo Programs
The RTC
®
5 software package contains various
program code samples (
DEMO.ZIP
) in the folder
Demo-
Files
. These samples demonstrate DLL and RTC
®
5
initialization, error handling and usage of the diverse
control and list commands. Written in C, the sample
code illustrates required calling sequences of RTC
®
5
commands, which you can easily translate into your
preferred programming language. The table below
summarizes the characteristics of the demo
programs.
File name
Demo1
Demo2
Demo3
Demo4
Demo5
Demo6
Demo7
Marking Task
Square and
triangle
Lissajous
figures
Archimedean
spirals
Raster image
reproduction
Squares and
triangles
Raster image
reproduction,
Processing-on-
the-fly
Text output,
intelli
SCAN
®
Laser type
CO
2
YAG
YAG
CO
2
YAG
CO
2
YAG
Marking method vector
vector
vector
pixel mode
vector
pixel mode,
fly mode
vector
Additional
features
home jump
home jump
data
recording,
time
measurement,
16-bit IO port
data recording,
time
measurement,
i
DRIVE
®
functions
DLL linking
implicit
explicit
explicit
explicit
explicit
implicit
implicit
List handling
use of a single
list
single list,
continuous
transfer
(circular
queue)
two
alternating
lists,
continuous
transfer
two
alternating
lists,
continuous
transfer
use of two lists two
alternating
lists,
continuous
transfer
two lists
(default),
protected area
External
control inputs
/START,
/STOP
allowed
Exception
handling
load_list
get_status,
set_wait,
release_wait,
pause_list,
restart_list,
stop_execution
get_status,
load_list,
pause_list,
restart_list,
stop_execution
load_list
get_status,
load_list,
stop_execution
get_status,
load_list,
stop_execution
get_status
Other
commands
config_list,
set_end_of_list,
execute_list_pos
config_list,
set_start_list_pos,
execute_list_pos,
set_end_of_list
config_list,
set_start_list_pos,
set_end_of_list,
execute_list_pos,
auto_change
config_list,
set_end_of_list,
execute_list_pos,
auto_change,
set_pixel_line,
set_n_pixel
config_list,
set_end_of_list,
execute_list_pos,
set_extstartpos,
set_control_mode,
get_startstop_info
bounce_supp
config_list,
set_end_of_list,
execute_list_pos,
auto_change,
set_control_mode,
simulate_encoder,
set_pixel_line,
set_n_pixel,
set_fly_x fly_return
set_trigger,
save_and_restart-
_timer,
write_io_port_list,
get_io_status
control_command,
load_char, mark_text,
mark_text_abs,
set_start_list_pos,
set_trigger,
measurement_status,
get_waveform,
set_start_list_pos,
save_and_restart-
_timer,
set_end_of_list,
execute_list_pos