The following program shows an example of setting the ranges of the 4300B. The program is written in HP
Basic. If you are using a programming language or package other than HP Basic, consult your Programmer's
Manual for the correct command syntax. The 4300B is assumed to be at address 12.
10 REMOTE
712
20 OUTPUT
712;"V2,I3,C1"
30 WAIT
2
40 ENTER
712;A$
50 PRINT
A$
60 LOCAL
712
70 END
The result of this program is to set the 4300B to the 2V, 100mA ranges and turn on the test current. The
controller waits for 2 seconds (for settling), then retrieves the measured value. The 4300B is then returned to
local mode.
5-9-1. Voltage Range
The "V" command is used to set the full scale voltage range of the internal voltmeter. The 4300B interprets
this command as follows:
V0
Selects the 20mV range
V1
Selects the 200mV range
V2
Selects the 2V range
5-9-2 Test Current Range
The "I" command sets the value of test current that will be used to make the resistance measurement. The
4300B interprets this command as follows:
I0
Selects
.1mA
I1
Selects
1mA
I2
Selects
10mA
I3
Selects
.1A
I4
Selects
1A
I5
Selects
10A
5-9-3. SRQ's and Serial Polls
The IEEE-488 bus incorporates a serial line that may be used by a device on the bus to alert the controller if
problems are encountered or if it requires attention. This method draws attention to a device without
disrupting normal bus operation. The controller may then choose to ignore or act upon the request.
The "SRQ" or "service request" line may be asserted to alert the controller. The 4300B may be setup using
the "Q" command to assert SRQ if the controller sends data to it that is not decodeable by the 4300B.
Q0
4300B will not assert SRQ (default)
Q1
4300B will assert SRQ if it receives a command that it does not understand