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 #155 background imageLoading...
Page #155 background image
HP 4155A/4156A SCPI Programming
Programming: Data Transfer
To Read HP 4155/56 Measurement Data
1. Send
:DATA?
query command to get data variable values (output data,
measurement data, user function values) or read-out function values from
HP 4155/56 to IBASIC variables.
Example
Example 1.
To get measurement data, then store it in a data array:
10 DIM I3(1:501)
20 !
30 ASSIGN @Hp4155 TO 717
40 !
50 OUTPUT @Hp4155;":FORM:DATA ASC"
60 !
70 OUTPUT @Hp4155;":DATA? 'I3'"
80 ENTER @Hp4155;I3(*)
90 !
100 END
Line Number Description
30 Assigns I/O path to control HP 4155A/4156A.
50 Species ASCII data transfer format.
70 to 80 Gets the values of data variable
I3
.
Example 2.
To get slope of LINE1 for Y2 axis curve on GRAPH/LIST: GRAPHICS page:
10 ASSIGN @Hp4155 TO 717
20 !
30 OUTPUT @Hp4155;":DATA? '@L1G2'"
40 ENTER @Hp4155;Slope
50 !
60 PRINT Slope
70 END
Line Number Description
10 Assigns I/O path to control HP 4155A/4156A.
30 to 40 Gets slope of LINE1 for Y2 axis curve on GRAPH/LIST: GRAPHICS page.
4-26

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