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

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


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Language Interface: 16-bit NKR BASIC for DOS

1 ratings | 4.00 out of 5
Print

Downloads

Filename: example900122.zip
Requirements: View

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"

Requirements


Filename: example900122.zip

Software Requirements


Language(s): Basic

Hardware Requirements


Hardware Group: GPIB
Driver: NI-488.2

 
1 ratings | 4.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/).