Text preview for : 196_903_01A.pdf part of Keithley Modell 196 Rev.A Programming Guide



Back to : 196_903_01A.pdf | Home

INTRODUCTION
This

,.

reference and~programming guide contains condensed

TABLE OF CONTENTS
CONDENSE,, SPECIFICATIONS ................. MODEL 196 FEATURES ..................... FRONT PANEL PROGAAMS................. FRONT PANEL TRIGGERING ................ IEEE-438 PROGRAMMlNG.................. ................. TRANSLATOR SOFTWARE PROGRAMS 3 lo-16 17-23 29-39 40-44

...............

CONDENSED
DC VOLTS

SPECIFICATIONS

Range 300mV 3: 300 ", V zeroed.

GH-Digit Accuracy i(%rdg + counts) 1 Year, 18 -28~C b,00* ~~+ I&' 0.008 0.0038 0.009 + 30 * 20 $ 30~

`When properly

dB (Ref.

= IV)
Aecumcy 1 Year, 190 -28cC

Input -34 to 49dB 12omv to 3oow - 54 to -34dB (2mV to zomw ' Typical

ZDHz-20kHz 0.2 1.1

2OkHz-1OOkM 0.4 3'

OHMS
6YeDigti Accuracy +(%rdg +~ counts) 1 Year, 18" -28OC 0.010 + 202 0.007 + 20 0.007 f 20 0.021 + 20 0.021 +-20 0.1 + 50 2.0 + 5

Range 300 0' 3 kQ' 30 kB' 300 kiI 3MR 30MO 3ODMG' `4.terminal z When properly zeroed.

?mmacy, 3C!QR-3OkQ range.

CONFIGURATION: Automatic 2- or 4-wiw. Offset cornpenSation available an 30061-30kfiranges. Allowable compensation of *lOmV on 3OGll range and f100mV on 3m and 3cw ranges. OPEN CIRCUIT VOLTAGE: 5SV maximum.

4

DC AMPS
WeDigit Accuracy &(#rdg + counts) 1 Year, 180 -29QC 0.09 0.05 0.05 0.05 0.09 + + + * + 20 IO 10 10 10

Maximum Voltage Burden 0.4v 0.4" 0.4" 0.5v 2v

TRMS AC AMPS
S'h-Digit Accuracy +wdg +`counts) 1 Year, w-29W' Range 300 fi 3mA 30mA 300mA 3 A ZOHz-45Hz 2 2 2 2 2 + + + + + 100 100 100 100 100 45Hz-1OkHz 0.9 0.6 0.6 0.6. 0.6 +`~100 + 100 + 100 + 100 + 100 co~ulnts

Maximum Voltage Burden 0.4v 0.4v D.4V 0.6" 2V

LFor sinewave inputs above 2000

RESPONSE:

True root mean square, AC coupled.

NON-SINUSODIAL INPUTS: Specified accuracy for fundamental frequencies
5

dB (Ref.

= 1mA)
Accuracy rdB 1 Year, iSo -28%

Input -34 to +69dS (20~A to 3A) -54 to -34dB (2pA to 2O,A

ZOHz-IOkHz 0.2 0.9

8

Offset Compensated Ohms: Rates are 0.5 x normal mux on ohms rate*. IReading rates are for on-wnge on-scale readings with internal filter off, for 3V. 3k% and 3mA ranges. 6%. and 5%.digit rates are for 60Hz operation. Values in Parenthesis are for 50Hz operation. `Internal filfer on.

7

SAFETY PRECAUTIONS

DISPLAY MESSAGES
Error Messages'

E'PROM failure on power up. See

[I PROGRAM JO
O.VERFLO KQ

Invalid entry while Wing

to select

program.

-

r

guide.

INPUT SWITCH

10

RANGEGROUP

".

AUTO Range
Pressing the AUTO button places the Model 196 in autorange and turns on the AUTO indicator light.

Manual Range
Pressing the A button CBUSBSthe M~odel 196 to uprange. Pressing the V bunon causes the instrument to downrange. Either button disables autaranging.

H

FUNCTION

These buttons are used lo s&c, the DC yolt~ IDCVI, AC volts iKW, Ohms ID), DC murent IDCA), and AC current (ACAl functions.

MODIFIERS

c

MODIFIER

)

