RTC
®
4 PC Interface Board
Rev. 1.3 e
9Software
64
innovators for industry
9.4 Demo Programs
The RTC
®
4 software package contains six different
program code samples (file
DEMO.ZIP
). The purpose
of these samples is to demonstrate usage of the
diverse control and list commands.
The samples are written in the C language. They
show the necessary calling sequences of the RTC
®
4
commands, which you can easily translate into your
preferred programming language.
The table below gives an overview of the character-
istics of the demo programs Demo1 to Demo5.
The demo program Demo_intelliSCAN.CPP demon-
strates the communication between RTC
®
4 and
intelliSCAN
®
via a simple marking example.
The source files
DEMO1.CPP
and
DEMO_intelliSCAN.CPP
are listed in the following
section.
All demo programs (C sources and executables) can
be found in the corresponding folder of the RTC
®
4
software package.
Filename Demo1 Demo2 Demo3 Demo4 Demo5
Marking Task Marking a
square and a
triangle
Lissajous
figures
Archimedean
spirals
Raster image
reproduction
Marking
squares and
triangles
Laser type CO
2
YAG YAG CO
2
YAG
Marking method vector vector vector raster vector
DLL linking implicit explicit explicit explicit explicit
List handling use of a single
list buffer
Circular Queue
Mode
Continuous
Transfer
Continuous
Transfer
use of both
list buffers
External control inputs
9
Structured
list programming
9
Exception handling
(by using stop_execution,
stop_list and restart_list)
99