RTC
®
5 PC Interface Board
Rev. 1.9 e
5 Installation And Start-Up
59
innovators for industry
5.6 Start-Up and Functionality
Test
The HPGL conversion program
HPGL.EXE
is supplied
for testing control of the scan head. This program lets
you load graphics files in Hewlett Packard’s HPGL
format (vector graphic plotter files
*.PLT
) for transfer
to the RTC
®
5.
Copy the HPGL converter and the supplied demo
file into the same directory as the driver DLL, the
RTC
®
5 DSP program file(s) and correction file(s).
Start the HPGL converter.
Under
Options|Correction
select a correction
file and under
File|HPGL-File
select a plot file
(demo file).
Start output via
Mark|Start Marking
.
5.7 User Applications and Demo
Software
The RTC
®
5 application-support DLLs support the
RTC
®
5 under Microsoft’s WINDOWS 8, WINDOWS 7,
WINDOWS Vista and WINDOWS XP (SP2 or higher)
(32-bit or 64-bit) operating systems. The DLLs provide
all necessary functions for operating the RTC
®
5.
To integrate the desired DLL (Win32- or Win64-based,
see below) into a user application, call the desired DLL
and initialize its functions. Programming of applica-
tions is described in detail in
.
describes the calling convention of the DLL
and shows how to initialize its functions and proce-
dures in applications written in Pascal, C, C
++
or C
#
.
With a 64-bit operating system, the 64-bit variant of
the RTC
®
5 software driver (after installation)
supports function calls from Win64-based applica-
tions as well as from Win32-based applications. In
this way, existing Win32-based applications for the
RTC
®
5 are able to execute (even on 64-bit systems),
if the included Win32-based DLL file
RTC5Dll.dll
is
used (as with 32-bit systems). For Win64-based appli-
cations, the Win64-based DLL file
RTC5DLLx64.dll
is
included in the software package. In case an appli-
cation utilizes implicit linking to the
RTC5DLLx64.dll
,
it must be linked with the Win64-based import library
RTC5DLLx64.LIB
.
To help programmers get started, some example
codes are listed on
. In
addition the RTC
®
5 software package includes a
variety of demo programs (see
Danger!
• Always turn on the RTC
®
5
and the power
supply for the scan head first before turning
on the laser. Otherwise, there is the danger
of uncontrolled deflection of the laser beam.
!
Caution!
• Carefully check your application program before
running it. Programming errors can cause a
system breakdown. In this case, neither the laser
nor the scan head can be controlled.