598220
31
Zoom out
Zoom in
Vorherige Seite
1/476
Nächste Seite
Getting Started
2001-900-01 Rev. K/ August 2010 2-17
When this message is sent, the path pointer moves down one
command level for the DELAY and TCONFIGURE
commands. The colon after the TCONFIGURE command
then moves the pointer down to the next command level and
enables PROTOCOL.
A few important points:
1. The path pointer can only move down. It cannot be
moved up a level. (Note: It can be reset to the root mode
by a preceding colon. For example, :ARM:LAY2:
SOUR MAN; :TRIG:SOUR MAN.)
2. Each new message (line) must begin with the root
command.
3. The colon at the beginning of a program message is
optional.
4. The end of a program message moves the path pointer
back to the root; so does a leading colon.
5. Any time one or more query commands are included in
a program message, the Model 2001 must be addressed
to talk to send the response message to the computer.
2.6.8 Programming examples
The following programming examples are written in the
Hewlett-Packard BASIC 4.0 programming language. The
programs assume that the Model 2001 is set to primary
address 16.
Programming example #1 Default DC voltage
reading
The following code fragment resets the Model 2001 to a
default configuration and gets a DC voltage reading:
100 OUTPUT 716;“:syst:pres”
110 OUTPUT 716;“:fetch?
120 ENTER 716;A$
130 PRINT A$
Line 100 Return Model 2001 to :SYSTem:PRESet default
configuration (DC volts, autorange, 1 PLC, filter
enabled, 6.5 digits).
Line 110 Request new reading.
Line 120 Address to talk.
Line 130 Display reading, status, units, time-stamp,
reading number, and channel.
Programming example #2 High accuracy DC
voltage reading
The following code fragment configures the Model 2001 for
high accuracy DC voltage readings and gets one reading:
100 OUTPUT 716;“:syst:pres”
110 OUTPUT 716;“:volt:dc:nplc 10”
120 OUTPUT 716;“:fetch?”
130 ENTER 716;A$
140 PRINT A$
Line 100 Return Model 2001 to default configuration.
Line 110 Change integration time to 10 PLC (and
resolution to 7.5d).
Line 120 Request new reading.
Line 130 Address to talk.
Line 140 Display reading status, units, time-stamp,
reading number, and channel.
Programming example #3 High speed DC voltage
readings
The following code fragment configures the Model 2001 for
high speed DC voltage readings, stores 100 readings, and
sends the readings over the bus:
100 OUTPUT 716;“:syst:pres”
110 OUTPUT 716;“:volt:dc:nplc 0.01”
120 OUTPUT 716;“:trac:clear”
130 OUTPUT 716;“:trac:feed calc”
140 OUTPUT 716;“:trac:egr full”
150 OUTPUT 716;“:trac:poin 100”
160 OUTPUT 716;“:trac:feed:cont next”
170 OUTPUT 716;“:trac:data?”
180 ENTER 716;A$
190 PRINT A$
Line 100 Return Model 2001 to default configuration.
Line 110 Change integration time to 0.01 PLC.
Line 120 Clear all stored readings.
Line 130 Perform any math before storing readings.
Line 140 Store full data group (reading, reading number,
units, timestamp, status, and channel).
Line 150 Set buffer count to 100 readings.
Line 160 Start storing, stop when done.
Line 170 Request readings (default is reading only, ASCII
format).
Line 180 Address to talk.
Line 190 Display readings, status, units, time-stamps,
reading numbers, and channels.
Programming example #4 Burst speed DC voltage
readings
The following code fragment configures the Model 2001 for
burst speed DC voltage readings, stores 100 readings, and
sends the readings over the bus:
100 OUTPUT 716;“:syst:pres”
110 OUTPUT 716;“:syst:amet burs”
120 OUTPUT 716; “form:elem read, rnum, unit,
stat”
31

Brauchen Sie Hilfe? Stellen Sie Ihre Frage.

Forenregeln

Missbrauch melden von Frage und/oder Antwort

Libble nimmt den Missbrauch seiner Dienste sehr ernst. Wir setzen uns dafür ein, derartige Missbrauchsfälle gemäß den Gesetzen Ihres Heimatlandes zu behandeln. Wenn Sie eine Meldung übermitteln, überprüfen wir Ihre Informationen und ergreifen entsprechende Maßnahmen. Wir melden uns nur dann wieder bei Ihnen, wenn wir weitere Einzelheiten wissen müssen oder weitere Informationen für Sie haben.

Art des Missbrauchs:

Zum Beispiel antisemitische Inhalte, rassistische Inhalte oder Material, das zu einer Gewalttat führen könnte.

Beispielsweise eine Kreditkartennummer, persönliche Identifikationsnummer oder unveröffentlichte Privatadresse. Beachten Sie, dass E-Mail-Adressen und der vollständige Name nicht als private Informationen angesehen werden.

Forenregeln

Um zu sinnvolle Fragen zu kommen halten Sie sich bitte an folgende Spielregeln:

Neu registrieren

Registrieren auf E - Mails für Keithley 2001 wenn:


Sie erhalten eine E-Mail, um sich für eine oder beide Optionen anzumelden.


Das Handbuch wird per E-Mail gesendet. Überprüfen Sie ihre E-Mail.

Wenn Sie innerhalb von 15 Minuten keine E-Mail mit dem Handbuch erhalten haben, kann es sein, dass Sie eine falsche E-Mail-Adresse eingegeben haben oder dass Ihr ISP eine maximale Größe eingestellt hat, um E-Mails zu erhalten, die kleiner als die Größe des Handbuchs sind.

Ihre Frage wurde zu diesem Forum hinzugefügt

Möchten Sie eine E-Mail erhalten, wenn neue Antworten und Fragen veröffentlicht werden? Geben Sie bitte Ihre Email-Adresse ein.



Info