Please enable JavaScript to view this site.

 Network Analyzers using S2VNA software

To trigger a sweep using an external trigger, select the external trigger source using the TRIG:SOUR EXT command. The analyzer must be in the "Waiting for Trigger" state when receiving an external trigger; otherwise, the trigger is ignored. If continuous initiation mode is enabled with the INIT:CONT ON command, the analyzer automatically enters the "Waiting for Trigger" state upon completion of a sweep, otherwise an INIT command is required before each sweep.  

To run continuous sweeps, set the desired channels to the “Continuous” initiation mode using the INIT:CONT ON command. The “Continuous” initiation mode is also set for each channel with preset. In this case, the Analyzer will automatically enter the “Waiting for trigger” state after receiving the TRIG:SOUR EXT command. The Analyzer starts sweep  when it receives an external trigger. The analyzer returns to the “Waiting for trigger” state after the sweep is completed.

To run a sweep once, stop all open channels using the INIT:CONT OFF command for each channel. Next, issue the TRIG:SOUR EXT command, and then initiate one or more channels once with the INIT command. After this, the Analyzer enters the “Waiting for trigger” state. The Analyzer starts sweep  when it receives an external trigger. The analyzer enters the “Hold” state when the sweep is completed.

To wait for the sweep to complete, use the TRIG:WAIT ENDM command in conjunction with the *OPC? command. Note: when the “Continuous” initiation mode is used, the next sweep may start on an external trigger before the program has finished reading the data.

Example 3.a

Continuous sweeps using an external trigger and waiting for a sweep end. The example assumes that the “Continuous” initiation mode is enabled, for example, after a preset.

TRIG:SOUR EXT

<loop>:

TRIG:WAIT ENDM

*OPC?

...

Selects the external trigger source

 

Waiting for completion of sweep

Block execution until the previous command is completed

Reading data

 

Example 3.b

Using a single sweep trigger to ensure data readout. The example assumes that one channel is open.

INIT1:CONT OFF

TRIG:SOUR EXT

<loop>:

INIT1

TRIG:WAIT ENDM

*OPC?

...

Stop sweep

Selects the external trigger source

 

Initiate channel

Waiting for completion of sweep

Block execution until the previous command is completed

Reading data

 

Rev.:  24.1