![Tektronix WCA230A Programmer'S Manual Download Page 639](http://html1.mh-extra.com/html/tektronix/wca230a/wca230a_programmers-manual_1078249639.webp)
Programming Examples
WCA230A & WCA280A Programmer Manual
4- 15
Macro Program Execution Sample
This section shows a macro program execution sample. The macro programs are
installed under the following directories in the analyzer:
H
Macros specific to a user:
C:\Program Files\Tektronix\wca200a\Python\wca200a\measmacro
\nonregistered
H
Macros included in a option:
C:\Program Files\Tektronix\wca200a\Python\wca200a\measmacro
\registered
In the example below, the following macro folders are placed in these directories:
MacroTest1, MacroTest2, and MacroTest3 under the
nonregistered
directory
MacroTest1, MacroTest4, and MacroTest5 under the
registered
directory
The MacroTest1 macro folder contains macro commands test1, test2, and test3.
MacroTest1 MacroTest2
MacroTest3
test1
test2
test3
MacroTest1 MacroTest4
MacroTest5
C:\Program Files\Tektronix\wca200a\Python\wca200a\measmacro
\nonregistered
\registered
Macro folders
Macro commands
Figure 4- 1: Saving the macro programs
Suppose that the following variables have been defined in the macro command
test1:
LOW_LIMIT, HIGH_LIMIT (numeric parameters)
ERROR_MESSAGE (character string parameter)
RESULT (measurement results (numeric values))
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: ......