Language Interface: 16-bit Lahey FORTRAN
Downloads
Filename: example900136.zip
Requirements: View
How to Use the 16-bit Lahey FORTRAN Language Interface:
I. Overview
The 16-bit GPIB language interface for Lahey FORTRAN contains the following files:
DECL.FOR: program declarations
LFIB.OBJ: language interface object module
II. Items to Include in Your GPIB Application
You must include the following line at the beginning of your application:
include 'decl.for'
Next you need to link the LFIB.OBJ language interface module to your application.
III. Compiling, Linking, and Running from the DOS Command Line
From the DOS command line, type in the following to compile an application, called yourprog:
f77l YOURPROG
To link the application, called yourprog, with the FORTRAN language interface, LFIB.OBJ, type in:
optlink YOURPROG+LFIB.OBJ;
To run the newly created executable, type in the name of your application on the DOS command line, like so:
yourprog
Requirements
Filename: example900136.zip
Software Requirements
Language(s): FORTRAN
Hardware Requirements
Hardware Group: GPIB
Driver: NI-488.2
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/).
