Programming Example - Keithley 2182 User Manual

Nanovoltmeter
Hide thumbs Also See for 2182:
Table of Contents

Advertisement

Reference:
A.
ABORt — With continuous initiation disabled, the 2182 goes into the idle state. With
continuous initiation enabled, operation continues at the top of the trigger model.
B.
INITiate — Whenever the instrument is operating within the trigger model, sending this
command causes an error and will be ignored.
C.
INITiate:CONTinuous — With continuous initiation enabled, you cannot use the
READ? command or set sample count (SAMPle:COUNt) greater than one.
D.
FETch? — See
E.
READ? — Use this one query command to perform the tasks of the three commands.
See
Section 13
F.
TRIGger:SOURce — With the timer control source selected, use the TRIGger:TIMer
command to set the interval.
G.
DELay:AUTO — Auto delay period is 5msec for the 100V range, and 1msec for all other
voltage ranges. Disabling auto delay sets the delay time to 0.
H.
TRIGger:SIGNal — Send this action command to bypass the control source when you
do not wish to wait for the programmed event to occur. The instrument must be waiting
at the control source for the event when this command is sent. Otherwise, an error occurs
and the command is ignored.
I.
SAMPle:COUNt — A sample count >1 specifies how many readings will automatically
be stored in the buffer. However, with continuous initiation enabled, you cannot set the
sample count greater than one.
J.
SENSe:HOLD — See
using Hold.

Programming example

The following program fragment triggers (and stores in the buffer) 10 readings, which are
then displayed on the computer CRT.
CALL SEND(7,"*rst",status%)
CALL SEND(7,":trig:del 0.5",status%)
CALL SEND(7,":samp:coun 10",status%)
CALL SEND(7,":read?",status%)
reading$ = SPACE$(80)
CALL ENTER(reading$, length%, 7,status%) 'Address 2182 to talk.
PRINT reading$
Section 13
for details on this Signal Oriented Measurement Command.
for details on this Signal Oriented Measurement Command.
"Reading hold
(autosettle)", located in this section, for details on
Triggering
'Restore *RST defaults.
'Set delay for 0.5sec.
'Set sample count to 10.
'Trigger and request readings.
'Display the 10 readings on
'the CRT.
7-17

Advertisement

Table of Contents
loading

This manual is also suitable for:

2182a

Table of Contents