AnsweredAssumed Answered

VSA 89600 obwPower Excel Macro

Question asked by novajeeper on May 6, 2010
Latest reply on May 10, 2010 by Kleb
I am trying to create a macro from Excel to collect the Occupied Bandwidth data from Trace B.  I can connect and but the data 89600 proveds back does not appear to be correct.  I'm assuming it has something to do with they way that I cam calling the Marker Object. 

The data that is returning from VSA is always 0.99, instead of what I am expecting, 9116564.67 Hz.

Any ideas??

Sub OBW()
      ' Set VSA as the active object
    Set g_oVectorVsa = GetObject(, "AgtVsaVector.Application")
    'Read the available Occupied Bandwitdh trace value from Trace B and write to active cell
    Excel.ActiveCell.Value = g_oVectorVsa.Display.Traces.Item(2).Marker.ObwPower
End Sub

Thanks all!