Setup Receiver Leveling

The following VB Script example exercises the COM commands used to setup Receiver Leveling.

See Also

About Receiver Leveling

RxLevelingConfiguration Object

See Other COM Example Programs

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 on the PNA hard drive as RxLevel.vbs. Learn how to setup and run the macro.

' Demonstrate some COM commands for Receiver Leveling.

Dim pna

Set pna = CreateObject("AgilentPNA835x.Application")

Dim chan

Set chan = pna.ActiveChannel

Dim RxLevel

Set RxLevel = chan.GetRxLevelingConfiguration

Dim srcPort

srcPort = 1


RxLevel.ReferenceReceiver(srcPort) = "R1"

RxLevel.Tolerance(srcPort)= 0.02

RxLevel.IterationNumber(srcPort)= 10


RxLevel.LevelingIFBW(srcPort)= 100

RxLevel.PowerOffset(srcPort)= 0

RxLevel.PowerMax(srcPort)= 20

RxLevel.PowerMin(srcPort)= -50

RxLevel.SafeMode(srcPort)= True

RxLevel.State(srcPort)= True

Last Modified:


MX New topic