Programming Example - Keithley SourceMeter 2790 Reference Manual

Hide thumbs Also See for SourceMeter 2790:
Table of Contents

Advertisement

Model 2790 SourceMeter
Reference
a.
b.
c.
d.
e.
f.
g.
h.
i.

Programming example

The following program fragment triggers (and stores in the buffer) 10 readings. Note that
in order to send the readings to the computer, you must address the Model 2790 to talk
after sending READ?.
*RST
TRAC:CLE
TRIG:DEL 0.5
SAMP:COUN 10
READ?
®
Switch System Reference Manual
ABORt — With continuous initiation disabled, the Model 2790 goes into the idle
state. With continuous initiation enabled, operation continues at the top of the trig-
ger model.
INITiate [:IMMediate]— Whenever the instrument is operating within the trigger
model, sending this command causes an error and will be ignored.
INITiate:CONTinuous <b> — With continuous initiation enabled, you cannot
use the READ? command or set sample count (SAMPle:COUNt) greater than one.
FETch?
READ? — See
Section
commands to trigger and retrieve readings.
klqb
[SENSe[1]]:DATA[:LATest]? and [SENSe[1]]:DATA:FRESh? can be
used to retrieve the last reading. These commands are also explained in
Section 3
and
TRIGger:SOURce <name> — With the timer control source selected, use the
TRIGger:TIMer command to set the interval.
TRIGger:DELay:AUTO <b> — The auto delay times are listed in
Disabling auto delay sets the delay time to 0.
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.
SAMPle:COUNt — A sample count >1 specifies how many readings will auto-
matically be stored in the buffer. However, with continuous initiation enabled, you
cannot set the sample count greater than one.
[SENSe[1]]:HOLD commands — Hold cannot be set when the scanner is enabled
(ROUTe:SCAN:LSEL INT). Sending a hold command will result in a settings con-
flict error (-221).
3,
Section
13, and Appendix C for details on using these
Appendix
C.
' Restore *RST defaults.
' Clear buffer.
' Set delay for 0.5sec.
' Set sample count to 10.
' Trigger, store, and request readings.
8-19
Table
8-1.

Advertisement

Table of Contents
loading

Table of Contents