ZERO
The Zero feature serves as a meam. of zero correction or baseline suppression by allowing a stored offset value to be subtracted from subsequent readings. When the ZERO button is pressed, the instwment triggers a conversion and stores the reading as a zero value. Program ZERO allows the we, ,o manually enter the zero value. All subsequent readings represent the~~differences between the applied signal level and the zero value A zero value can be established for any or all measurement functions and is remembered by each function.

OPERATION 1. Select function and range. 2. Turn ZERO off if presently on. 3. Apply a short or baseline signal to the input. 4. Press the ZERO button. The display will read zero. 5. Disconnect the short or baseline signal and apply the _:___, .^ L^ -^"^.l_^_l

Each filtered measurement is first filtered for three time con~tant~ before being displayed. A time c(~~stant is measured in readings. The number of readings in one time constant is equal to the filter value. Thus, for a filter vakx of 10, three time constants is equal to 30 readings.

OPERATION with Program FILTER. set to the desirti filter value and press the FKTER button. The indicator will turn on and flash unrii a fully filtered reading is obtained.

dB
The dB button selects the dB measurement mode with the instrument in the ACV or ACA functions. When measuring in dB, it is possible to compress a wide range of nwasummenti into a much smaller scope. The displayed reading is directly in dB. The relationship between dB and voltage/ current can be expressed by the following equations:

dB = 20 log lV,I

dB = 20 log x.,1

where: Factory Default V,., = 1V I,,, = 1mA

ewation. it can be derived that 1v or 1rnA at the input (V,. and IL,) &ill result in a OdB reading on the Model 196.
From the above

There are two methods that can be used to change the reference value One method is to use the zero feature This consists of applying a signal to the inslrument and pressing the ZERO button. The suppressed level is the d6 reference (DdB point). An alternate method is to use Program d8 to enter the desired reference value.

OPERATION Operation consists of selecting ACV Or ACA, changing (if desired) the dB reference, applying the signal to be measured, and pressing the dB button.

d9m Measurements: dBm is decibels above or below a 1mW reference. Measurement in dBm can be referenced to impedance rather than voltage or current. Because the instrument cannot directly I~ establish impedance references, an equivalent voltage must be calculated and established for a particular impedance reference. Use the following equation to calculate the equivalent voltage: V,, for OdBm = J (1mWb IL.,1

15

d&V Measurements: dBW is decibels above or below a IW reference Measurements in dBW are made in the same manner as dBm maasuremen~; lhat is, calculating and establishing the voltage reference for a pardcular impedance. Use the following equation to calculate the voltage reference: V,., for OdBW = Jz-

16

FRONT PANEL PROGRAMS

,,

The CONTROL buttons IPRGM and ENTER), along with thedata buttons (k, 0 through 91. are used to manipulate front

pane, programs.

Program 0 (Menui

,, ,. ., ~.~ .~.~.. ) Description
Display sottware level and list available front panel
proQram*.

2 lResol"tioni

! 4 iMX+Bl
5 (Hl/LO/Passi 6 (Muxl 30 evei 1 31 (IEEE Address) 32 Line Frequencyi 33 (Self Test1 34 CMXtB Parametenl

Change display resolution : (3Kd. 4%d, 6%d or 6Kd,. Enable MX+B program. Enable/disable HIIUVPass program. Recall status. enable/disable avtolcal multiplexer. Save cUrrent front panel setup. Recall/modify IEEE address. +xzall/modify line frequenv satting ~50/6UHzl. Enter self-test program. Recall/modify MXf6 program "due. Recall/modify Hi/LO limits. Enter digital calibration made. Returns 196 to factory default wnditiona. Recall starus, enable/disable

Program Selection

A program can be exited at any time. without changing previous program parameters, bypressing the PRGM button.

Data Entry
Program data is applied from the front panel using the data buttons. The data buttons consists of the buttons labelled with the i polarity sign and numbers 0 through 9. Data entry is accomplished by pressing the appropriate number butmn at each cwsor Iocation. Cursor location is indicated by the bright, flashing display digit. The cursor troves one digit to the right every time a number is entered.

Program 0 (Menu)
This program displays the software revision level of the Model 196and lists the available front panel pmgrams. After the program is selected. use the manual range buttons (V and A) to scroll through the program listing. To exit from the menu, press the PRGM button.

Program 2 (Resolution)
This program is used for the selection of the number of digits of display resolution for the presently selected function. Available resolution is dependent on function and range. After the program is selected, display the desired resolution using the T and A buttons, and then press the ENTER button.

or disable the MX+E feature. The MX+B feature allows the user to automatically multiply normal display readings (Xl by a constant IMI and

Program 4 (MX+B) Program 4 sllows UQ~,enable the to

add a constant 181. The result (Yi will be displayed in accordance with the formula, Y=MX+B. After the program is selected, any manual range button will toggle the display to the alternate status. The ENTER button will enter the displayed status.

.

Program 5 (HI/LO/Pass)
When this program is selected, the Model 196 will indicate whether or not a specific reading falls within a prescribed range. The instrument will display the HI or LO message for out-of-limit readings and the PASS message for in-limit readings. The HI and LO limits can be set to any on-range value with Program 35 (HI/LO Limits). To disable the program. press the presently selected function button.

Program 6 (Auto/Cal Multiplexer)
Program 6 allows the user to disable and enable thee multiplex circuitry. Wth the multiplexer disabled, measurement speed is increased and high impedance DCV measurements can be made. After the program is selected. any range button will toggle the display to the alternate status. The ENTER button enters the displayed status.

Program 30 (Save)
Program 30 saves the present set up pwxneter. These conditions will replace the previously saved conditions on power up. After the program is selected, pressing the ENTER button will cause the present set up m be saved. Pressing any other button will cause the instrument to exit Program 30 without changing the previously saved set up.

20

Program 31 (IEEE Address) Programallows wertocheck and/or 31 the

modify the IEEE-488 primary address. After Program 31 is selected, the current IEEE address value will be displayed. To retain the current IEEE value, press the ENTER button. To change the Primary address, enter e new vel"e CO 31) end prees to the ENTER button.

Program 32 (Line Frequency)
Program 32 allows the user to check the line frequency setting of the instrument and to select the alternatefrequency setting. The instrument can be set to either 50 or 60Hz. After the program is selected, any range button will toggle the display to the alternate setting. The ENTER button will enter fhe displayed setting.

Program 33 (Diagnostic)
Program 33 is e diagnostic program designed to switch on various switching FET's, relays and logic levels to allow signal tracing through the instrument. Also, tests on the display and memory are performed. Refer to paragraph 6.7.3 in the maintenance erection of the manual to use this program to troubleshoot the instrument.

Program 34 (MX+B Parameters)
Program 34 allows the user to check and change the M and B values for the MX+B feature (Program 41. Valid M values are in the range of -9.999999 to +9.999999. The B value range is from z%O.OOOl X10-' to A9999.999 (including zero). After Program 34 is selected, the current M velue will be displayed. To retein the displayed aloe, press the ENTER button. To change the M welue, enteera "clue and press the ENTER button. The current B value will then be displayed.

2

To retain the displayed B value, press the ENTER button. To change the S value, enter a value and press the ENTER button. Note that the value B is scaled according to the range in use.

Program 35 (Hi/LO Limits)
This program is used to set the high and low limits for Program 35 CHI/LO/Passl. The limit values are scaled according to the range in use. When the program is selected, the currently programmed low limit is displayed. Modify the value, if desired, and press the ENTER button. The high limit will then be displayed. Modify the high limit, if desired, and press the ENTER button.

Program 36 (Calibration) The can easily perfotm front panel user

digital calibration by applying accurate calibration signals and using Program 36. Calibration signals can be prompted default values or values entered from the front panel. Refer to the Model 196 Instruction Manual, Section 6 for complete information.

Program 37 (Reset)
Program 37 resets all instrument Set up parameters back to the factory default conditions. After the program is s&cIed, pressing Ihe ENTER button will reset the instrument to factory default conditions. Pressing any other button will cause the instrument to exit Program 37 without resetting the parameters. After running this program. Program 30 must be run to have factory default conditions on power up.

22

Program il OhIns compensation t0 compensate isUSed forexternal
voltage

potential* *cm** the unknown resistor when making 2 or &terminal resistance mea*UrementS up to 3oOkS2 After Ihis program is selected, any range button will toggle the display to the alternate *tafu* (on/offL The ENTER button enter* the displayed *tafus. With ohms compensation enabled. the n indicator light will blink when the ohms function is selected.

Program ZERO
Program ZERO allow* the user to check and modify the zero value After Program ZERO is selected the current zero value will be displayed. If desired, change the displayed zero value and press the ENTER button. The instrument will return to the previous operating *tare with the zero modifier enabled. The subsequent displayed reading will reflect the entered zero Y*lu*.

Program FILTER
Program FILTER allows the u.ser to check and modify the number of readings averaged by the filter. After the program " is selected the current filter value will be displayed. Alter me filter value, if desired. and pre*s the ENTER button. The instrument will retllrn to the previous operating State witi the filter enabled u*ing the programmed filter value.

Program dB
This program allow* the user to check and!or change the dB reference level. When this program is selected. the currently programmed reference level will be displayed. Alter the reference level, if desired. andpress the ENTER button. The referenca range for ACV is up to 9.9999~9V and the ' range for current is up to 9.99999mA. 23

LOCAL
LSN

ICI n
cl

/TLK

RMT

q

LOCAL

The LOCAL button allmm the user to return control to the front panel when the instrument is being controlled over the lEEE-488 bus IRMTindicator lightanl. This button twil, have no effect if local lockout ILL01 was asserted over the bus.

24

FRONT PANEL TRIGGERING
For frcmt panel triggering, the instrument must be placed in the appropriate triggermode over the IEEE-488 bus.

from

One-shot

Triggering:

1. Select function and range. 2. Place the instrument in the one-shot trigger mode by sending the T7 command over the bus. 3. Press the LOCAL butto" to return control to the front pane,. 4. Each press of the ENTER button will trigger a reading.

Triggering

Readings Into Data Store:

1. Select function and range. 2. Place the instrument in the appropriate trigger mode: A. Send T7 (one-shot) over the bus if each press of the ENTER button is to Store one reading in the buffer. B. Send T6 (continuous) over the bus if the ENTER button is to star? storage of a series of readings into the buffer. 3. Configure the data store by sending the appropriate Qn (interval) and I (size) commands over the bus. 4. Press the LOCAL button to return control to the front pane,. . 5. Press the ENTER button to either store one reading or start storage of a series of readings.

25

EXTERNAL TRIGGERING
The Model 196 has two external BNC connectors on the rear panel associared with instrumenf triggering. The EXTERNAL TRIGGER lNPUT allows the instrument u) be triggered by other devices, while VOLTMETER COMPLETE OUTPUT allows the instrllment to trigger oriler devices.

External Trigger Input
1. Set the Model 196 fo the oneshot external trigger mode IT71 or the continuous external trigger made (T-51. 2. Input an appropriate trigger pulse source bee FIG 11 to the EXTERNAL TRIGGER INPUT. 3. The in&nnent will process a single reading each time a pulse is applied ione-shotl. or start a continuous series of readings

FIG 7. External

Trigger Pulse Specilications

26

Voltmeter Complete Output
The voltmeter complete pulse (see FIG 21 signifies completion of the measuemem cycle The voltmeter complete line can be used to trigger another instrument or to inform an instrument that the mea*uremenr has teen complered.

1. Connect the VOLTMETER COMPLETE OUTPbT 01 the Model 196 to the external trigger input of another instrument. 2. In a continuous trigger mode, the instrument will outpur pukes at the conversion rate; each pulse will occur after the Model 196 has completed B conver.sion. 3. In a one-shot trigger mode, the Model 196 will output a puke once each lime it is triggered.

FIG 2. Voltmeter Complete

Pulse Speciffcaiion

IEEE-488 PROGRAMMING
This section briefly describes Model 196 operation over IEEE488 bus. All device-dependent commands are listed. More derailed information and programming examples are listed in the Model 196 instruction Manual.

_~>~_.""i.._.

,,,.,,,

..,,,

,,,"

mecute
X = Execute other device-dependent com(nayds.

Function

,~

,.,,

FD = DC "Oks
Ft FZ F3 F4 F5 F6 F7 = = = = = = = AC "olts Ohms DC cwrent AC current ACV dB ACA dB Offset compensated ohms

:

Range Dcv RO = R1 = R2= R3 = al = ~R5 = R6 = R7 = A"to 3OOmV 3v 30 " 300 v 300 V 300 V 300 v

Acv
AIltO 300mV 3V 30mV 300 " 300 v 300 V 300 V

PC4
Auto 300 pA 3rnA 30mA 3OOmA 3A 3A 3 A

,,

30mA 300mA 3A 3A 3A

~,~,.

I

28

Range (cont.) offset
Ohms RO Rf R2 R3 R4 R5 RS R7 = = = = = = = = Auto 300 a 3 klI 30 kG 300 kfl 3MO 30Mn 300MO AC', dB ACA dB Auto .4"utO A"to Auto AlIt0 Allto Auto A"fo AUtO Au*0 A"tO AlltO Auto A"to A"to A"to Compensated Ohms ALIt0 ~300 a 3 k%I 30 kQ 30 kO 30 kfl 30 kO 30 klI

PO = Filter disabled Pn = Filter on with a value of n Ln = 1 to 99)

29

_.~:.._
%d,Rl-R4l %dlR5-R71 YzdWWW 5%dW-R7J S2 = 5Md S3 = WM';p"'
5'/id

5x* 5'hd 5%d 5%d

5yzd 5Xd 5%d 6%d

5Xd 5%d 5Kd

! Integration period: 3%d=31Spec, 1 5%d and G%d=Line cycle

4Kd=2Sgmsec,

lklgger Mode
TO Tl TZ T3 T4 T5 T6 T7 = = = = = = = = Continuous on I-& One-shot on Taik Continuous on GET One-shot on GET Continuous on X One.shot on X Continuous on External Eigger One-shot an External Trigger

,,.

1

,,.,,,,

~~ .~,

,.,
Reading Mode 80 = Readings from AiD converter BT = Readings from data store

Oata Store Size IO = Continuous data store mode In = Data *tore Of n h= I to 500)

,,

: ,,.

30

Calibration CO = Calibrates first point using value WI Cl = Calibrate second wint using value IV1

Default Conditions LO =~~ Restore factory default conditions. Ll = Store present machine status as default conditions

I

I

Data Format GO = Reading with prefixes. Gl = Reading without prefixes. G2 = Buffer readings with prefixes and buffer locations. G3 = Buffer readings without prefixes and with boffer locations. G4 = Buffer readings with prefixes and without buffer locations. G5 = Buffer readings without prefixes and without buffer locations.

f

*

31

SRQ
MO = Disable Ml = Readingoverflow M2 = Data state full An4 = Data store halt full MS = Reading done Iv?16 = Ready M32 = Error

KO Kl K2 K3

= = = =

Enable EOI and bus hold-off on X Disable EOI. enable bus hold-off on X Enable EOI, disable bus hold-off on X Disable both EOI and bus hold-off on X

.,,,,.,,,,
i"

,,,,,,.,:

.,,,....,

,:,,

Terminator YO Yl Y2 Y3 = = = = CR LF LF CR CR LF

UO Ul U2 "3 U4 U5 U6 Vi' U8

= = = = = = = = =

Send Send Send Send Send Send Send Send Send

machine starus word error conditions Translator word buffer size average reading in buffer lowest reading in buffer highest reading in buffer cwient value input switch status Wronthaarl

32

A0 = Auto/Cal Multiplexer disabled Al = Auto/Cal Multiplexer enabled

Wn = n=delay period in milliseconds, (Omsec to 60000msec) ,.,,.., .,~..

Self-test
JO = Test. ROM, RAM, E'PROM

Hn = Hit front panel button number n

Da = Display up to 10 character message

Internal Filter NO = Internal filter off Nl = fntemal filter on

33

,,
Mode Multiplex Reading Funcrion Data Format Self-test EOI

~~1.

Commfll
Al SO FO GO JO KO MO Nl PO QO I1 R4 s3 T6

j Status

I Enabled~
A/D mnwmer
DC Volts

Internal Filter Digital Filter Data Store Interval Data Store Size Range Rate Trigger

SR(1

Send prefix with reading Clear Enable EOI and bus hold-off on X Disabled

One-shot into buffer Depends on function Depends on function

_

34

BUS ERROR MESSAGES

., Message
NO REMOTE lDDC IDDCO TRIG ERROR SHOW TIME / Description

) instrument programmed with REN
illegal Device-deqendent Commaod Illegal Device-dependent Command Option instrument triggered while it is still processing a previous trigger. Instrument cannot store readings at programmed interval. Readings will be stored as fast as the instrument can W". Programmed display message exceeds 10 characters. Calibration command sent with calibration switch in the disable position. Data storage--l"str"ment cannot store readings at a high speed interval II to 14msect while in an invalid state Storage will not OCC",. Calibration-Calibration command is ignored when instrument is in an invalid state lie., dS functionl.

SIG STRING CAL LOCKED

CONFLICT

35

b:
OCV=DC VOLT,S ACV=AC VOLTS OHM=OWlS oCI=oC AMPS ACI-AC AMPS, dBV=AC dB VOLTS dEI=AC dB AMPS `NONE = DATA STORE EMPTY

SERIAL POLL BYTE (Status Byte)

STATUS WORDS MACHINE I I STATUS ("0)

ERROR STATUS (01)

TRANSLATOR
RESERVED

SOFTWARE

WORDS AND CHARACTERS

WordlCharacterl ALIAS

Description Used at the beginning of a command String to define Translator words. Used to terminate the Translator string (one space must precede it). Used to define wild card Translator words. Values sent with a wild card Translator word select options of the equivalent DDC. Tells the Model 196 to recognize Translator words. Tells the Model 1% to only recognize the Keithley devicedependent commands. Saves Translator words as power up default. Used to list the Translator words. Used to purge Translator words from memorv.

$

NEW OLD

SAVE LIST FORGET

The basic format for defining a Xanslator word is shown in the following example command string, which defines the word SETUP 1 as a substitute for FIROX. "ALIAS SETUP, FlROX ;"

40

WILD CARD ($) TRANSLATOR

WORD5

By using the reserved character 5. the same basic Translator word can be used to select all cations of a command. With this feature. a DDC option number is sent with the lianslator word. The following example shows the format for defining a wild card Translator word: `ALIAS FUNCTION FSX ;"

In the example, the wild card Translatm word FUNCTION replaces the F command. Instrument functions are selected by sending the FUNCTION command with the appropriate option number over the bus.

COMBINING

TRANSLATOR

WORDS

The format for combining Translator words to form a new Translator word is shown in the following example, which combines the words SETUP1 and SETUP2 to form the Translator word SETUP3. "ALIAS SETUP3 NEW SETUP1 NEW SETUP.2 ;"

COMBINING TRANSLATOR IEEE-488 COMMANDS

WORDS WITH KEITHLEY

The format for combining a Translator word with Keithley IEEE commands is shown in the following example, which combines the Translator word SETUP1 with the Keithley command string PlZlX to form the Translator word SETUP4. `ALIAS SETUP4 NEW SETUP1 PlZlX ;))

41

EXECUTING COMMANDS

TRANSLATOR

WORDS AND KEITHLEY

Translator words can only be executed with the instrument in the NEW mode. Sending the reserved word NEW over the bus places the instrument in the NEW mode. The formats for placing the instrument in the NEW made and for executing the Translator word SETUPl, is shown as follows: "NEW" "SETUPI"

The reserved word ALIAS automatically puts the instrument in the NEW mode.

Sending wild card Translator words over the bus is as follows: "NEW" "FUNCTION 1"

With FUNCTION being the wild card Translator word for the F command, the second statement will place the instrument in the ACV function IFl). Notice that a space must be included between the wild card Translator word the option number.

Translator words and Keithley IEEE commands can be et+ ecuted in the same command string. The following example executes the commands of SETUP, and PlZ,X. "SETUP1 PlZlX"

42

When executing a Xanslator word that was formed from the combination of two or more wild card Translator Words, a" option "umber se"? with the word will only apply to the first wild card word in the combined string. For example, assume the Translator word TEST was formed from the combination of the wild card Translqtor words FUNCTION and RANGE as show": "ALIAS TEST NEW FUNCTION NEW RANGE :"

Sending TEST 1 over the bus will place the instrument in ACV (Fll. RANGE will default to 0 kwtorangel.

43

Translator Error Messages

Display
"^^^^__
C"..l_.._.l__ C___I_

c_-_

^._/__

PROGRAMS
The following programs are designed to be a simple aid to the user. They are not intended to suit specific needs. Detailed programming information can be found in the manual.

The fint program demonstrates how to store and read the contents of the buffer (data store) using the HP-85 computer. One hundred readings stored in the buffer will be displayed,

The rest of the programs display one reading at the output of the controller. Each program provides an ASCII string variable outp"t of the form: NDC" f O.OOOOOOE + 0 CR LF

The note et the end of some programs indicates modifications to provide a numeric variable in exponential form: *O.o00000E + 0

45

DATA STORE OPERATION USING HP-85
The following program will enable data store (buffer) operation and obtain and display 100 readings on the computer CRT

DIRECTIONS 1. Using front panel Program 31, set the primary address on the Model 196 to 7. 2. Connect the Model 196tothe HP82937A IEEEinterface. 3. Enter the following program using the END LINE key after each line is typed. 4. Press the HP-85 run key. The program will enable the~buffer. turn on the buffer ~"tput, and request and display 100 readings.

PROGRAM

FJ.MMENTs

,.,

Send remote enable Set trigger mode, and &rage parameters. start storage process. Set read mode to data

set CO"rlter for 100 loops Get a reading. Display reading. Loop back for next reading.

store

46

IBM PC or XT
(Keithley Model 8573A Interface)
The following program sends a command string to the Model 196 from an IBM PC or XT computer and displays the instrument reading string an the CRT The computer must be equipped with the Keithley Model 957% IEEE-486 interface and the DOS 2.00 operating system. Model S573A software must be installed and configured as described in the instruction manual.

DIRECTIONS 1. Using the front panel program feature, set the primary address of the Model 196 to 7.

2 With the power off, connect the Model 196 to the
IEEE-488 interface installed in the IBM computer. 3. Type in BASICA on the computer keyboard to get into the IBM interpretive BASIC language 4. Place the interface software disk in the default drive, type 1OAD"DECC: and press the return key. 5. Add the lines below to line l-6 which are now in memory. Modify the address in lines 1 and 2, as described in the Model B573A Instruction Manual. 6. Run the program and type in the desired command string. For example, to place the instrument in the ACV function and autorange. type in FlROX and press the return key. 7. The instrument reading string will then appear on the display. For example. the display might show NDCV+O.OOWlOOE+O. 9. To exit the~program. type in EXIT at the command prompt and press the return key.

47

PROGRAM

COMMENTS

Set REN

true.

Prompt for command. See if program is to be halted. Check for null input. Address 196 to listen, send

srnng.
Define reading input buffer.

48

APPLE II
(APPLE II IEEE-488 Interface)
The following program sends a command string to the Model 196 from an Apple II computer and displays the instrument reading string on the computer CRT,

The compufer must be equipped with the Apple II IEEE-488 interface installed in slot 3.

DIRECTIONS 1. Using the front panel program feature, set the primary address of the Model 196 to 7. 2. With the power off. connect the Model 196 to the IEEE-488 interface installed in the Apple II computer. 3. Enter the lines in the program below. using the RETURN key after each line 4. Run the program and type in the desired command string at the command prompt. For example, to place the instrument in ACV and autorange. type in FIROX and press the return key. 5. The instrument reading string will then appear on the CRT. A typical display is: NDCV+O.OOOOOOE+O.

49

PROGRAM

COMMENTS
Terminator

-.-

Prompt for and enter command string. Set output to IEEE-488 bus. Define input fmm IEEE-488 b"S. Enable remote. Addreis 196 to listen, send string. Line feed on. Address 196 to talk, input data. Untalk the 196. Define ourput to CRT. Define input from keyboard. Display reading string. _

1.If conversion to numedc variable is required, make the following changes:

2. The Apple II terminates on commas in the data string. To avoid problems. program the Model 196 for the BOG0 or BOG1 data format to eliminate commas.

50

HP-85
The following program sends a command string to the Model 196 from an HP-65 computer and displays the instrument reading on the computer CRT;The computer mwt be equipped with the HP82937 GPIB interface and an l/O ROM.

DIRECTIONS 1. Using the front panel program feature, set the primary address of the Model 1% to 7. 2. With the power off, connect the Model 196 to the HP62937A GPIB interface installed in the HP-65 computer. 3. Enter the lines in the program below. using the END LINE key after each line. 4. Press the HP-85 RUN key and type in the desired command string at the command prompt. For example, to ~place the insrrumenr in AC" and autorange, type in FlROX and press the END LINE key. 6. The instrument reading string will then appear on the CRT. A typical display is: NDCV+O.OOOOOOE+0.

51

PROGRAM

COMMENTS

`.~

NOTE: for conversion to numeric variable, change line 70 as follows:

52

HP-9816
The

following program sends a command string to the Model 196 from a HP-9816 computer and displays the instrument readina strinp on the comwter CRT. The computer must be &p&with the HP62937 GPIB interface and BASIC 2.0.

DIRECTIONS 1. Using the front panel program feature, set the primary address of the Model 196 to 7. 2. With the power off, connect the Model 196 to the HP82937A GPIB interface installed in the 9816 computer. 3. Type EDIT and press the EXEC key. 4. Enter the lines in the program below, using the ENTER key after each line. 5. Press the 9816 RUN key and type in the desired command string at the command prompt. For example, to place the instrument in ACV and autqrange, type in FlROX and press the ENTER key. 6. The instrument reading string will then appear on the CRT. A typical display is NDCV+O.OOOOOOE+O.

53

PROGRAM

CWMEWS

,, ..,,.,,,.. .,,

54

HP-9825A
Use the following program to send a command string to the Model 196 from a HP-9825A and display the in*trument reading string on the computer printer. The cornpurer must be equipped with theHP98034A GP18 interface and a 9872A extended I/O ROM.

DIRECTIONS 1. From the front panel, set rhe primary address of the Model 196 to 7. 2.With the power off, connect the Model 196 to the 99034A HPIB interface installed in the 9825A. 3.Enter the lines in the program below, using the STORE key after each line. Line numbers are automatically assigned by the 9825A. 4.Press the 9925A RUN key and type in the desired command string at the command prompt. For example, to place the instrument in AC%!and autorange, type in FIROX and press the CONT key. 5.The instrument reading string will then appear on the computer print out. A typical display is: NDCV+O.OOOOOOE+O.

55

PROGRAM

COf+ZNTS

,,,

6

PRTIM

7 GTO3

string. Address 196 to listen, send string. Address 196 to talk, input data. Print data string on printer. Repeat.

56

DEC

LSI 11

The following program sends a command string *o the Model 196 from a DEC LSI 11 minicomputer and displays the instrument reading string on the DEC CRT terminal. The LSI 11 mwt be configured with 16K words orRAM and an IBV 11 IEEE-488 interface. The software must be configured with the IB software as well as FORTRAN and the RT 11 operating system.

DIRECTIONS 1. Using the front panel program feature, set the primary address of the Model 196 to 7. 2.With the power off, connect the Model 196 to the IBV 11 IEEE-488 interface cable. 3.Enter the program below. using the editor under RT 11 and the name IEEEFOR. 4.Compile using the FORTRAN FORTRAN IEEE. compiler as follows:

S.Link with the system and IB libraries as fallows: LINK IEEE,IBLIB. &Type RUN IEEE and press the RETURN key. 7.The display will read "ENTER ADDRESS'! 8.Type in 7 and press the RETURN key. S.The display will read "TEST SETUP': lO.Twe in the desired command strina and mess the RETURN key. For example, to program the i&trument for ACV and autorange, type in FlROX and press RETURN. 11. The instrument data string will appear on the computer display. A typical display is: NDCV+O.OOOOOO+E.

57

Prompt for command string. Program instrument. Address 196 to listen. send string. Get data from

Untalk the 196, Repeat.

58

PET/CBM 2001
The following program sends command strings to the Model 196 from a PETKBM 2001 computer and displays the in. strument reading string on the computer CRT. As the PEVCEM computer has a standard IEEE-486 interface, no additional equipment is necessary.

DIRECTIONS 1. Using the from panel program feature, set the primary address of the Model 196 to 7. 2. With the power off. connect PET,CBM IEEE-488 interface. the Model 196 to the

3. Enter the lines of tha program below, using theRETURN key after each line is typed. 4. Type RUN and ~pressthe RETURN key. Type in the desired command string at the command prompt. For example, to place the instrument in ACV and autorange, type in FIROX and press the RETURN key. 6. The instrument reading string will then appear on the CRT. A typical display is: NDCV+O.O00000+EO.

59

PROGRAM

COMMENTS

.,

20 INPU~"CONEl*NDSTRING' iBI ~BPEI~T#I,BI; 43 IHPIIT#1,RB 50 IF ST=2 MEN 413 60 PRINTCII 78 GOT0 29

Open file 1. primary address 7. 7 Prompt for input corn"and string. Address 196 to listen. Send string. Address 196 to tak, input data. If bus timeout, input again. Display reading string. ,,RePeat.~ ,,,

NOTES: 1. If conversion to numeric variable is required, modify the

2. The PET terminates on commas in the data string. To avoid problems, program the Model 196 for the BOG0 or BOG1 data format TO eliminate commas.

60