598220
31
Zoom out
Zoom in
Previous page
1/476
Next page
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


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Keithley 2001 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Keithley 2001 in the language / languages: English as an attachment in your email.

The manual is 2,31 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info