See Also - Agilent Technologies PNA Series User And Programming Manual

Network analyzer
Hide thumbs Also See for PNA Series:
Table of Contents

Advertisement

Create and Cal a Noise Figure Measurement
This example program creates a Noise Figure measurement, then calibrates the measurement.
You MUST change the ECal Identification strings (in
Optional: Uncomment the following lines (in
Noise Receiver = Noise Receiver to Std (PNA) Receiver
Cal Method = "Vector" to "Scalar"
Receiver Characterization Method = "NoiseSource" to "Power Meter"
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 Noise.vbs.

See Also

NoiseFigure Object.
Accessing the NoiseFigure object and NoiseCal object using C#
See other COM Examples
windowNum = 1
channelNum = 1
set pna=CreateObject("AgilentPNA835x.Application")
set scpi = pna.ScpiStringParser
pna.reset
' Create noise figure measurement
set noise = pna.createcustommeasurementex(channelNum, "NoiseFigure", "NF",
windowNum)
set noisechan = pna.activechannel
' Create object to access noise-specific channel attributes
set noiseConfig = pna.activechannel.CustomChannelConfiguration
' Create guided noise calibration object on our channel
set noisecal = pna.GetCalmanager.CreateCustomCalEx(channelNum)
set noiseCalExtension = noisecal.CustomCalConfiguration
noiseCalExtension.NoiseSourceCold
' Substitute appropriate ECal identification strings here
tunerEcal = "N4691-60004 ECal 02821"
pullEcal = "N4691-60004 ECal 02297"
font).
Blue
font) to change these settings:
Blue
= 300
2271
Learn how to setup and run the
macro.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents