Trigger Commands
Controls External Triggering on PNA-X and N522x models.
TRIGger: AUXiliary | COUNt CHANnel:AUXiliary | DELay | DURation | [ENABle] | INTerval | POSition | TYPE PREFerence | AIGLobal [SEQuence] | LEVel | ROUTE | INPut | READy | SCOPe | SOURce | SLOPe | TYPE |
Click on a keyword to view the command details.
Blue commands are superseded.
See Also
Example program Triggering the PNA
TRIGger:AUXiliary:COUNt?
(Read-only) Returns the number of AUX trigger input / output connector pairs in the instrument. |
|
Parameters |
|
Examples |
TRIG:AUX:COUN? trigger:auxiliary:count? |
Return Type |
Numeric |
Not Applicable |
TRIGger:CHANnel<ch>:AUXiliary<n>:DELay <num>
(Read-Write) Specifies the delay that should be applied by the PNA after the Aux trigger input is received and before the acquisition is made. |
|
Parameters |
|
<ch> |
Any existing channel number. If unspecified, value is set to 1. |
<n> |
Rear panel connectors used to send or receive signals.
If unspecified, value is set to 1. |
<num> |
Delay value in seconds. Choose a value between 0 and 3.0 seconds. |
Examples |
TRIG:CHAN:AUX:DEL .5 trigger:channel2:aux2:delay 1.5 |
Query Syntax |
TRIGger:CHANnel<ch>:AUXiliary<n>:DELay? |
Return Type |
Numeric |
0 |
TRIGger:CHANnel<ch>:AUXiliary<n>:DURation <num>
(Read-Write) Specifies the width of the output pulse, which is the time that the Aux trigger output will be asserted. |
|
Parameters |
|
<ch> |
Any existing channel number. If unspecified, value is set to 1. |
<n> |
Rear panel connector used to send or receive signals. Choose from 1 (AUX TRIG 1) or 2 (AUX TRIG 2) If unspecified, value is set to 1. |
<num> |
Duration value in seconds. Choose a value between 1us (1E-6) and 1 |
Examples |
TRIG:CHAN:AUX:DUR .1 trigger:channel2:aux2:duration .01 |
Query Syntax |
TRIGger:CHANnel<ch>:AUXiliary<n>:DURation? |
Return Type |
Numeric |
1E-6 |
TRIGger:CHANnel<ch>:AUXiliary<n>[:ENABle] <bool>
(Read-Write) Turns ON / OFF the trigger output. |
|
Parameters |
|
<ch> |
Any existing channel number. If unspecified, value is set to 1. |
<n> |
Rear panel connector used to send or receive signals. Choose from 1 (AUX TRIG 1) or 2 (AUX TRIG 2) If unspecified, value is set to 1. |
<bool> |
ON (or 1) - turns trigger output ON. OFF (or 0) - turns trigger output OFF. |
Examples |
TRIG:CHAN:AUX 1 trigger:channel2:aux2:enable off |
Query Syntax |
TRIGger:CHANnel<ch>:AUXiliary<n>:[ENABle]? |
Return Type |
Boolean |
OFF |
TRIGger:CHANnel<ch>:AUXiliary<n>:HANDshake <bool>
(Read-Write) Turns handshake ON / OFF. To enable handshake, the main trigger enable must also be set using TRIG:CHAN:AUX:ENAB. When ON, PNA waits indefinitely for the input line to be asserted before continuing with the acquisition. When OFF, the PNA acquires data without waiting. |
|
Parameters |
|
<ch> |
Any existing channel number. If unspecified, value is set to 1. |
<n> |
Rear panel connector used to send or receive signals. Choose from 1 (AUX TRIG 1) or 2 (AUX TRIG 2) If unspecified, value is set to 1. |
<bool> |
ON (or 1) - turns handshaking ON. OFF (or 0) - turns handshaking OFF. |
Examples |
TRIG:CHAN:AUX:HAND 1 trigger:channel2:aux2:handshake off |
Query Syntax |
TRIGger:CHANnel<ch>:AUXiliary<n>:HANDshake? |
Return Type |
Boolean |
OFF |
TRIGger:CHANnel<ch>:AUXiliary<n>:INTerval <char>
(Read-Write) Specifies how often a trigger output signal is sent. |
|
Parameters |
|
<ch> |
Any existing channel number. If unspecified, value is set to 1. |
<n> |
Rear panel connector used to send or receive signals. Choose from 1 (AUX TRIG 1) or 2 (AUX TRIG 2) If unspecified, value is set to 1. |
<char> |
Choose from:
|
Examples |
TRIG:CHAN:AUX:INT POI trigger:channel2:aux2:interval sweep |
Query Syntax |
TRIGger:CHANnel<ch>:AUXiliary<n>:INTerval? |
Return Type |
Character |
SWEep |
TRIGger:CHANnel<ch>:AUXiliary<n>:IPOLarity <char>
(Read-Write) Specifies the polarity of the trigger IN signal to which the PNA will respond. |
|
Parameters |
|
<ch> |
Any existing channel number. If unspecified, value is set to 1. |
<n> |
Rear panel connector used to send or receive signals. Choose from 1 (AUX TRIG 1) or 2 (AUX TRIG 2) If unspecified, value is set to 1. |
<char> |
Choose from:
Set Edge or Level triggering using TRIG:CHAN:AUX:TYPE |
Examples |
TRIG:CHAN:AUX:IPOL POS trigger:channel2:aux2:ipolarity negative |
Query Syntax |
TRIGger:CHANnel<ch>:AUXiliary<n>:IPOLarity? |
Return Type |
Character |
NEGative |
TRIGger:CHANnel<ch>:AUXiliary<n>:OPOLarity <char>
(Read-Write) Specifies the polarity of the Aux Output signal being supplied by the PNA. |
|
Parameters |
|
<ch> |
Any existing channel number. If unspecified, value is set to 1. |
<n> |
Rear panel connector used to send or receive signals. Choose from 1 (AUX TRIG 1) or 2 (AUX TRIG 2) If unspecified, value is set to 1. |
<char> |
Choose from:
|
Examples |
TRIG:CHAN:AUX:OPOL NEG trigger:channel2:aux2:opolarity positive |
Query Syntax |
TRIGger:CHANnel<ch>:AUXiliary<n>:OPOLarity? |
Return Type |
Character |
NEGative |
TRIGger:CHANnel<ch>:AUXiliary<n>:POSition <char>
(Read-Write) Specifies whether the aux trigger out signal is sent BEFore or AFTer the acquisition. |
|
Parameters |
|
<ch> |
Any existing channel number. If unspecified, value is set to 1. |
<n> |
Rear panel connector used to send or receive signals. Choose from 1 (AUX TRIG 1) or 2 (AUX TRIG 2) If unspecified, value is set to 1. |
<char> |
Choose from:
|
Examples |
TRIG:CHAN:AUX:POS BEF trigger:channel2:aux2:position after |
Query Syntax |
TRIGger:CHANnel<ch>:AUXiliary<n>:POSition? |
Return Type |
Character |
AFTer |
TRIGger:CHANnel<ch>:AUXiliary<n>:TYPE <char>
(Read-Write) Specifies the type of Aux input detection that the PNA will employ. |
|
Parameters |
|
<ch> |
Any existing channel number. If unspecified, value is set to 1. |
<n> |
Rear panel connector used to send or receive signals. Choose from 1 (AUX TRIG 1) or 2 (AUX TRIG 2) If unspecified, value is set to 1. |
<char> |
Choose from: EDGE PNA responds to the leading edge of a signal LEVel PNA responds to the level (HIGH or LOW) of a signal |
Examples |
TRIG:CHAN:AUX:TYPE EDGE trigger:channel2:aux2:type level |
Query Syntax |
TRIGger:CHANnel<ch>:AUXiliary<n>:TYPE? |
Return Type |
Character |
EDGE |
TRIGger:DELay <num>
(Read-Write) Sets and reads the trigger delay for ALL channels (globally). This delay is only applied while TRIG:SOURce = EXTernal and TRIG:SCOP = ALL After an external trigger is applied, the start of the sweep is held off for an amount of time equal to the delay setting plus any inherent latency. To apply a trigger delay for the specified channel ONLY, use SENS:SWE:TRIG:DELay |
|
Parameters |
|
<num> |
Delay value in seconds. Choose from 0 to 3. |
Examples |
TRIG:DEL .0003 Sets the trigger delay to 300 microseconds. The sweep will not start until approximately 300 microseconds after an external trigger is applied. |
Query Syntax |
TRIGger:DELay? |
Return Type |
Numeric |
0 |
TRIGger:PREFerence:AIGLobal <bool>
(Read-Write) Sets the Trigger OUT behavior to either Global or Channel. Learn more about this setting. This command will cause the PNA to Preset. This setting remains until changed again using this command, or until the hard drive is changed or reformatted. To send this command using the PNA front panel, open the GPIB Command Processor Console, then type either of the following examples at the command prompt. Then type the Query Syntax and press enter to be sure the PNA took the command. |
|
Parameters |
|
<bool> |
Choose from:
|
Examples |
TRIG:PREF:AIGL 1 trigger:preference:aiglobal 0 |
Query Syntax |
TRIGger:PREFerence:AIGLobal? |
Return Type |
Boolean |
0 |
TRIGger:READy:POLarity <char>
(Read-Write) Specifies the polarity of Ready for Trigger output. All existing Ready for Trigger outputs are configured simultaneously with this command. |
|
Parameters |
|
<char> |
LOW - Outputs a TTL low when the PNA is ready for trigger. HIGH - Outputs a TTL high when the PNA is ready for trigger. |
Examples |
TRIG:READ:POL HIGH trigger:ready:polarity low |
Query Syntax |
TRIGger:READy:POLarity? |
Return Type |
Character |
Low |
TRIGger[:SEQuence]:LEVel <char> - Superseded
This command is replaced with CONTrol:SIGNal (Read-Write) Triggers either on a High or Low level trigger signal. This setting only has an effect when TRIG:SOURce EXTernal is selected. |
|
Parameters |
|
<char> |
Choose from:
|
Examples |
TRIG:LEV
HIGH |
Query Syntax |
TRIGger[:SEQuence]:LEVel? |
Return Type |
Character |
LOW |
TRIGger[:SEQuence]:ROUTE:INPut <char>
(Read-Write) Specifies the connector to use for the external trigger input. |
|
Parameters |
|
<char> |
Choose from: SMB – Meas Trig In BNC DSTARB – Backplane Trigger Lines (PXIe DSTARB) STAR – Backplane Trigger Lines (PXI STAR) TRIG0 – Backplane Trigger Lines (PXI TRIG0) TRIG1 – Backplane Trigger Lines (PXI TRIG1) TRIG2 – Backplane Trigger Lines (PXI TRIG2) TRIG3 – Backplane Trigger Lines (PXI TRIG3) TRIG4 – Backplane Trigger Lines (PXI TRIG4) TRIG5 – Backplane Trigger Lines (PXI TRIG5) TRIG6 – Backplane Trigger Lines (PXI TRIG6) TRIG7 – Backplane Trigger Lines (PXI TRIG7) |
Examples |
TRIG:ROUTE:INP SMB trigger:sequence:route:input smb |
Query Syntax |
TRIGger[:SEQuence]:ROUTE:INPut? |
Return Type |
Character |
MAIN |
TRIGger[:SEQuence]:SCOPe <char>
(Read-Write) Specifies whether a trigger signal is sent to all channels or only the current channel. |
|
Parameters |
|
<char> |
Choose from:
|
Examples |
TRIG:SCOP
ALL |
Query Syntax |
TRIGger[:SEQuence]:SCOPe? |
Return Type |
Character |
ALL |
TRIGger[:SEQuence]:SLOPe <char>
(Read-Write) Specifies the polarity expected by the external trigger input circuitry. Also specify TRIG:TYPE (Level |Edge). |
|
Parameters |
|
<char> |
Choose from:
|
Examples |
TRIG:SLOP
NEG |
Query Syntax |
TRIGger[:SEQuence]:SLOPe? |
Return Type |
Character |
POSitive |
TRIGger[:SEQuence]:SOURce <char>
(Read-Write) Sets the source of the sweep trigger signal. This command is a super-set of INITiate:CONTinuous which can NOT set the source to External. |
|
Parameters |
|
<char> |
Choose from:
|
Examples |
TRIG:SOUR
EXT |
Query Syntax |
TRIGger[:SEQuence]:SOURce? |
Return Type |
Character |
IMMediate |
TRIGger[:SEQuence]:TYPE <char>
(Read-Write) Specifies the type of EXTERNAL trigger input detection used to listen for signals on the Meas Trig IN connectors. Edge triggers are most commonly used. |
|
Parameters |
|
<char> |
Choose from: EDGE PNA responds to the rising and falling edge of a signal. LEVel PNA responds to a level (HIGH or LOW). Use TRIG:SLOPe to specify Rising or falling - High or Low. |
Examples |
TRIG:TYPE EDGE trigger:sequence:type level |
Query Syntax |
TRIGger[:SEQuence]:TYPE? |
Return Type |
Character |
LEVel |
Last modified:
12-Nov-2013 |
Fixed trig:type |
23-Jan-2013 |
Removed <ch> argument from several commands |
12-Apr-2012 |
Removed reference to old models-big syntax fix |
28-Sep-2009 |
Fixed CHAN:AUXiliary commands |
11-Feb-2009 |
Added TRIG:SLOPe |
14-Mar-2008 |
Added READy:POL command |
22-Feb-2008 |
Clarified AIGL command |
24-Apr-2007 |
Clarified trigger source and scope |
15-Feb-2007 |
MX Updated for AUX triggering |