EasyManua.ls Logo

HP 5335A - Page 50

HP 5335A
76 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1
V
1W
V
4
<
w-1
v
Operation
and
Programming
3-165.
Device
Command
Definitions
3-166.
A
device
command
is
a
sequence
of
two
or
more
ASCII-coded
bytes,
sent
to
the
5335A
over
the
HP-IB,
that
causes
the
counter
to
perform
a
specific
function.
Before
discussing
individual
device
commands,
it
is
useful
to
classify
these
commands
into
five
types:
1.
N
u
meric
Command:
Type
N;
A
sequence
of
two
ASCII-coded
bytes
followed
by
a
sequence
of
bytes
representing
a
decimal
number
and
a
terminator.
A
terminator
is
either
a
comma,
semicolon,
space,
carriage
return,
or
line
feed.
A
Termination
may
also
be
implied
with
the
start
of
the
next
command.
For
a
numeric
command,
the
entry
must
follow
the
following
format:
<N
spaces>
[sign]
<J
digit$>
[.<K
digits>]
[E
[Sign]
<L
digits>]
where:
N=0
to
any
value
J=1
to
12
K=0
to
11
1=1
or
2
and:
J+K
<12
Absolute
value
of
number
<
1
0
1
0
.
|f
more
than
12
digits
are
received,
they
are
ignored.
The
following
commands
are
equivalent:
9B25A
wrt
703,
“RE,
MS
123456"
wrt
703,
;“REMS+1.23456E+05"
wrt
703,
“RE,
MS123.456E3"
123456-—A;
wrt
“RE
MS",
A
wrt
703,
“RE,
MS123.456E3"
9835A/45A
OUTPUT
703;
“RE,
MS
123456"
OUTPUT
7,3;
“REMS+1.23456E+05"
OUTPUT
703;
“RE,
MS123.456E3"
Scale
=
123456
OUTPUT
703;
“RE
MS",
Scale
OUTPUT
703;
“RE,
MS123.456E3"
2.
B
i
n
ary
Command:
Type
B;
A
sequence
of
two
ASCI
l-coded
bytes
followed
by
either
a
0
or
a
1.
The
0
indicates
the
selected
function
if
“OFF"
or
“FALSE",
and
the
1
(or
any
non¬
zero
value)
indicates
“ON”
or
“TRUE".
The
binary
command
uses
the
same
format
as
numeric
commands.
The
following
are
binary
commands:
wrt
703,
“WA1"
TRUE
OUTPUT
703;
“WA1"
wrt
703,
“WA0"
FALSE
OUTPUT
7,3;
“WAO"
wrt
703,
“WA123"
TRUE
OUTPUT
703;
“WA123"
True
=
1
1—A;
wrt
703,
“WA",
A
TRUE
OUTPUT
703;
“WA",
True
3.
I
n
teger
Commands:
Type
/;
A
sequence
of
two
ASCII-coded
bytes
followed
by
a
sequence
of
bytes
representing
a
decimal
number
and
a
terminator.
For
integer
commands,
negative
number
are
converted
to
their
absolute
values.
If
the
number
is
outside
the
expected
range,
the
parameter
is
converted
to
zero.
The
integer
command
uses
the
same
format
as
numeric
commands.
The
following
commands
are
equivalent:
9825A
9835A/45A
wrt
703,
“CY2"
wrt
703,
“CY-2"
wrt
703,
“CY
0.2E+1"
OUTPUT
703;
“CY2"
OUTPUT
703;
“CY-2"
OUTPUT
703;
“CY0.2E+1"
3-34
nrlol
A

Related product manuals