EasyManuals Logo

HP 4155A Programmer's Guide

HP 4155A
241 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
Page #119 background imageLoading...
Page #119 background image
Programming for Data Extraction
This section provides the following programming tutorials for data extraction:
Reading HP 4155/56 setup data
Reading values of data variables (measurement results)
Transferring data into a le
Reading HP 4155/56 Setup Data
To read setup data from HP 4155/56 into an IB
ASIC variable, use the query
form of the corresponding setting command. To make the query form of a
command, simply add a question mark (
?
) to the end of the command.
Refer to the following program lines of example program:
60 OUTPUT @Hp415x;":PAGE:MEAS:SWE:VAR1:STAR?"
70 ENTER @Hp415x;Vd_start
80 OUTPUT @Hp415x;":PAGE:MEAS:SWE:VAR1:STOP?"
90 ENTER @Hp415x;Vd_stop
100 OUTPUT @Hp415x;":DISP:ALL BAS"
110 CLEAR SCREEN
120 PRINT TABXY(1,1);"Vd START=";Vd_start;"(V)"
130 PRINT TABXY(1,2);"Vd STOP =";Vd_stop;"(V)"
Line 60 This query command tells the HP 4155A/56A to put the
VAR1 start value in its output buer.
:PAGE:MEAS:SWE:VAR1:STAR
is the command for setting
the VAR1 start value. By adding
?
, the command becomes
the query command for reading the VAR1 start value.
Line 70 This gets the start value from the output buer, then enters
it in the
Vd_start
variable.
Line 80 to 90 These lines tell the HP 4155A/56 to put VAR1 stop value in
its output buer, then the value is entered into the
Vd_stop
variable.
3-16

Table of Contents

Other manuals for HP 4155A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 4155A and is the answer not in the manual?

HP 4155A Specifications

General IconGeneral
BrandHP
Model4155A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals