![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/2/3b/23ba8cda-819c-4b10-aca5-f04feaed384a/23ba8cda-819c-4b10-aca5-f04feaed384a-bg13f.png)
Commands by Subsystem 3
Agilent InfiniiVision 5000 Series Oscilloscopes Programmer's Reference 319
:TRIGger:MODE
(see page 530)
Command Syntax
:TRIGger:MODE <mode>
1234567890123456789012345678901234567890123456789012345678901234567890
<mode> ::= {EDGE | GLITch | PATTern | CAN | DURation | IIC | LIN | SPI
| TV | USB | FLEXray | UART}
The :TRIGger:MODE command selects the trigger mode (trigger type).
Query Syntax
:TRIGger:MODE?
The :TRIGger:MODE? query returns the current trigger mode. If the
:TIMebase:MODE is ROLL or XY, the query returns "NONE."
Return Format
<mode><NL>
<mode> ::= {NONE | EDGE | GLITch | PATTern | CAN | DURation | IIC
| LIN | SPI | TV | USB | FLEXray | UART}
See Also • "Introduction to :TRIGger Commands" on page 313
• ":TRIGger:SWEep" on page 323
• ":TIMebase:MODE" on page 304
Example Code
' TRIGGER_MODE - Set the trigger mode to EDGE, GLITch, PATTern, CAN,
' DURation, IIC, LIN, SPI, TV, USB, FLEXray, or UART.
' Set the trigger mode to EDGE.
myScope.WriteString ":TRIGGER:MODE EDGE"
Example program from the start: "VISA COM Example in Visual Basic" on
page 578