Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-142
2606B-901-01 Rev. B / May 2018
Details
This attribute controls if and where remote access passwords are required. Set this attribute to one of
the values below to enable password checking:
•
localnode.PASSWORD_NONE
or
0
: Disable passwords everywhere
•
localnode.PASSWORD_WEB
or
1
: Use passwords on the web interface only
•
localnode.PASSWORD_LAN
or
2
: Use passwords on the web interface and all LAN interfaces
•
localnode.PASSWORD_ALL
or
3
: Use passwords on the web interface and all remote command
interfaces
When using this command from a remote node,
localnode
should be replaced with the node
reference, for example
node[5].passwordmode
.
Example
mode = localnode.PASSWORD_WEB
localnode.passwordmode = mode
Sets value of
mode
to
PASSWORD_WEB
.
Allows use of passwords on the web interface only.
Also see
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)
Yes
Power cycle
Not saved
0 (disabled)
Usage
prompting
= localnode.prompts
localnode.prompts =
prompting
prompting
Prompting mode:
Do not generate prompts:
1
Generate prompts:
0
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 error queue 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 queue
when the command processing was complete.
•
>>>>.
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.