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.
Содержание WCA230A
Страница 13: ...Getting Started...
Страница 14: ......
Страница 24: ...Getting Started 1 10 WCA230A WCA280A Programmer Manual...
Страница 25: ...Syntax and Commands...
Страница 26: ......
Страница 92: ...CALCulate Commands 2 66 WCA230A WCA280A Programmer Manual...
Страница 100: ...CALibration Commands 2 74 WCA230A WCA280A Programmer Manual...
Страница 114: ...CONFigure Commands 2 88 WCA230A WCA280A Programmer Manual...
Страница 270: ...DISPlay Commands 2 244 WCA230A WCA280A Programmer Manual...
Страница 320: ...FETCh Commands 2 294 WCA230A WCA280A Programmer Manual...
Страница 326: ...HCOPy Commands 2 300 WCA230A WCA280A Programmer Manual...
Страница 330: ...INITiate Commands 2 304 WCA230A WCA280A Programmer Manual...
Страница 350: ...MMEMory Commands 2 324 WCA230A WCA280A Programmer Manual...
Страница 356: ...PROGram Commands 2 330 WCA230A WCA280A Programmer Manual...
Страница 396: ...READ Commands 2 370 WCA230A WCA280A Programmer Manual...
Страница 554: ...SENSe Commands 2 528 WCA230A WCA280A Programmer Manual...
Страница 562: ...STATus Commands 2 536 WCA230A WCA280A Programmer Manual...
Страница 572: ...SYSTem Commands 2 546 WCA230A WCA280A Programmer Manual...
Страница 578: ...TRACe Commands 2 552 WCA230A WCA280A Programmer Manual...
Страница 594: ...TRIGger Commands 2 568 WCA230A WCA280A Programmer Manual...
Страница 598: ...Retrieving Response Message 2 572 WCA230A WCA280A Programmer Manual...
Страница 599: ...Status and Events...
Страница 600: ......
Страница 616: ...Status and Events 3 16 WCA230A WCA280A Programmer Manual...
Страница 623: ...Programming Examples...
Страница 624: ......
Страница 641: ...Appendices...
Страница 642: ......
Страница 660: ...Appendix C Factory Initialization Settings C 12 WCA230A WCA280A Programmer Manual...
Страница 668: ...Appendix E SCPI Conformance Information E 4 WCA230A WCA280A Programmer Manual...
Страница 669: ...Glossary and Index...
Страница 670: ......
Страница 672: ...Glossary Glossary 2 WCA230A WCA280A Programmer Manual...
Страница 676: ...Index Index 4 WCA230A WCA280A Programmer Manual...
Страница 677: ......
Страница 678: ......