Keithley 1992, 199 User Manual

INTRODUCTION
This quick reference guide contains information on front panel operation and IEEE-488 programming of the Model
199 SystemoMM as well as the optional Model 1992 Scan­ner. Also included are programming examples for various IEEE-488 co”mllers.
01998. Keith& Instruments, Inc.
Cleveland, Ohio, U.S.A.
CONTENTS
SAFETY PRECAUTIONS. CONTROL SUMMARY. DISPLAY MESSAGES. TRIGGERING. . DATA STORE. DMM SETUP .,.. SCANNER OPERATION.. TYPICAL READING TIMES
DEVICE-DEPENDENT COMF SCANNER PROGRAMMING DATA FORMAT . STATUS WORD FORMATS. SRO MASK AND STATUS E TRANSLATOR CONTROLLER PROGRAMS
...........
...........
...........
...........
.._........
JIANDS.....
COMMANDS.
. . . . .
,..... _ . .
IYTE FORMAT.
,*.___ .,....
. .
. .
. . . . ., . .
. ~
. _ - . - .
. .,, ,Y,?
. .
. .
..,._..,
. . . i . .- _
. . . . j..
_
1~ 2 5
6 7~
9
19. 15
16
22
24
25
2.9 29 31
SAFETY PRECAUTIONS
1. Beforeoperation. ground the instrument through a proper­ly earth grounded power receptacle.
Z&fore servicing. disconnect the instrument from the
power line and all other equipment, and consult the Model
199 Instruction MamaI.
3. Do not touch any terminals while the instrument is turned on or connected to any other test equipment.
4.Do not exceed the maximum input levels es stated in the specifications for the instrument bee the Model 199 In­struction Manuall.
5. Use the special precautions listed in paragraph 2.6 of the Model 199 Instruction Manual when testing high-energy circuits.
CONTROL SUMMARY
TRIG SETUP
SHIFT/TRIG SETUP to enter menu. NEXT to scroll to next menu option
CONTINUOUS: Reading, scanning. and storing mtes controlled bY INTERVAL.
Trigger
r
‘:’
ONE SHOT.
DELAY
INTERVAL “C
DMM SETUP
SHIFTDMM SETUP to enter menu. NEXT to scroll to next menu option. REV
MUX
IEEE
Osec to 999.999sec
SELECT OFF: Interval 2175msec. depending on other programmed parameters.
c
SELECT ON: User-programmed interval
mnsec to 999.999sec).
Displays current software revision level.
MUX OFF: Turns off eutocal routines for
faster reading rates.
r
AIV
MUX ON: Recommended for best
L
*ccur*cy.
Use nuneric keeys to program IEEE488
primary address (0.30).
2
FRE(1
A/V
L FREQ=GOHZ. Line frequency.
SAVE YES: saves present
r FREO=BOHZ. Line frequency.
co”fig”ration.
SAVE
A/V
r L SAVE NO
LEDS ON: Test front panel LEDs and annunciator*.
LEDS
A/I
r
L -LEDS OFFS
DEBUG YES: Enter troubleshooting mode.
DEBUG
A/V
r
L DEBUG NO
RESET YES: Returns Ynit to factory default configuration.
RESET
L’
Lo RESET NO
SCAN SETUP
SHIFT/SCAN SETUP to enter menu. NEXT to scroll to next menu option.
POLE
2 POLE
.:.
L 4POLE
3
MANUAL: Allows channel to be manua,,y closed with SCANNER key.
Mode
RATIO
l Ratio operates only on a fixed ange.
* Range changes will restart et channel 1. * In MANUAL, et least one reading must be taken on chan-
nel 1 before attempting to display ratio on channels 2-S
r
A/V-STEP: Increments one channel per in-
L terval p’ trigger.
SCAN. Scans one set of channels per interval or trigger fminimum time abet­ween channels).
ON: Channels 2 through 8 referenced
to channel 1.
r
A/V
I- OFF
4
DISPLAY MESSAGES
Message
OVERFL
NO RANGE NO FUNC SHIFT AC ONLY TRIGGER
OVERRUN
INTERVAL
OVERRUN UNCAL NO DATA
NO SCANNER
CAL LOCKED
CHAN 4 MAX CHAN 8 MAX Channel 8 limit IZ-pole1 CONFLICT Invalid state when calibrating. NO REMOTE* Unit not in remote when program-
IDDC” IDDCO’
BIG STRING’ Siring longer than 10 characters
TRANSERR’ Translator error.
‘IEEE-488 bus programming only.
/ Description I
Overrange Pressing range button while in dB Invalid shifted function entry. Shift mode in effect. Selecting dB with unit not in AC. Unit triggered before reading is done. Interval too short for present con­figuration. EEPROM failure uoon Dower UD.­No data in data store when recalling. Pressing SCANNER or SCAN SETUP with no scanner. Attempting calibration with calibra­tion locked. Channel 4 limit (Cpole)
ming over bus. Illegal device-dependent command. Illegal device-dependent command cotion.
with D command.
TRIGGERING
1. Press SHIFT TRIG SETUP then uprange or downrange to select CONTINUOUS trigger made.
2. Press NEXT and then program desired trigger delay (delay affects only first reading in continuowJ.
3. ~Press NEXT and then use uprangeldownrange for SELECT OFF (175msecI or user-progammed (SELECT ON). Key in interval fl!Smsec-999.999sec) if selected, then press
NEXT.
4. Unit displays readings at programmed intervals. “INTER­VAL OVERRUN” message indicates programmed inter­val is too short for present instrument configuration (with data store or scanner only,.
One Shot
1. Press SHIFT TRIG SETUP~then uprange or downrange to select ONE SHOT trigger mode
2. Press NEXT, and then program desired trigger delay (delay affects each reading in one shot).
3. Press NEXT to return to normal display.
4. Press TRIGGER or apply pulse to TRIGGER INPUT to in­itiate reading. One trigger per reading is required in one shot
6
DATA STORE
Continuous Data Storage
1. Program the continuous trigger mode and desired interwl
using TRIG SETUP. 2,Press SHIFT STORE to enter data store.. 3,Program the number of readings to store Isize) in the
range of 1 to 500. or select a size of 000 for wrap-amund
data store operation.
4.Press NEXT to return to normal display. S.Press TRJGGER to initiate data storage. RCL will blink
when all readings have been stored.
6. Press any function button to turn off data store.
One-shot Data Storage
1. Program the one-shot trigger mode using TRIG SETUP. 2,Press SHJFT STORE to enter data store. S.Pmgram the number of readings (size1 in the range of 1
to 500. or select a size of 000 for wrawxound storage.
4.~Press NEXT to return to normal display.
5.Press TRIGGER to trigger reading and store it One trig-
ger per reading is required in the one-shot trigger mode
G.RCL will flash when all readings have been stored.
7.Press a function key to cancel data storage.
7
Recalling Data
1. Press SHIFT RECALL to enter the recall mode The unit will display the last stored reading number.
2.Press NEXT to display the reading.
3. Use uprange or downrange to scroll through readings. The scroll rate becomes more rapid after holding button in.
4.Press RECALL to display reading number, then press NEXT to return to reading.
5.Press NEXT to exit recall.
Press SHIFT-DMM SETUP to *ccess modes below. Use
NEXT to scroll through setup menu.
REV--Briefly displays current software revision level.
MUX ON/OFF-Use uprange or downrange to select on/off. Operating unit in MUX OFF turns off autocal routines, which speeds up reading rate and minimizes noise spikes at in-
put. Accuracy is reduced in MUX OFF.
IEEE-Use numeric keys to program IEEE-488 primary ad­dress JO-30). Use SAVE to permanently change address.
FREQ=50/60HZ-Use uprange or downrange to select
operating frequency. Selected frequency must agree with power line frequency for optimum noise performance.
SAVE YES/NO-Select operating modes then SAVE YES to store present instwment configuration. Unit will assume the saved configuration upon power up, or after receiving
IEEE-488 DCL or SDC commands.
LEDS ON/OFF-Use uprange or downrange then press
NEXT to ten front panel LEDS.
DEBUG ON/OFF-Use uprange or downrange then press
NEXT to enter diagnostic program. Press any key except TRIGGER to exit program.
RESET YES/NO-Select RESET YES with uprange or downrange to return the unit to factory default conditions.
Use SAVE after RESET to restore power up default to fac­tory default conditions.
9
SCANNER OPERATION
Manual Channel Control
1. Press SHIFT SCAN SETUP, then program 2Wpole mode with uprange or downrange.
2.Press NEXT, then select MANUAL mode with uprange or downrange
3.Press NEXT. then select ratio onloff with uprange or downrange.
4.Press NEXT to return to normal display.
&Press SCANNER followed by the number of the channel
to close 11-8). The unit will display the closed channel
number in the right-most digit.
6. Press SCANNER 0 to open any closed channel and return
to normal operation.
Step Mode
1. Press SHIFT SCAN SETUP, and program 2/4 pole mode.
2.Press NEXT, then use uprange/downrange to select STEP mode.
3.Press NEXT, and select ratio on or off as desired,
4.Press NEXT to return to normal operation.
S.For interval scanning, use TRIG SETUP to select con-
tinuous trigger mode, delay, and to program the desired interval between channels.
&For triggered scanning, use TRIG SETUP to select one-
shot trigger mode and delay.
7.Press SCANNER, then program the desired channel limit fmaximum limit = 4 for 4pole mode).
8.lf interval scanning was selected. the unit will begin scanning one channel per interval. The closed channel will appear in the display.
10
!Xlf triggered scanning was selected, press TRIGGER fo
start the scan. One trigger per channel will be required.
lO.To exit the scan mode, press SCANNER 0.
scan Mode
1. Press SHIFT SCAN SETUP, and program 2/4pole mode. Z.Press NEXT. then use uprangeldownrange to select
SCAN mode.
3.Press NEXT, and select ratio on or off as desired.
4.Press NEXT to return to normal aperation. S.&x interval scanning, use TRIG SETUP to select con-
tinuous trigger mode, delay, and to program the desired interval between setsof channels.
&For trigge& scanning, use TRIG SETUP to select one-
shot trigger mode and delay.
7.Press SCANNER, then program the desired channel limit haximum limit = 4 for 4-p& mode).
S.lf interval scanning was selected, the unit will begin
scanning one set of channels per interval. The closed channel will appear in the right-most digit of the display.
S.lf triggered scanning was selected, press TRIGGER to
start the scan. One triggerper set of channels will be required.
lO.Ta exit the scan mode, press SCANNER 0.
Interval Ema store Scanning
1. Press SHIFT TRIG SETUP, and select CONTINUOUS trig­ger mode.
2.Press NEXT, and program desired trigger delay lOmsec-999.999sec,.
11
3.Press NEXT and choose SELECT OFF (default 176msecI or SELECT ON (user programmed interval,
15msec-999.999secl. For SELECT ON, key in desired
interval, then press NEXT.
4.Press SHIFT SCAN SETUP, and select the 2Kpole mode.
5Press NEXT, and then use uprange or downrange TO
select the STEP or SCAN mode, as required.
6.Press NEXT, and program the ratio mode.
7.Press NEXT to return tc normal display.
&Press SHIFT STORE, then program the data store size.
9.Press NEXT to return to normal display.
tO.Press Trigger tc initiate scanning and storage on chan-
nel 1 simultaneously.
One-shot Rigger Data Store Scanning
1. Press SHIFT TRIG SETUP. and select ONE SHOT trig-
ger mode.
2,Press NEXT, and program desired trigger delay
(Omsec-999.999sec).
3.Press NEXT to return to normal display.
4.press SHIFT SCAN SETUP, and select the Z/4 pole mode S.Press NEXT, and then use uprange or downrange to
select the STEP or SCAN mode. as required.
&Press NEXT, and prcgram the ratio mode
7.Press NEXT tc retur? to normal display.
9.Press SHIFT STORE, then program the dam store size S.Press NEXT to return to normal display.
10. Ress TRIGGER to initiate scanning and storage on chan­nel 1 simultaneously. One trigger per channel is required
in the STEP mode, and one trigger per set of channels is required in the SCAN mode.
12
Determining Scannlng Interval
l Scanning without selecting interval
-Program ,NTER”AL SELECT to OFF.
-Interval is s175msec. depending on other selected parameters.
-INTERVAL OVERRUN message will not be displayed.
l Minimum Interval Time Calculation
--Interval time is the sum of:
1. (conversions per channel1 x Iconversion time1
2. Programmed DELAY time per channel
3. Break-before-make time l17msecl
4. Auto range time (if usedl
-In STEP mode, calculated time above is the INTERVAL
setting.
-In SCAN mode, (sum of l-41 x (number channels scanned) is the minimum interval setting.
l When using the scanner with STEP or SCAN switching,
the DMM will take readings on each channel as if it were in the one-shot mode whether programmed to CON­TINUOUS or ONE SHOT:
-Conversions are automatically synchronized to chan-
nel closures. Channels will not close in the middle of conversions.
-Any programmed DELAY is inserted between channel closure and start of conversion (with scanner disabl­ed, DELAY is inserted between trigger and start of conversionI.
13
-Readings on each channel consist of multiple cower­*ions to fill the Running Average User Filter (30 con­versions], or Running Average Internal Filter when ac­tive 15%d only, varies by range and function; see me”“al,.
l Scanner switching is break-before-make. The time re-
quired to change channels is approximately li’msec, which~ includes break-before-make relay time settling time
* When using the scanner with ACV or ACA, a DELAYtime
must be programmed to acccmcdate AC converter set­tling time (typically >lsecl. See Model 199 specifications.
l The scanner operates with the set of instrument
parameters programmed prior to start of scanning. Chang-
ing any of these parameters, range function, filter, etc. during scanning will restart the scanner at channel 1. Use autorange if range changes are required while scanning.
Example of Fast Scanning
1. Select 3” DC range and function, 4%.digit resolution, FLTR off.
2. Program ONE SHOT trigger.
3. Select SCAN mode.
4. Select SCANNER “8” to set limit to 8. S.&e TRIGGER to initiate a scan of the set of eight
channels.
14
TYPICAL READING TIMES
Typical 5% Digit Conversion Times
MUX ON, DCV, ACV, ACA: 1lOmsec (133msecl MUX OFF: 2Smsec 133msecl
MUX ON, OHMS, 3OOkU range and lower: 1lOmsec L133msecl MUX OFF: 63msec l7Smsecl
(Times in parenthesis are for 50Hz operation1
vpical Autoranging Times
DCV, DCA ACV, ACA OHMS l3OOkQ range and lower1
(Times shown are to correctrange and do not include ccn-
version times for final reading.)
350msec
1.4sec 500msec
15
DEVICE-DEPENDENT COMMANDS
DC current AC ~wrent
ange
DCV
RO Auto AM0 Rl 3OOilW 300mV 30mA R2 3” 3v 3A 3A R3 3ov 3ov 3A R4 3oov 3oov R5 3oov R6 3oov 3oov 3A 3A R7 3ODV
ACV DCA ACA
AM0 AlltO
3A 3A
3oov 3A 3A
3oov 3A 3A
30mA
3A~
16
R4 R5 R6 R7
Zem 20
21 22
AUt0
3oOn
3kt-l
3OkO
300k0
3MO
30Mn
300Mtl
AUt0 Auto A”*0 Auto A”to A”to A”,0 A”,0 Au*0 Au*0 AlltO Au*0 ALli0 Auto A”,.,
AU0
PO
P,
P2
Internal and front panel filter disabled Internal filter enabled Front panel filter enabled
Rate I
so
Sl
4%.digit resolution, 2.59msec integration period 5%digit resolution, line cycle integration (16.67msec. 60Hz; 20msec. 50i-k)
17
Tl
T2 T3 T4 T5 T6 T7
Data store size IO
In
ValUe V*n”.“nn” or
V+n.nnnnnnE+n
One-shot on Talk Continuous on %fT One-shot 0” GET Continuous on x One-shot on X Continuous on External Trigger Oneshot on External Trigger
Individual readings from data
Wrap around data store mode
Data S*NB of n In=1 to 5001
Default interval, 175msec ISELECT OFF) I
n=interval in milliseconds
(15msec to 999999msec)
Calibration value. zero value
I
16
Default Conditions
LO
Ll
G4
G7
Calibrate first point using value
Calibrate third point using value
Restore factory default condi­tions and save (LlI Save present machine states as default conditions
without prefix. Reading and channel with orefix. &ding and channel without prefix. Reading, buffer location, and channel with prefix Reading, buffer location, and channel without prefix
I
19
MO Ml Reading overflow M2 M4 Data store half full M8 M16 M32
EOI snd BUS Hold-off KO
Kl
K2
K3
status
uo
“1 U2 u3 “4 “5
Disable
Data store full
Reading done Ready
Error
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
Send machine status word Send error conditions Send Translator word list Send buffer sim Send current value of ‘V” Send input switch status
(front/rear)
20
Multiplex A0
Al
DdiiY Wn
Self-test JO
Hit Button H” Hit front panel button number n
Auto/Cal multiplex disabled Auto/Cal multiplex enabled
n=delay period in milliseconds,
lornsec to 999999msec)
Test, ROM, RAM, EzPROM
Display up to 10 character
message. a=charac*er
Cancel displav mode
.
21
SCANNER PROGRAMMING
COMMANDS
Scanner Setup
MANUAL
NO All channels open
Nl 1 1 N2 2 2 N3 3 3 N4 4 4 N5 N6 CHAN 4 MAX ERROR N7 7 CHAN 4 MAX ERROR N8 8 CHAN 4 MAX ERROR N9 CHAN 8 MAX CHAN 4 MAX ERROR
NlO Stop scan, all channels open
N11 1 1
N12 2 2 N13 3 3
N14 4 N15 5 CHAN 4 :AX ERROR N16 6 CHAN 4 MAX ERROR N17
Nl6 CHAN 4 MAX ERROR
N19 CHAN 8 MAX CHAN 4 MAX ERROR
N20
N21 1 1 N22 2 2 N23 3 3
2.pole 4.pole
CHAN 4 MAX ERROR
ERROR STEP
2-W* Limit 4-Pole Limit
CHAN 4 MAX ERROR
ERROR SCAN Stop scan. all channels open
2-Pole Limit 4Pole Limit
22
N25 CHAN 4 MAX ERROR N26 CHAN 4 MAX ERROR N27 7 CHAN 4 MAX ERROR N28 6 CHAN 4 MAX ERROR
Scan Interval 00 Default 175msec interval ISELECT OFF1
Qn n=in*erval in m*ec (15r999999mser.l
Trigger Delay’ Wn n = delay in msec l0~999999msec)
‘Delay to be used as channel settling time
23
DATA FORMAT
Figure 1. Data Format
STATUS WORD FORMATS
Figure 2. uo status word Format
U2-U5 Status Words
27
SRQ MASK AND
STATUS BYTE FORMAT
Figure 4. SRQ and Status Byte Format
28
TRANSLATOR
Translator Words and Characters
Tianslator word or Character
Descrlptlon
ALIAS
$ NEW OLD SAVE
LIST FORGET
t
Defines Translator words. Terminates definition string. Wildcard definition character. Enables Ranslator. Disables Translator. Saves Translator words as power­up default. Returns list of Translator words. Purges Translator words from memory
29
Translator Errors
Display Message
TRANSERR 9 TRANSERR14
TRANSERR15
TRANSERRIG
TRANSERR17 TRANSERR18 TRANSERRIS TRANSERR20 TRANSERRZl TRANSERR23
Description
I
No more Translatar memory’ left. llse of more than one ALIAS in definition. Translator word exceeds 31 characters.
Use of X in a Translator word. Defined word already exits.
$ character used in definition. ; character sent by itself. LIST used in definition.
FORGET used in definition
SAVE used in definition.
30
CONTROLLER PROGRAMS
The following programs have been supplied as a simple aid to the user and are not intended to suit specific needs. Each program allows you to rend a device-dependent command string to the instrument and obtain and display an instru­ment reading string.
31
IBM PC OR AT
(National Instruments GPIB-PC Interface)
The following program sends a command string from an
IBM PC or AT cdmpuw and displays the instrument reading string on the ccmputer CRT. The computer must be equip­ped with the National lnstrumenrs GPIB-PC IEEE-488 in-
terface and the DOS 2.0 or 3.0 operating system. The GPIS-
PC software must be installed and configured as describ­ed in the instruction manual.
DIRECTIONS
1. From the front~panel, set the primary address of the Model 199 to 26.
2.With the power off, connect the Model 199 to the IEEE-486 interface installed in the IBM computer.
3.Type in BASICA on the computer keyboard to get into the IBM interpretive 8ASIC language.
4.~Place the interface software disk in the default drive, type LOAD-DEW’, and press *he return key.
5.Add the lines below to the declaration file; also modify the address in lines 1 and 2, as described in the GPl8­PC instruction manual.
6.Run the program and type in the desired command string. For example, to place the instrument in the ACV func­tion and autorange, type in FlROX and press the return key.
7.The instrument reading string will then appear on the computer screen. NAC”+0.000000E+O.
A typical example- is:
32
PROGRAM
COMMENTS
Clear screen
Find board descriptor.
Find 199 descriptor.
Set prima,y address to
26. Set REN true.
Prompt for command string. Add <CR> <LF> to command string. Send command string to 199. Dimension reading input string. Get reading string from
199. Display reading string on CRT.
2. In order for Translator to function properly, a <CR> <LF->seq”ence must be added to the end of any
Translator exewtion string sent to the instrument. See line 65 above for an example
33
IBM PC OR AT
CEC PC-488 Interface
The following program sends a command string from an IBM PC or AT computer and displays the instrument reading string on the computer CRT. The computer must be equip­ped with the Capitol Equipment Corp. PC-468 IEEE-469 in­terface. The interface card must be set to a memory ad­dress of C400,. es described in the PC-466 Instruction M*lXlal.
DIRECTIONS
1. From the front panel, set the primary address of the Model 199 to 26.
2.With~ the power off, connect the Model 199 to the IEEE-466 interface installed in the IBM computer.
3.Tum on the computer, then boot up BASICA.
4.Type in the program lines shown below. using the return key after each line.
5. Run the program and type in the desired command string at the command stringprompt. For erample to place the in?.trument in the ACV function and autorange, type in FlROX and press the rewrn key.
6.The instrument reading string will then appear on the comp”*er screen. NACV+0.000000E+O.
A typical example is:
34
PROGRAM
1. To convert from a string to a numeric variable, modify the program as follows:
188 R=“RL<“IDb<R*r5,12> >
185PRlHTR
2. For use with a card memory~address other than C400,
modify the DEFY SEG statement in line 10 accordingly. For example, with a card memory address of COOO, line
10 should be modified as follows:
19DEFSEC=&HCOBB
3. In order for Translator to function~properly, a <CR> se-
quence should be added to the end of any string sent
to the Model 19% See the example is line 66 above.
COMMENTS
Set segment address to C400 hex. Define call offset*.
Define interface para­meters. Set 199 address to 26.
Initialize PC-466.
Prompt for command string.
Add <CR> to string.
Send command string to
199. Dimension reading input
string.
Get reading string from
199.
35
HP SERIES 200 and 300
The following program sends a command string to the Model 199 from a Hewlett-Packard Series 200 or 300 corn­puter and displays the instrument reading Wing on the cam­puter CRT. The computer must be equipped with the HP16 Interface and BASIC 2.0. 3.0, or 4.0.
1. Fmm the front panel, set the primary address of the Model 199 to 26.
2.Wth the power off, connect the Model 199 to the HPIB interface installed in the computer.
3.Enter the computer EDIT mode. 4,Enter the lines in the program below, using the ENTER
key after each line
6. Run the pmgram. and type in the desired command string at the command prompt. For example. to place the instru­mentin ACV and autorange. type in FlROX and press the ENTER key.
6.The instwment reading string will then appear on the CRT A typical display is: NACV+0.000OOOE+ 0.
36
PROGRAM COMMENT9
Place 199 in remote.
Prompt for and input command. Address 199 to listen,
send string. Address 199 to talk, input reading.
Display reading string. Repeat.
NOTE: For ccnversion fo a numeric variable, change the pro­gram as follows:
37
APPLE II
APPLE II IEEE-488 Interface
The following program sends a command string to the
Model 199 from an Apple II computer and displays the in-
strument reading string on the computer CRT.
The computer must be equipped with the Apple II IEEE-488 Interface installed in slot 3.
DJRECTIONS
1. Fmm the front panel, set the~primav address of the Model 199 to 26.
2.With the power off, connect the Model 199 to the
IEEE-498 interface installed in the Apple ll computer.
3. Enter the lines in the program below. using the RETURN key after each line.
4. Run the prcgmm and type in the desired command string at the command prompt. For example, to place the ikstru­men* 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: NACV+0.00000E+0.
38
PRDGRPiM COMMENTS
18Z*=CHR*~26> Terminator. 29 IHPUT ‘COMMAHD STRING
?“;!a command string.
58 ma5 Set o”tput to IEEE-488
1. If converSion to numeric variable is required, make the following changes:
2. The Apple II terminates on commas in the data string. To avoid ~problems, program the Model 199 for the BOG0 or BOG1 data format to eliminate commas.
Prompt for and enter
bus.
Define input from
IEEE-488 bus. Enable remote Address 199 to listen, send string. Line feed on. Address 199 to talk, input data. Untalk the 199. Define output to CRT. Define input from keyboard. Display reading string. Repeat.
39
HP MODEL 85
The following program sends a command string to the Model 199 from an HP-85 computer and displays the in­strument reading string an the computer CRT. The cam­pufer must be equipped with the HP82937 GPIB Interface and an 110 ROM.
DIRECTIONS
1. Fmm the fmnt panel, set the primary address of the Model 199 to 26.
2.With the power off, connect the Model 199 to the HP82937A GPIB interface installed in the HP-85
computer.
3. Enter the lines in the program below, using the END LlNE key after each line.
4.Press the HP-85 RUN key and type in the desired com-
mand string et the command prompt. For example, to place the instrument in ACV and autorange, type in FlROX and press the END LINE key.
5.The instrument reading string will then appear on the CRT.
A typical dispJey is: NACV+O.OOOOOOE CO.
40
PROGRAM COMMENTS
Dimension strings. Place 199 in remote.
Prompt for command.
Input command string. Address 199 to listen. send string. Address 199 tc~ talk, input reading. Display reading string.
Repeat
NOTE: For conversion to numeric variable, change line 70
as follows:
..,
41
HP MODEL 9825A
Use the following program to send a command string to the Model 199 from a Hewlett-Packard Model 9825A and display the instrument reading string an the computer printer. The computer must be equipped with the HPg8034A HPIB interface and a 9872A extended I/O ROM.
DIRECTIONS
1. From the front~panel. set the primary address of the Model 199 to 26.
2.Wth the power off, connect the Model 199 to the 98034A HPlB interface installed in the 9825A.
3.Enter the lines in the .p~mgram below, using the STORE key after each line Line numbers are automaticaliy assign­ed by the 9825A.
4.Press the 9825A RUN key and type in the desired com­mand string at the command prompt. For example, to place the instrument in ACV and autorange, type in FlROX and press the CONT key.
5.The instrument reading string will then appear on the computer ~p~rint out. A typjcal display is: NAC”+O.OOOOOOE+O.
42
PROGRAM
COMMENTS
Dimension data strings. Define 199 at address 26. Place 199 in remote.
Prompt for command
string. Address 199 to listen,
Address
data.
Print data string on printer. Repeat.
NOTE: For conversion to numeric variable. modify the pro-
gram as follows:
43
159 to talk, input
DEC LSI 11
The following program sends a command string to the Model 199 from a DEC LSI 11 minicomputer and displays the instrument reading string on the DEC CRT terminal. The LSI 11 must be configured with 16K words of RAM and an IBV 11 IEEE-488 interface The software must be configured with the ,B software as well 8s FORTRAN and the RT 11 operating system.
DIRECTIONS
1. From the front panel program feature, set the primary
address of the Model 199 to 26.
2.With the power off, connect the Mode, 199 to the IBV 11 IEEE-466 interface cable.
3. Enter the program below, using the editor under RT 11
and the name IEEE.FOR.
4. Compile using the FORTRAN compiler as follows: FOR-
TRAN IEEE.
6. Link with the system and IB libraries as follows: LINK ,EEE,IBLIB.
B.Type~~RUN ,EEE and press the RETURN key.
7.The display will read “ENTER ADDRESS”. B.Type in 26 and press the RETURN key. g.The display will read “TEST SETUP”.
IO. Type in the desired command string and press the
RETURN key For example, to program the instrument
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: NACV+O.OOOOOOE+O.
44
PROGRAM
COMMENTS
Turn off I9 errors.
Allow 5 error 15’s. Allow 1 second bus timeout. Set line feed as terminator. Tim on remote
input primary address.
Prompt for command
string. Program instrument.
Address 199 to listen,
send string. Get data from instrument
Untalk the 199.
Raw%.
45
Loading...