Programming Example - Keithley 2701 User Manual

Ethernet-based dmm/data acquisition system
Hide thumbs Also See for 2701:
Table of Contents

Advertisement

8-18
Triggering
Reference
a.
b.
c.
d.
e.
f.
g.
h.
i.

Programming example

The following program fragment triggers (and stores in the buffer) 10 readings:
*RST
TRAC:CLE
TRIG:DEL 0.5
SAMP:COUN 10
READ?
ABORt — With continuous initiation disabled, the 2701 goes into the idle state.
With continuous initiation enabled, operation continues at the top of the trigger
model.
INITiate — 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.
NOTE
[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,
Section
TRIGger:SOURce <name> — With the timer control source selected, use the
TRIGger:TIMer command to set the interval.
DELay:AUTO <b> — The auto delay times are listed in
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
automatically 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
conflict error (-221).
3,
Section
13, and
Appendix D
13, and
Appendix
' Restore *RST defaults.
' Clear buffer.
' Set delay for 0.5sec.
' Set sample count to 10.
' Trigger, store, and request readings.
Model 2701 User's Manual
for details on using these
D.
Table
8-1. Disabling

Advertisement

Table of Contents
loading

Table of Contents