2470 High Voltage SourceMeter Instrument Reference Manual
Section 14: TSP command reference
2470-901-01 Rev. A /
May
2019
14-91
localnode.prompts
This attribute determines if the instrument generates prompts in response to command messages.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
No
Power cycle
Not saved
localnode.DISABLE
Usage
prompting
= localnode.prompts
localnode.prompts =
prompting
prompting
Do not generate prompts:
localnode.DISABLE
Generate prompts:
localnode.ENABLE
Details
When the prompting mode is enabled, the instrument generates prompts when the instrument is
ready to take another command. Because the prompt is not generated until the previous command
completes, enabling prompts provides handshaking with the instrument to prevent buffer overruns.
When prompting is enabled, the instrument might generate the following prompts:
•
TSP>.
The standard prompt, which indicates that the previous command completed normally.
•
TSP?.
The prompt that is issued if there are unread entries in the event log when the prompt is
issued. Like the TSP> prompt, it indicates that processing of the command is complete. It does
not mean the previous command generated an error, only that there were still errors in the event
log when command processing completed.
•
>>>>.
The continuation prompt, which occurs when downloading scripts. When downloading
scripts, many command messages must be sent as a group. The continuation prompt indicates
that the instrument is expecting more messages as part of the present command.
Commands do not generate prompts. The instrument generates prompts in response to command
completion.
Prompts are enabled or disabled only for the remote interface that is active when you send the
command. For example, if you enable prompts when the LAN connection is active, they will not be
enabled for a subsequent USB connection.
Do not disable prompting when using Test Script Builder. Test Script Builder requires prompts and
sets the prompting mode automatically. If you disable prompting, the instrument will stop responding
when you communicate using Test Script Builder because it is waiting for a common complete
prompt from Test Script Builder.
Example
localnode.prompts = localnode.ENABLE
Enable prompting.
Also see
(on page 14-270)