EasyManuals Logo

Copper Mountain Technologies S2 Series User Manual

Copper Mountain Technologies S2 Series
428 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #411 background imageLoading...
Page #411 background image
S2VNA and S4VNA SCPI Programming Manual
411
Example 3. Starts sweep at the signal on the external trigger input.
Programmatically waits for its completion. The continuous initiation mode must be
turned OFF.
After completion of the sweep the analyser returns to the hold state, then the next
sweep initiation is available.
5.3 Waiting for Calibration Commands
Depending on the sweep settings the calibration commands may have long
execution time, as they start sweep and wait it completion. These commands are:
SENS:CORR:COLL:XXXX
SENS:CORR:OFFS:COLL:XXXX
SENS:CORR:REC:COLL:XXXX
SENS:CORR:COLL:ECAL:XXXX
SENS:CORR:COLL:ECAL:ORI:EXEC
The user program can determine the end of these command using any query, the
*OPC? for example.
5.4 VISA Timeout Considerations
When using the query *OPC? for waiting an operation the VISA timeout value must
be set to the value no less than the expected sweep time. For example in C/C++:
TRIG:SOUR EXT
INIT:CONT OFF
<loop>:
INIT
TRIG:WAIT HOLD
*OPC?
...
Selects the external trigger source
Puts channel 1 to the hold state
Puts channel 1 to the
trigger
waiting
state.
The sweep starts at external trigger signal
Waits for the end of the sweep
Any query is required
viSetAttribute(instr, VI_ATTR_TMO_VALUE, 5000);

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Copper Mountain Technologies S2 Series and is the answer not in the manual?

Copper Mountain Technologies S2 Series Specifications

General IconGeneral
BrandCopper Mountain Technologies
ModelS2 Series
CategoryMeasuring Instruments
LanguageEnglish