EasyManuals Logo

HP 54620A Programmer's Guide

HP 54620A
92 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 #31 background imageLoading...
Page #31 background image
String variables
The instrument output may be numeric or character data depending on what
is queried. Refer to the specific commands for the formats and types of data
returned from queries.
Express String Variables Using Exact Syntax
In HP BASIC, string variables are case-sensitive and must be expressed exactly
the same each time they are used.
Address Varies According to Configuration
For the example programs in the help file, assume that the device being
programmed is at device address 707. The actual address varies according to
how you have configured the bus for your own application.
The following example shows the data being returned to a string variable:
10 DIM Rang$[30]
20 OUTPUT 707;":TIMEBASE:RANGE?"
30 ENTER 707;Rang$
40 PRINT Rang$
50 END
If the current time base setting is 10 ms/div, the controller displays:
+1.00000E-01
Programming Getting Started
String variables
31

Table of Contents

Other manuals for HP 54620A

Questions and Answers:

Question and Answer IconNeed help?

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

HP 54620A Specifications

General IconGeneral
BrandHP
Model54620A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals