1328 Keysight InfiniiVision 4000 X-Series Oscilloscopes Programmer's Guide
35 :TRIGger Commands
:TRIGger[:EDGE]:SLOPe
(see page 1610)
Command Syntax
:TRIGger[:EDGE]:SLOPe <slope>
<slope> ::= {NEGative | POSitive | EITHer | ALTernate}
The :TRIGger[:EDGE]:SLOPe command specifies the slope of the edge for the
trigger. The SLOPe command is not valid in TV trigger mode. Instead, use
:TRIGger:TV:POLarity to set the polarity in TV trigger mode.
Query Syntax
:TRIGger[:EDGE]:SLOPe?
The :TRIGger[:EDGE]:SLOPe? query returns the current trigger slope.
Return Format
<slope><NL>
<slope> ::= {NEG | POS | EITH | ALT}
See Also • "Introduction to :TRIGger Commands" on page 1295
• ":TRIGger:MODE" on page 1308
• ":TRIGger:TV:POLarity" on page 1379
Example Code
' TRIGGER_EDGE_SLOPE - Sets the slope of the edge for the trigger.
' Set the slope to positive.
myScope.WriteString ":TRIGGER:EDGE:SLOPE POSITIVE"
See complete example programs at: Chapter 44, “Programming Examples,”
starting on page 1619