![Tektronix WCA230A Programmer'S Manual Download Page 626](http://html1.mh-extra.com/html/tektronix/wca230a/wca230a_programmers-manual_1078249626.webp)
Programming Examples
4- 2
WCA230A & WCA280A Programmer Manual
General Programming Procedure
You should generally use the following procedure to script a program:
1.
Setting the measurement mode
Using an :INSTrument command, select a measurement mode to set the
basic conditions.
[Example]
:INSTrument:SELect "SANORMAL"
Selects the normal spectrum analysis mode to set the basic conditions.
2.
Setting the measurement item
Using a :CONFigure command, select a measurement item to set up the
analyzer to the defaults.
[Example]
:CONFigure:SPECtrum:CHPower
Sets up the analyzer to the channel power measurement defaults.
3.
Detailed settings
Use :SENSe commands to set details for the measurement session.
[Example]
:SENSe:CHPower:BWIDth:INTegration 3MHz
Sets the channel power measurement range to 3 MHz.
4.
Acquiring data
Use an :INITiate or :ABORt command to initiate or stop data acquisition.
[Example]
:INITiate:CONTinuous ON
Initiates data acquisition in continuous mode.
To save or load the acquired data and settings, use an :MMEMory command.
[Example]
:MMEMory:STORe:IQT "DATA1"
Saves the acquired data in file DATA1.IQT.
5.
Obtaining the measurement results
Use a :FETCh or :READ command to obtain the measurement results.
[Example]
:FETCh:SPECtrum:CHPower?
Returns the channel power measurement results.
6.
Display
Use :DISPlay commands to set the display-related conditions.
[Example]
:DISPlay:SPECtrum:X:SCALe:OFFSet 800MHz
Sets 800 MHz for the minimum (left) edge of the horizontal axis in the
spectrum view.
Also refer to Chapter 4,
Programming Examples
.
Appendix C lists the default settings of the commands.
Summary of Contents for WCA230A
Page 13: ...Getting Started...
Page 14: ......
Page 24: ...Getting Started 1 10 WCA230A WCA280A Programmer Manual...
Page 25: ...Syntax and Commands...
Page 26: ......
Page 92: ...CALCulate Commands 2 66 WCA230A WCA280A Programmer Manual...
Page 100: ...CALibration Commands 2 74 WCA230A WCA280A Programmer Manual...
Page 114: ...CONFigure Commands 2 88 WCA230A WCA280A Programmer Manual...
Page 270: ...DISPlay Commands 2 244 WCA230A WCA280A Programmer Manual...
Page 320: ...FETCh Commands 2 294 WCA230A WCA280A Programmer Manual...
Page 326: ...HCOPy Commands 2 300 WCA230A WCA280A Programmer Manual...
Page 330: ...INITiate Commands 2 304 WCA230A WCA280A Programmer Manual...
Page 350: ...MMEMory Commands 2 324 WCA230A WCA280A Programmer Manual...
Page 356: ...PROGram Commands 2 330 WCA230A WCA280A Programmer Manual...
Page 396: ...READ Commands 2 370 WCA230A WCA280A Programmer Manual...
Page 554: ...SENSe Commands 2 528 WCA230A WCA280A Programmer Manual...
Page 562: ...STATus Commands 2 536 WCA230A WCA280A Programmer Manual...
Page 572: ...SYSTem Commands 2 546 WCA230A WCA280A Programmer Manual...
Page 578: ...TRACe Commands 2 552 WCA230A WCA280A Programmer Manual...
Page 594: ...TRIGger Commands 2 568 WCA230A WCA280A Programmer Manual...
Page 598: ...Retrieving Response Message 2 572 WCA230A WCA280A Programmer Manual...
Page 599: ...Status and Events...
Page 600: ......
Page 616: ...Status and Events 3 16 WCA230A WCA280A Programmer Manual...
Page 623: ...Programming Examples...
Page 624: ......
Page 641: ...Appendices...
Page 642: ......
Page 660: ...Appendix C Factory Initialization Settings C 12 WCA230A WCA280A Programmer Manual...
Page 668: ...Appendix E SCPI Conformance Information E 4 WCA230A WCA280A Programmer Manual...
Page 669: ...Glossary and Index...
Page 670: ......
Page 672: ...Glossary Glossary 2 WCA230A WCA280A Programmer Manual...
Page 676: ...Index Index 4 WCA230A WCA280A Programmer Manual...
Page 677: ......
Page 678: ......