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 #159 background imageLoading...
Page #159 background image
HP 4155A/4156A SCPI Programming
Programming: Data Transfer
Example 3.
To transfer data, then display plot of transferred data and measurement
results:
10 DIM Uvar1(1:101)
20 !
30 ASSIGN @Hp4155 TO 717
40 !
50 FOR I=1 TO 101
60 Uvar1(I)=SQRT(I)
70 NEXT I
80 !
90 OUTPUT @Hp4155;":MMEM:LOAD:STAT 0,'SWP.MES'"
100 OUTPUT @Hp4155;":PAGE:SCON:SING"
110 OUTPUT @Hp4155;"*OPC?"
120 ENTER @Hp4155;Complete
130 !
140 OUTPUT @Hp4155;":FORM ASC"
150 OUTPUT @Hp4155;":DATA:DEF 'UVAR1',101"
160 OUTPUT @Hp4155;":DATA:UNIT 'UVAR1','V'"
170 OUTPUT @Hp4155;":DATA 'UVAR1',";Uvar1(*)
180 !
190 OUTPUT @Hp4155;":PAGE:DISP:GRAP:Y2:NAME 'UVAR1'"
200 OUTPUT @Hp4155;":PAGE:GLIS"
210 END
Line Number Description
30 Assigns I/O path to control HP 4155A/4156A.
90 Loads measurement setup data from diskette le
SWP.MES
.
100 Executes measurement.
110 to 120 Waits for measurement completion.
140 Species ASCII data transfer format.
150 Denes user variable.
160 Denes unit of user variable.
170 Transfers user variable.
190 Sets user variable to Y2 axis of graph.
200 Displays GRAPH/LIST: GRAPHICS page.
4-30

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