Syntax
Parameters
Remarks
Command Reference
Command Reference
TGP
The TGP command enables the trigger function for the terminal specified by the
port parameter. For the trigger function, refer to
TGP port,terminal,polarity[,type]
port :
Trigger port number. Integer expression. -1, -2, or 1 to 16.
-1: Ext Trig In terminal.
-2: Ext Trig Out terminal.
1 to 16: Port 1 to 16 of the digital I/O terminal.
terminal : Terminal type. Integer expression. 1 or 2.
1: Trigger input. Not available for port=-2.
2: Trigger output. Not available for port=-1.
polarity :
Trigger logic. Integer expression. 1 or 2.
1: Positive logic.
2: Negative logic.
type :
Trigger type. Integer expression. 0, 1, 2, or 3. Selects the function of the
trigger port. See
If this parameter is not specified, type is set to 0.
The function of type=0 is effective for all trigger ports regardless of the type value.
Then the PA and WS commands are used for the Ext Trig In terminal, and the OS
command is used for the Ext Trig Out terminal. Also the PAX and WSX commands
are used for the trigger input ports set by the TGP command, and the OSX command
is used for the trigger output ports set by the TGP command.
type=1 to 3 is available for a port only. If you send the command with the same type
more than once, only the last command is effective. type=0 is set for another ports.
If you send the TGP command with terminal=1 and port=1 to 16, the signal level of
the trigger input terminal is set to physical high.
If you send the TGP command with terminal=2, the signal level of the trigger output
terminal is set to logical low.
4- 114
Keysight E5260/E5270 Programming Guide, Edition 4
"Trigger Function" on page
Table
4-12.
2-30.