AnsweredAssumed Answered

Display Spectrum read from N1996A

Question asked by clive.packer on Jul 28, 2011
Latest reply on Aug 1, 2011 by MichaelWatts

I'm new to Vee and I'm trying to get my first program working. The goal is to capture a sequence of spectrum analyzer plots over a 24 hour period and save them as image files. I'm using IVI-COM to control a N1996A analyzer. I can get the spectrum data back from the analyzer and it comes in the form of a 1D array of 802 values where the even indices are frequency and odd indices are amplitude. After 2 days of struggling though I cannot figure out how to get this onto any of the display options in Vee. Spectrum expects a Spectrum data type, and the two X Y plot displays both want either Coord data or separate X and Y arrays. Surely there must be an easier way of getting a spectrum plot from the data read back from the analyzer? Can anyone point me in the right direction?