C Example Programs; Program Examples - Keithley 2000 User Manual

Hide thumbs Also See for 2000:
Table of Contents

Advertisement

C-2
Example Programs

Program examples

All examples presume QuickBASIC version 4.5 or higher and a CEC IEEE-488 interface
card with CEC driver version 2.11 or higher, with the Model 2000 at address 16 on the IEEE-
488 bus.
Changing function and range
The Model 2000 has independent controls for each of its measurement functions. This means,
for example, that autorange can be turned on for DC voltage while leaving it off for AC voltage.
Another difference is in the parameter to the range command. In other instruments, a single
number was used to denote each range. The parameter of the SCPI
"the maximum value to measure." The instrument interprets this parameter and goes to the ap-
propriate range. When you query the range with
value of its present range.
The following example program illustrates changing function and range. It sets the range for
several functions, then takes readings on each of those functions.
Note that the Model 2000 rounds the range parameter to an integer before choosing the ap-
propriate range. Sending
range.
RANGe?
VOLTage:DC:RANGe 20.45
command is given as
RANGe
the instrument sends back the full-scale
will set the Model 2000 to the 100V

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents