12-5
IM 2560A-01EN
Programming Overview
3
2
1
4
5
6
7
8
9
10
11
12
13
14
15
16
App
Index
12.3 Responses
Responses
When the controller sends a query with a question
mark, the 2560A returns a response message to the
query. The 2560A returns response messages in one
of the following two forms.
• Response Consisting of a Header and Data
Responses that can be used as program messages
without any changes are returned with command
headers attached.
Example
:SOURce:FUNCtion?<PMT>
->:SOURCE:FUNCTION VOLTAGE<RMT>
• Response Only Consisting of Data
Responses that cannot be used as program
messages unless changes are made (query-only
commands) are returned without headers. However,
there are query-only commands whose responses
the 2560A will attach headers to.
Example
:SOURce:RTD:SETTing?<PMT> ->
" 0.0, 850.0, 1.000002,
3.9083000000e-01,-5.7750000000e-05,
0.000000, 0.000000,
0.000000, 0.000000,
0.000000, 0.000000,
0.000000, 0.000000,
0.000000, 0.000000,
0.000000, 0.000000,
0.000000, 0.000000,
0.000000, 0.000000,
0.000000, 0.000000"
<RMT>
If You Want the 2560A to Return Responses
without Headers
You can configure the 2560A so that even responses
that have both headers and data are returned without
headers. Use the
COMMunicate:HEADer
command
for this purpose.
Abbreviated Form
The 2560A normally returns response headers with
the lower-case section removed. You can configure
the 2560A so that full headers are returned. Use the
COMMunicate:VERBose
command for this purpose.
The sections enclosed in square brackets (
[]
) are also
omitted in the abbreviated form.