This is the GPIB language interface for NKR BASIC, a DOS programming environment for creating 16-bit applications. Download the "Nkrbasic.zip" file (in the example.zip file, below). This file contains the declaration file DECL.B, the language interface file NBIB.OBJ, and some sample programs.
How to Use the NKR BASIC Language Interface:
You must include the following line at the beginning of your application:
">declare integer ibsta, iberr, ibcnt"The file DECL.B is for reference only. Constants that are applicable to your application program can be copied from DECL.B. The compiler option " -A", which specifies ANSI conformance mode, cannot be used with this language interface. The status variables are declared as integers, which are non ANSI-data types that are not permitted under the -A compiler option.
To link your application with the NKR BASIC language interface, use the following command:
"b85 -o yourprog yourprog.b nbib.obj"
If your application uses any of the conversion library routines, use the following command to include the conversion library:
"b85 -o yourprog yourprog.b nbib.obj -lcvt"
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.