Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-150
Document Number: 3700S-901-01 Rev. A / August 2007
localnode.prompts
Attribute
Prompting mode.
Usage
To read prompting state:
prompting = localnode.prompts
To write prompting state:
localnode.prompts = prompting
prompting
: Set to 0 to disable or 1 to enable.
Remarks
This attribute controls prompting. When it is set to 1, prompts are issued after each
command message is processed by the instrument. When it is set to 0, prompts
are not issued.
The command messages do not generate prompts. The Series 3700 generates
prompts in response to command messages.
When the prompting mode is enabled, the Series 3700 generates prompts in
response to command messages. There are three prompts that might be returned:
"TSP>" is the standard prompt. This prompt indicates that everything is normal
and the command is done processing.
"TSP?" is issued if there are entries in the error queue when the prompt is issued.
Like the "TSP>" prompt, it indicates the command is done processing. It does not
mean the previous command generated an error, only that there are still errors in
the queue when the command was done processing.
">>>>" is the continuation prompt. This prompt is used when downloading scripts
or flash images. When downloading scripts or flash images, many command
messages must be sent as a unit. The continuation prompt indicates that the
instrument is expecting more messages as part of the current command.
Test Script Builder (TSB) requires prompts. It sets the prompting mode behind the
scenes. If you disable prompting, use of the TSB will hang because it will be
waiting for the prompt that lets it know that the command is done executing. DO
NOT disable prompting with the use of the TSB.
When used in an expanded system (TSP-Link), localnode.prompt is sent to the
Remote Master node only. Use node[N].prompt (where N is the node number) to
send the command to any node in the system. See for details on TSP-Link.
Also see
localnode.showerrors
(on page 9-154)
Example
Enables prompting:
localnode.prompts = 1
localnode.reset
Function
Resets the system.
Usage
localnode.reset()