Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading only Peak Values from 8593 Spectrum Analyzer

Hi,
 
I have a HP 8593EM Spectrum analyzer and I need to read only the peak values.
 
I am using hp859x Getting Started.vi from the " Agilent Technologies / Hewlett-Packard hp859xx Analyzer Certified LabVIEW Plug and Play Instrument Driver http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E94DD659CE034080020E748... "
 
I think I need to arrange "hp859x Read Wvfm to Array.vi" subVI (this subVI reads 4096 byte from the VISA and creates a 400 valued array),
but I don't know how to do it. Instead of dealing with 400 frequency&values, I need to get only the peak values and relevant frequency value at that point. Is there any way to do that?
 
Thanks
 
P.S. I use LabView 8.2 Evaluation Version
0 Kudos
Message 1 of 7
(5,076 Views)
You should either check the array for peakvalues (doable in LabVIEW) but even better ask the spectrum analyzer for the peakvalues.
This means read the manual and check the driver if these commands are already available.

In both case you need to know what the difference between a real peak and noise.

greetings from the Netherlands
0 Kudos
Message 2 of 7
(5,071 Views)

Hi Albert,

This is an obsolete product according to HP-Agilent website. I have got only one printed material which includes some program examples for the hp-ux and hp-ux does not make sense to me.

In the labview driver, there is two option for reading waveform: "hp859x Read Wvfm to Array Ascii.vi" and "hp859x Read Wvfm to Array.vi" but they don't do what I need.

Solution might be using "hp859x Read Measurement.vi" and "hp859x Marker Stop and Continue.vi" in some kind of algorithm instead of reading full waveform ("hp859x Read Wvfm to Array.vi"), but I am not sure of this.

By the way, I am using a threshold value, which is the limit value of the test, to know whether it is a peak or noise.

Thanks

0 Kudos
Message 3 of 7
(5,067 Views)
Hello Serhat,
    I recommend that you contact Agilent to get some manuals for your instrument.  I took at quick look at the instrument driver and think that you might need to use "Configure Marker Peak" and possibly "Peak Sort", and then "Read Wvform to Array", but nothing can replace knowing how your instrument works, so I think that getting the manuals should be the first order of business.  Let us know how it goes.

Cheers,

NathanT
0 Kudos
Message 4 of 7
(5,057 Views)
Hi

the fastest way is to read in the waveform into array and then look at the
C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\measure\mamon.llb\Waveform Peak Detection for 1 Chan.vi

the only thing you need to check is how it works and if your data is in the correct  format.

good luck, and for a good manual, keep searching
greetings from the Netherlands
0 Kudos
Message 5 of 7
(5,049 Views)
Agilent still seems to provide the programming manual for that device as PDF on http://www.home.agilent.com/agilent/techSupport.jspx?pid=8593A%3Aepsg%3Apro&pageMode=MN&cc=US&lc=eng
0 Kudos
Message 6 of 7
(5,034 Views)

Hi everyone,

I put an image file and a vi file as an attachment.

I've just modified hp859xx Measurement Read.vi to read the marker's frequency and amplitude and put

them into the loop. (Marker read.vi in the attachment)

From the pdf manuals, I've found out that by using Marker -> High first followed by Marker -> Next Peak

I can browse on the waveform. When the marker reaches to the last peak, marker stays at that position.

So; I compare whether the last two readings are equal to finish the while loop (image file in the attachment).

Thanks for your help.

Serhat

0 Kudos
Message 7 of 7
(4,889 Views)