Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-130
707B-901-01 Rev. A / August 2010
Details
This attribute controls prompting. When set to
1
, prompts are issued after each command message is processed
by the instrument. When set to
0
, prompts are not issued.
The command messages do not generate prompts. The instrument generates prompts in response to command
messages.
When the prompting mode is enabled, the instrument 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),
localnode.prompts
is sent to the remote master node only.
Use
node[N].prompts
(where
N
is the node number) to send the command to any node in the system.
Example
localnode.prompts = 1
Enable prompting.
Also see
(on page 7-133)
(on page 7-130)
localnode.prompts4882
This attribute enables and disables the generation of prompts for IEEE Std. 488.2 common commands.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Not saved
Enabled
Usage
prompting = localnode.prompts4882
localnode.prompts4882 = prompting
prompting
IEEE Std. 488.2 prompting mode
Details
When set to
1
, the IEEE Std. 488.2 common commands generates prompts if prompting is enabled with the
localnode.prompts
attribute. If set to
1
, limit the number of
*trg
commands sent to a running script to 50
regardless of the setting of the
localnode.prompts
attribute.
When set to
0
, IEEE Std. 488.2 common commands will not generate prompts. When using the
*trg
command
with a script that executes
trigger.wait()
repeatedly, set
localnode.prompts4882
to
0
to avoid
problems associated with the command interface input queue filling.