Power Sensor Automation

53 views
Skip to first unread message

Rob Feldman

unread,
Apr 28, 2022, 12:33:20 PM4/28/22
to VNA Tools
I currently have the VNA Tool's Journal being created automation code using .Net.  I am trying to figure out the correct way to initiate the power sensor measurement journal item. I am able to manual make these measurements using the VNA Tools II GUI, so I believe that I have everything setup correctly and can take the measurements correctly.

I am currently calling the "AddMeasurementJournalItem(String, String, IVna)" method from Metas.Vna.Journal Namespace

This method will automatically control the VNA, take the sweep and store the data to the correct file path.  

When I call the "AddPowerSensorMeasurementJournalItem(String, Int32, String, Bool, Bool, Double, Int32, Int32, String)" method from the Metas.Vna.Journal Namespace, no data is collected.

Is there something that I am missing or need to call instead?  Thanks in advance!

Michael Wollensack METAS

unread,
Apr 29, 2022, 1:20:58 AM4/29/22
to VNA Tools
The power sensor and the VNA sweep is measured with 

Metas.Instr.Driver.Vna.VnaHelper.MeasureEachFrequencyCW

and the mean of the CW data is computed with

Metas.Vna.Data.VnaDataTools.MeanCWData

and the power sensor data is added to VNA data with

Metas.Vna.Data.VnaDataTools.AddPowerSensorMeasurement

Please make sure that you don't violet the license of VNA Tools. You are not allowed to internally or externally redistributed VNA Tools with your automated code. If you want or need that you need to get in contact with us.
Reply all
Reply to author
Forward
0 new messages