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 #158 background imageLoading...
Page #158 background image
HP 4155A/4156A SCPI Programming
Programming: Data Transfer
Example 2.
To transfer data array by using REAL 64-bit data transfer format:
10 DIM Uvar1(1:101)
20 INTEGER I
30 !
40 ASSIGN @Hp4155 TO 717
50 ASSIGN @Form_off TO 717;FORMAT OFF
60 !
70 FOR I=1 TO 101
80 Uvar1(I)=SQRT(I)
90 NEXT I
100 !
110 OUTPUT @Hp4155;":FORM REAL,64"
120 OUTPUT @Hp4155;":FORM:BORD NORM"
130 OUTPUT @Hp4155;":PAGE:CHAN:UVAR:DEF 'UVAR1','',101"
140 OUTPUT @Hp4155;":TRAC 'UVAR1',#0";
150 OUTPUT @Form_off;Uvar1(*),END
160 !
170 END
Line Number Description
40 Assigns I/O path to control HP 4155A/4156A.
50 Assigns I/O path to transfer data.
110 to 120 Species REAL 64 bit data transfer format.
130 Denes a user variable.
140 to 150 Transfers user variable.
4-29

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