12
1.01<cr><lf>
*RST
The *RST command resets the instrument.
It is
equivalent to a RCL 0 command (recall default set-
up).
*STB? {n}
The *STB? command
queries the value of the
SR640's status byte. The byte is returned as a
decimal number (0-255). The *STB? n command
reads the value of bit n. The range of n is 0-7. The
value returned is either 0 or 1. The various bits in
the status byte have the following meanings:
bit meaning
0
READY. Indicates unit has completed all
pending commands.
1
OUTPUT FULL. Indicates the unit's output
queue is full.
2
EXECUTION ERROR. Indicates an illegal
value was encountered while executing a
command.
3
SYNTAX ERROR. Indicates the SR640
could not interpret received characters as a
command.
4
OUTPUT NOT EMPTY. Indicates the SR640
has characters waiting to be sent.
5
INPUT FULL. Input queue full. The user
should send commands more slowly.
6
SRQ. Indicates the unit has requested ser-
vice from the GPIB controller.
7
POWER ON. Indicates the SR640 has been
powered on.
Each of the bits is set when the associated condi-
tion first becomes true. The status byte is only
cleared after the *STB? or *CLS command.
*CLS
The *CLS command clears the SR640's internal
status byte. This status byte is the byte returned
by the SR640 when it is serial polled via the GPIB
interface. It may also be queried using the *STB?
command.
*SR E(?) {n}
The *SRE
command sets the service request en-
able byte to the value specified by n.
Allowed
values are 0 through 255.
When a bit is set in the
status byte, the byte is logically 'anded' with the
service request enable byte.
If the corresponding
bit in the service request enable byte is set, the
SR640 issues a SRQ (service request) to the
GPIB controller. This command may only be used
with the GPIB interface.
*RCL n
The *RCL n command recalls the nth stored instru-
ment settings. Allowed values for n are 0 through
9.
*SAV n
The *SAV command saves the current instrument
configuration as stored setting n. Values for n are
1 through 9.
*PSC (?) n
The *PSC command sets the power-on status
clear bit.
If n=1, the service request enable byte
is cleared upon power up.
If n=0, the status byte
and service request enable byte maintain their val-
ues when the unit is powered down.
This allows
the generation of a service request upon power
up.
WAIT(?) n
The WAIT command sets the RS-232 transmis-
sion delay between characters.
This is some-
times useful when interfacing with slower comput-
ers and terminals. The wait interval is set to about
2ms * n. Allowable values for n are 0 < n <255.
Command List
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Summary of Contents for SR640 Series
Page 4: ...2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 6: ...4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 8: ...6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...