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

Related Links - Products and Services

Language Interface: 16-bit Lattice C

0 ratings | 0.00 out of 5
Print

Downloads

Filename: example9011033.zip
Requirements: View

This is the GPIB language interface for Lattice C, a DOS programming environment for creating 16-bit applications. Download the Latticec.zip file (in the example.zip file, below). This file contains the declaration file DECL.H, the language interface file LCIB.OBJ, and some sample programs.


How to Use the 16-bit Lattice C Language Interface:
You must include the following statement at the beginning of your application:

#include "decl.h"

From the DOS command line, type in the following in order to compile and link an application, called yourprog, with the C language interface, LCIB.OBJ:

lc -mx -L yourprog.c lcib.obj

where x refers to the memory model as follows:

s - small
p - medium
d - compact
l - large
h - huge

Requirements


Filename: example9011033.zip

Software Requirements


Language(s): C

Hardware Requirements


Hardware Group: GPIB
Driver: NI-488.2

 
0 ratings | 0.00 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/).