This is the GPIB language interface for Turbo Pascal for DOS, a DOS programming environment for creating 16-bit applications. Download the Turbopas.zip file (in the example.zip file, below). This file contains the declaration file TPDECL.TPU, the language interface file TPIB.OBJ, and some sample programs.
How to Use the 16-bit Turbo Pascal for DOS Language Interface:
I. Overview
The 16-bit GPIB language interface contains the following files:
TPDECL.TPU: Pascal unit
TPIB.OBJ: Pascal language interface module
II. Items to Include in Your GPIB Application
You must include the following line at the beginning of your application:
Uses TPDECL;
III. Compiling, Linking, and Running from the DOS Command Line
From the DOS command line, type in the following to compile and link an application, called yourprog, with the Turbo Pascal language interface, TPIB.OBJ:
tpc yourprog
To run the newly created executable, type in the name of your application on the DOS command line, like so:
yourprog
IV. Note for Turbo Pascal Version 5.x or 6.0 Users
If you are using Turbo Pascal version 5.x or 6.0, you must compile TPDECL.PAS to create a TPDECL.TPU for your version of Turbo Pascal.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.