RTC
®
4 PC Interface Board
Rev. 1.3 e
9 Software
62
innovators for industry
9
Software
9.1 Installing the Software
The RTC
®
4 application-support DLL supports the
RTC
®
4 under the Microsoft operating systems
WINDOWS XP and WINDOWS 2000. The DLL
provides all necessary functions for operating the
RTC
®
4. The commands and functions of the DLL can
be integrated into the customer's application
software as described in
.
To install the RTC
®
4 software, follow these steps:
Copy the application-support DLL (
RTC4DLL.DLL
)
included in the RTC
®
4 software package to the
directory in which the application software will
be started, or to the WINDOWS directory.
Copy the correction file(s) (
*.CTB
) and the RTC
®
4
DSP program file(s) (
*.HEX
) to the harddisk of
your PC (existing correction files can still be used;
do not overwrite customized correction files!).
SCANLAB recommends storing these files in the
directory in which the application software will
be started.
In order to use the commands and functions of
the DLL in your application program, you will
have to initialize them.
calling convention of the DLL and shows how to
initialize the functions and procedures of the DLL
in application programs written in Pascal, C or
Visual Basic.
9.2 DLL Calling Convention
The DLL calling convention is
stdcall
.
To facilitate importing the commands of the DLL into
a C, Pascal or Visual Basic application, the RTC
®
4
software package contains corresponding utility files.
The following sections describe how to use these files
in your particular software environment.
Pascal
Use the file
RTC4Import.pas
as a unit and call the
RTC
®
4 commands you need, like
goto_xy(1000, 2500);
for performing a jump to location 1000, 2500.
Basic
Include file
RTC4Import.bas
into your project and call
the RTC
®
4 commands you need, like
call goto_xy(1000, 2500)
for performing a jump to location 1000, 2500.
Caution!
• Carefully check your application program before
running it. Programming errors can cause a
break down of the system. In this case, neither
the laser nor the scan head can be controlled.
Caution!
• Some of the commands included in the utility
files can only be used with the appropriate
optional hardware configuration of the RTC
®
4 –
also see
Make sure to use only the commands supported
by your version of the RTC
®
4. Please refer to the
descriptions of the individual commands in
The command
provides information about the options
currently installed on your RTC
®
4 board.