Functionality Test; User Programs And Demo Programs - Scanlab RTC6 PCIe Board Installation And Operation Manual

Real time control of scan systems and lasers rtc6 software package v1.16.0
Table of Contents

Advertisement

5.7 Functionality Test

Caution!
• Always turn on the PC 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.
SCANLAB recommends the use of a shutter to
prevent uncontrolled emission of
laser radiation.
The HPGL conversion program Hpgl.exe is supplied
for testing control of the scan head, see also
"Folder HPGL", page
32. This program lets you load
graphics files in Hewlett Packard HPGL format (vector
graphic plotter files *.plt) for transfer to the
RTC6 PCIe Board.
(1) Copy Hpgl.exe and the supplied *.plt files to the
same folder as the RTC6DLL.dll, the
correction file(s).
(2) Start Hpgl.exe.
(3) Choose Options > Correction, and then select a
correction file.
(4) Choose File > Load HPGL-File, and then select a
*.plt.
(5) To start output, choose Mark > Start Marking.
RTC6 boards
Doc. Rev. 1.0.21 en-US
5 Installation and Start-Up
5.8 User Programs and
Demo Programs
• Carefully check your user program before
running it. Programming errors can cause a
system breakdown. In this case, neither the laser
nor the scan head can be controlled.
The DLLs for RTC6 user programs (RTC6DLL.dll,
RTC6DLLx64.dll) support the RTC6 PCIe Board under
32-bit and 64-bit Microsoft operating systems
Section
Windows 10, 8, 7. The DLLs provide all necessary
functions for operating the RTC6 PCIe Board.
Programming of user programs is described in detail
in
Chapter 6 "Developing RTC6-User Programs",
page
93.
Start-Up", page 95
RTC6 files
and
functions of the
are written in Pascal, C, C++ or C#.
On a 64-bit operating system, the 64-bit variant of
the RTC6 board driver supports function calls from
Win64 user programs as well as from
Win32 user programs.
Therefore, existing Win32 user programs for the
RTC6 PCIe Board are able to execute even on 64-bit
systems, if the included Win32-based file
is used.
For Win64 user program, the Win64-based file
RTC6DLLx64.dll
In case a user program utilizes implicit linking to the
RTC6DLLx64.dll, it must be linked with the Win64-
based import library RTC6DLLx64.lib.
To help software developers get started, some
example codes are shown in:
Chapter 6.2.5 "Example Code (C)", page 100
Chapter 6.8.3 "Example Code (C)", page 133
Chapter 7.1.4 "Example Code (C)", page 142
Notice!
Chapter 6.2 "Initialization and Program
shows how to import the
RTC6 DLL
into user programs, if they
is included in the software package.
RTC6DLL.dll
92

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RTC6 PCIe Board and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Rtc6 ethernet board

Table of Contents

Save PDF