Keysight E5260/E5270 Programming Guide, Edition 4 4- 139
Command Reference
Command Reference
WS
The WS command causes the E5260/E5270 to enter a wait state until the
E5260/E5270 receives an external trigger from the Ext Trig In terminal. To set the
trigger logic (initial value: negative), send the TGP command for the Ext Trig In
terminal.
To end a wait state before the trigger, execute the AB or *RST command.
Syntax WS [mode]
Parameters mode : Waiting mode. Integer expression. 1 or 2.
If this parameter is not specified, mode is set to 1.
Remarks The E5260/E5270 checks its trigger flag to confirm the present trigger status,
received or none. To clear the trigger flag:
• Enter the *RST or device clear command (HP BASIC CLEAR statement).
• Enter the TM3 command.
• Enter the TM1, TM2, or TM4 command to change the mode from TM3.
• Enter the OS command.
• Trigger the E5260/E5270 to start measurement via the Ext Trig In terminal.
• Trigger the E5260/E5270 to recover from wait state set by the WS command via
the Ext
Trig In terminal.
Example
Statements
OUTPUT @E5270;"WS 2"
mode Description
1 Continues the operation if an external trigger was
already received. Otherwise, the E5260/E5270
immediately goes into a wait state for an external
trigger.
2 In any condition, the E5260/E5270 immediately goes
into a wait state for an external trigger.