Dos Library; Windows Dll - Tescom ER3000 User Manual

Electronic pressure controller
Hide thumbs Also See for ER3000:
Table of Contents

Advertisement

systems run on these platforms.
development of the Tescom Protocol library and DLL.
programmer the ability to alter and recompile the Tescom Protocol in a format
suitable for their system.
The Tescom protocol software includes the following six functions:
Startup - This function must be called during program initialization
before any other function to allow PC initialization, including the serial
port. This function does not send any data to the ER3000. This
function needs to be called only once.
WriteNetVar - This function is used to write any of the ER3000
internal variables.
ReadNetVar - This function is used to read any of the ER3000 internal
variables.
WriteProfileSegment - This function is used to write any of the
ER3000 profile segments, 1-32.
ReadProfileSegment - This function is used to read any of the ER3000
profile segments, 1-32.
Shutdown - This function must be called before exiting the program.
This function does not send any data to the ER3000. This function
needs to be called only once.

8.3.1 DOS Library

The Tescom protocol, protocol.lib, allows easy access to the ER3000 from a PC
for DOS-based C-language programs.
One thing to note is that the LIBRARY directory contains two subdirectories -
one for Microsoft libraries and another for Borland. It is important to use the
PROTOCOL.LIB file from the directory corresponding to the compiler being
used.
Custom DOS applications can be developed easily using the existing software as
a baseline. The ERTALK program demonstrates basic communication with the
ER3000 and is a good starting point for custom software development. The
PROFILE2 program demonstrates the usage of the profiling functions.

8.3.2 Windows DLL

The Tescom protocol, TESCOM.DLL, allows easy access to the ER3000 from a
PC for Windows-based programs.
The protocol is available as a 16-bit and a 32-bit DLL. The proper DLL should
be placed in the Windows directory when generating custom software (this is
automatically done if the Tescom Windows program is installed, ER3000
(CVI)).
Custom Windows applications can be developed easily using the example for the
programming environment being chosen. There are examples for C, Visual
Basic, LabVIEW, and LabWindows/CVI.
We provide all the software used in the
9. ER3000 Internal Variables 41
This allows the

Advertisement

Table of Contents
loading

Table of Contents