User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-213
localnode.prompts
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.
When downloading scripts, 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 requires prompts. It sets the prompting mode behind the
scenes. If you disable prompting, use of the Test Script Builder 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 Test Script Builder.
When used in an expanded system (TSP-Link
TM
), 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.
Also see
localnode.showerrors (on page 13-217)
Example
Enables prompting:
localnode.prompts = 1
localnode.reset()
Function
Resets the system.
Usage
localnode.reset()