2308-900-01 Rev. A / July 2008
Return to
Section Topics
6-11
Model 2308 Portable Device Battery/Charger Simulator User’s Manual
Section 6: GPIB Operation
• The path pointer can only move down; it cannot be moved up a level. Executing a command
at a higher level requires that you start over at the root command.
Using common and SCPI commands in the same message
Both common commands and SCPI commands can be used in the same message as long as they
are separated by semicolons (;). A common command can be executed at any command level and
will not affect the path pointer.
Example:
:stat:oper:enab <NRf>; *ESE <NRf>
Program message terminator (PMT)
Each program message must be terminated with an LF (line feed), EOI (end or identify), or an
LF+EOI. The bus will hang if your computer does not provide this termination. The following
example shows how a program message must be terminated:
:outp on <PMT>
Command execution rules
• Commands execute in the order that they are presented in the program message.
• An invalid command generates an error and is not executed.
• Valid commands that precede an invalid command in a multiple command program
message are executed.
• Valid commands that follow an invalid command in a multiple command program message
are ignored.
Response messages
A response message is the message sent by the instrument to the computer in response to a
query command program message.
Sending a response message
After sending a query command, the response message is placed in the output queue. When the
power supply is then addressed to talk, the response message is sent from the output queue to the
computer.
Multiple response messages
If you send more than one query command in the same program message (see
Multiple command
messages
), the multiple response messages for all the queries are sent to the computer when the
power supply is addressed to talk. The responses are sent in the order the query commands were
sent and are separated by semicolons (;). Items within the same query are separated by commas
(,). The following example shows the response message for a program message that contains four
single item query commands:
0; 1; 1; 0
Response message terminator (RMT)
Each response is terminated with an LF (line feed) and EOI (end or identify). The following
example shows how a multiple response message is terminated:
0; 1; 1; 0; <RMT>
Summary of Contents for 2308
Page 2: ......
Page 12: ...This page left blank intentionally...
Page 32: ...This page left blank intentionally...
Page 106: ...This page left blank intentionally...
Page 140: ...This page left blank intentionally...
Page 208: ...This page left blank intentionally...
Page 220: ...This page left blank intentionally...