Overview
This document has been archived and is no longer updated by National Instruments.
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