Herunterladen Diese Seite drucken

Calling The Dll Functions From An Application Program; Microsoft Visual C; Borland Delphi; Overview Of Dll Functions - HEIDENHAIN IK 220 Benutzerhandbuch

Pc-zählerkarte zum anschluss von heidenhain-messgeräten

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Calling the DLL functions from an application program

Overview of DLL functions

Function
Determine installed
IK 220
Initialize IK 220
Read program versions
Clear counter
Start counter
Stop counter
Delete frequency and
amplitude error
Save counter value
Save synchronous
counter value internally
Save synchronous
counter value externally
To be able to use the functions of the DLL they must be known
by the application program.

Microsoft Visual C++

If the application program is written with Visual C++, the
file "\IK220Dll\Release\IK220DLL.LIB" is to be copied into the
library directory of Visual C++ (e.g.: C:\MSDEV\LIB). Moreover,
this library must be linked. This requires an entry
under "Build/Settings/Link/Object/library modules."
The header file "\Include\DLLFunc.h" in which the function
prototypes are defined must be added to the project.
After this is done, the functions can be used as "normal" C
functions.
Microsoft Visual C++
For Microsoft Visual Basic, the functions are defined in the
module "\Include\DLLFunc.bas." This file must be included in
the project.

Borland Delphi

The functions and types are defined in the
file "\Include\DLLFunc.pas" to enable the DLL functions to be
used with Borland Delphi.
Short reference
BOOL IK220Find
BOOL IK220Init
BOOL IK220Version
BOOL IK220Reset
BOOL IK220Start
BOOL IK220Stop
BOOL IK220ClearErr
BOOL IK220Latch
BOOL IK220LatchInt
BOOL IK220LatchExt
Driver Software for WINDOWS
(ULONG* pBuffer16)
(USHORT Axis)
(USHORT Axis,
char* pVersCard,
char* pVersDrv,
char* pVersDll)
(USHORT Axis)
(USHORT Axis)
(USHORT Axis)
(USHORT Axis)
(USHORT Axis, USHORT Latch)
(USHORT Card)
(USHORT Card)
89

Quicklinks ausblenden:

Werbung

Kapitel

loading