EasyManua.ls Logo

Agilent Technologies 8504B - Page 133

Agilent Technologies 8504B
296 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...
FINAL TRIM SIZE : 7.5 in x 9.0 in
Programming
Controlling the
Instrument
Send
commands
as
ASCII
strings
Commands
are sent
to the
precision
reectometer
as
ASCII
strings
.
The
method
used depends
on the
programming
language
and
environment.
Using
an
PC with
the HP-IB
Interface
and
Command
Library
(and
programming
in
C
), send
a command
as follows:
iooutputs(716L,
"PRES;",
5);
Using
an
HP
9000
Series
300
technical
computer
with
the HP-B
ASIC language
,
the
same
command
would
be
sent
as
follows:
OUTPUT 716;"PRES;"
Use a
semicolon (;)
to terminate
each
input
string
of
program
commands
.
A
line feed
can also
serve as
a
terminator
.
F
or
example
,
either
of
the
following
is
acceptable
.
OUTPUT 716;"PRES;CLEARALL;"
OUTPUT
716;"PRES;CLEARALL"
Returning
data
to
the
controller
Some
precision
reectometer
commands
can be
issued as
a
query
.
A
query
causes
data
to
be
returned to
the computer
from
the
instrument.
The
data
is
returned
as
an
ASCII
string.
Queries
are formed
by
adding
the
question
mark
(?)
character
to
the
command.
Refer
to the
command
listing
in
this
chapter
to
determine
if
a
command
can
be used
as
a
query
.
syntax
listed
for
each
command
.
For
example
,
sending
the
following
command
turns
the
HP-IB
command
debug mode
on:
OUTPUT
716;"DEBUOFF;"
Upon
receiving this
command, the
precision reectometer
sends a
\1"
to
the
computer.
(A \1"
indicates an
\on" condition;
a
\0"
indicates
an
\o"
condition.)
Querying
a
settable
functions
such
as
SCAL
,
returns
the
current
function
value
then clears
the instrument
entry
area.
Querying
a
command
that
does
not
have
a
dened
response returns
a
zero
.
The
following
example
returns
a
value to the computer and then prints the value:
OUTPUT Hp8504;"SCAL?;"
ENTER Hp8504;Scale
PRINT Scale
4-6
All manuals and user guides at all-guides.com

Related product manuals