000000000683 is the hex-contents of register 3. The regis-
ter contents must be converted to a decimal number and
entered in the formula;
The result is 1667
*
10
–7
. which you must multiply by “Multi-
plier P”, which is 1, to get the measuring result.
EXAMPLE 2:
The following HP-85 program sets up a High-Speed dump
Frequency A measurement with 1 s Measuring-time.
OUTPUT 710;"FREQ A,MTIME 1"
ENTER 710;A$
A$
FREQ
006.000006E3
OUTPUT 710;OUTM 4
ENTER 710;A$
A$
CO98555B000257
Formula ‘C’ is:
98555B is the hex-contents of register 1, and 000257 is
the hex-contents of register 2. Both register contents must
be converted to decimal numbers and put into the formula;
This number is multiplied by multiplier ‘O’ to get the meas-
uring result:
How many digits are significant?
Select the formula for ‘LSD displayed’ in the ‘Specifications’.
There are different formulas for different measurements.
Frequency:
LSD = 0.001 Hz
The result is 6.000006 10
3
Hz
Bus Learn
–
Set the counter to LOCAL and select the functions you
want from the front panel.
–
If required, set the counter to Remote and program spe-
cial bus-functions from the controller.
–
Check that the counter/controller performs the intended
functions.
–
If it does, send the five queries from the controller to the
counter and store the responses in the controller for later
use.
These are the five queries:
Query Response
Max No.
of
characters
FNC?
Functions setting; e.g. FREQ A9
9
MEAC? Measurement control;
MTIME <number>,FRUN ON20
TOUT <number>
20
9
INPA?
Input A settings;
TRGSLP POS,ATT OFF
COUPL AC,AUTO OFF
*
TRGLVL <number>,SENS 1
18
17
19
INPB?
Input settings;
TRGSLP POS,ATT OFF B
COUPL DC,COM OFF
*
TRGLVL <number>,SENS 1
18
16
19
BUS?
Bus interface commands;
MSR <number>,OUTM
<number>
EOI OFF,SPR <number>
16
15
As you can see, the responses are the same commands
as you use for normal programming. So if you have to
change anything in a program made using bus learn, or
add functions which are not selectable from the front
panel, these program messages can easily be edited in
the controller.
NOTE:
MEAC? and BUS? result in a response sent as two
lines, each terminated by the selected separator.
INPA? and INPB? result in a response sent as a
three line messages.
NOTE:
The counter will stop measuring until all lines of the
response have been read or the response has
been terminated.
NOTE:
The query command must always be the last com-
mand in a program message.
*
If AUTO or COM is switched ON, the responses to INPA?
and INPB? must be interpreted in a different way, see ‘Se-
lecting Input settings’.
Terminating a Response
It is not necessary to read all output lines. Any program
message will terminate the response.
Programming Data Out
Any one of the queries used for Bus Learn can be used to ask
the counter about its current setting, see ‘Bus Learn’ above.
683
6 16
8 16 3
1667
2
Hex
Decimal
= ×
+ ×
+ =
1667 10
1 1667 10
166 7
7
4
×
× =
×
=
−
−
.
.
s
s
µ
Reg.
Reg.
2 10
1
7
×
(
)
.
...
2 16
5 16
7
10
9 16
8 16
5 16
5 16
5 16
11
600 0006209
2
7
5
4
3
2
×
+ ×
+ ×
×
+ ×
+ ×
+ ×
+ ×
+
=
=
600 0006209 10
6000 006209
6 000006209 10
3
.
.
.
×
=
=
×
Hz
LSD displayed:
.
...
.
2 5
10
6000
1
0 0015
7
×
×
=
−
Page: 32
GPIB-INTERFACE OPERATION
PM 6666 - OPERATORS MANUAL