EasyManuals Logo

Keysight Technologies 6811C Programming Guide

Keysight Technologies 6811C
315 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #50 background imageLoading...
Page #50 background image
2 Introduction to Programming
50 Keysight Models 6811C, 6812C, and 6813C Programming Guide
Types of DOS drivers
The Keysight 82335A and National Instruments GPIB are two popular DOS drivers.
Each is briefly described here. Refer to the software documentation supplied with
the driver for more details.
Keysight 82335A driver
For GW-BASIC programming, the GPIB library is implemented as a series of
subroutine calls. To access these subroutines, your application program must
include the header file SETUP.BAS, which is part of the DOS driver software.
SETUP.BAS starts at program line 5 and can run up to line 999. Your application
programs must begin at line 1000. SETUP.BAS has built-in error checking
routines that provide a method to check for GPIB errors during program execution.
You can use the error-trapping code in these routines or write your own code
using the same variables as used by SETUP.BAS.
National Instruments GPIB driver
Your program must include the National Instruments header file DECL.BAS. This
contains the initialization code for the interface. Prior to running any applications
programs, you must set up the interface with the configuration program
(IBCONF.EXE).
Your application program will not include the ac source symbolic name and GPIB
address. These must be specified during configuration (when you run
IBCONF.EXE). Note that the primary address range is from 0 to 30 but any
secondary address must be specified in the address range of 96 to 126. The
instrument expects a message termination on EOI or line feed, so set end of
identify (EOI) with last byte of Write. It is also recommended that you set Disable
Auto Serial Polling.
All function calls return the status word IBSTA%, which contains a bit (ERR) that is
set if the call results in an error. When ERR is set, an appropriate code is placed in
variable IBERR%. Be sure to check IBSTA% after every function call. If it is not
equal to zero, branch to an error handler that reads IBERR% to extract the specific
error.

Table of Contents

Other manuals for Keysight Technologies 6811C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keysight Technologies 6811C and is the answer not in the manual?

Keysight Technologies 6811C Specifications

General IconGeneral
BrandKeysight Technologies
Model6811C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals