Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Nov 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Language Interface: 32-bit Borland Delphi

32 ratings | 4.03 out of 5
Print

Downloads

Filename: example901239.zip
Requirements: View

This is the GPIB language interface for 32-bit Borland Delphi (version 2.0 and higher), a Win32 programming environment for creating 32-bit applications.

If you have Borland Delphi version 2.0, then download the "DelphiLI2.exe" file (in the example.zip file, below). This file contains the declaration file DPIB32.DCU (which is also the language interface file), DPIB32.PAS (the Delphi source code for DPIB32.DCU), and some sample programs.

If you have Borland Delphi version 3.0 or 4.0, then download the "DelphiLI3.exe" file (in the example.zip file, below). This file contains the declaration file DPIB32.DCU (which is also the language interface file), DPIB32.PAS (the Delphi source code for DPIB32.DCU), and some sample programs.


How to Use the 32-bit Borland Delphi Language Interface:
I. Overview

The 32-bit GPIB language interface for Borland Delphi contains the following files:
DPIB32.DCU: Delphi Unit module containing type definitions, various predefined constants, and NI-488.2 routine and NI-488 function prototypes
DPIB32.PAS: Delphi source code for DPIB32.DCU

II. Items to Include in Your GPIB Application

You must include the following line at the beginning of your application:
Uses DPIB32;

III. Compiling, Linking, and Running from the Borland Delphi Environment

From within the Borland Delphi environment, you can compile, link, and run your application. To compile and link a project, select the BUILD ALL item from the PROJECT menu. To run the project, select the RUN item from the RUN menu.

Requirements


Filename: example901239.zip

Software Requirements


Language(s): Delphi

Hardware Requirements


Hardware Group: GPIB
Driver: NI-488.2

 
32 ratings | 4.03 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).