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 #31 background imageLoading...
Page #31 background image
Response Header Options
The format of the returned ASCII string depends on the current settings of
the SYSTEM HEADER and LONGFORM commands. The general format is
<instruction_header><space><data><terminator>
The header identifies the data that follows (the parameters) and is controlled
by issuing a :SYSTEM:HEADER ON/OFF command. If the state of the
header command is OFF, only the data is returned by the query.
The format of the header is controlled by the :SYSTEM:LONGFORM
command. If long form is OFF , the header will be in its short form and the
header will vary in length, depending on the particular query. The separator
between the header and the data always consists of one space.
A command or query may be sent in either long form or short form, or in any
combination of long form and short form. The HEADER and LONGFORM
commands only control the format of the returned data and they have no
affect on the way commands are sent.
Example The following examples show some possible responses for a
:SELECT 2:MACHINE1:SFORMAT:THRESHOLD2? query:
with HEADER OFF:
<data><terminator>
with HEADER ON and LONGFORM OFF:
:SEL 2:MACH1:SFOR:THR2<white_space><data><terminator>
with HEADER ON and LONGFORM ON:
:SELECT 2:MACHINE1:SFORMAT:THRESHOLD2<white_space>
<data><terminator>
See Also Chapter 11, "SYSTem Subsystem" for information on turning the HEADER
and LONGFORM commands on and off.
Introduction to Programming
Response Header Options
1–17

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