EasyManuals Logo
Home>HP>Measuring Instruments>16500C

HP 16500C Programmer's Guide

HP 16500C
252 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 #34 background imageLoading...
Page #34 background image
Example The following example shows logic analyzer module data being returned to a
string variable with headers off:
10 OUTPUT XXX;":SYSTEM:HEADER OFF"
20 DIM Rang$[30]
30 OUTPUT XXX;":SELECT 2:MACHINE1:TWAVEFORM:RANGE?"
40 ENTER XXX;Rang$
50 PRINT Rang$
60 END
After running this program, the controller displays: +1.00000E-05
Numeric Base
Most numeric data will be returned in the same base as shown on screen.
When the prefix #B precedes the returned data, the value is in the binary
base. Likewise, #Q is the octal base and #H is the hexadecimal base. If no
prefix precedes the returned numeric data, then the value is in the decimal
base.
Numeric Variables
If your host language can convert from ASCII to a numeric format, then you
can use numeric variables. Turning off the response headers will help you
avoid accidentally trying to convert the header into a number.
Introduction to Programming
Numeric Base
1–20

Table of Contents

Other manuals for HP 16500C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 16500C and is the answer not in the manual?

HP 16500C Specifications

General IconGeneral
BrandHP
Model16500C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals