Agilent Technologies Infiniium 8000A Programmer's Reference Manual page 870

Table of Contents

Advertisement

Example
Waveform Commands
PREamble
See Table 30-1 for descriptions of all the waveform preamble elements.
HP BASIC Image Specifiers
# is an HP BASIC image specifier that suppresses the automatic output of the EOL
sequence following the last output item.
K is an HP BASIC image specifier that outputs a number or string in standard form
with no leading or trailing blanks.
This example outputs the current waveform preamble for the selected source
to the string variable, Preamble$.
10
DIM Preamble$[250]!Dimension variable
20
OUTPUT 707;":SYSTEM:HEADER OFF"!Response headers off
30
OUTPUT 707;":WAVEFORM:PREAMBLE?"
40
ENTER 707 USING "-K";Preamble$
50
END
Placing the Block in a String
-K is an HP BASIC image specifier that places the block data in a string, including
carriage returns and line feeds, until EOI is true, or when the dimensioned length of
the string is reached.
30-48

Advertisement

Table of Contents
loading

Table of Contents