Program Examples; Changing Function And Range - Keithley 2010 User Manual

Hide thumbs Also See for 2010:
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 2010 at address 16 on the IEEE-488
bus.

Changing function and range

The Model 2010 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 RANGe command is given
as "the maximum value to measure." The instrument interprets this parameter and goes to the
appropriate range. When you query the range with RANGe? the instrument sends back the full-
scale value of its present range.
The following example program illustrates changing function and range. It sets the range for
several functions, and then takes readings on each of those functions.
Note that the Model 2010 rounds the range parameter to an integer before choosing the
appropriate range. Sending VOLTage:DC:RANGe 20.45 will set the Model 2010 to the
100V range.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents