This VBScript (*.vbs) program can be run as a macro in the PNA. To do this, copy the following code into a text editor file such as Notepad and save it on the PNA hard drive as <filename>.vbs. Learn how to setup and run the macro.
See other COM Examples
of Active Parameters setup.
2, "Active Parameters", "IPwr"
ActParam.SweepType = 3 'naHOTS22MultiSweep
= -15 'Start power -15dBm
ActParam.DisplayInputPower(2) = 0 ' Set the display as the 0dBm input