05-06-2013 01:02 PM - edited 05-06-2013 01:14 PM
Hello,
I use a spectrum analyzer (Agilent E4440) and wish to acquire the measured spectrum, in tabular form. With the examples given by the manufacturer, I can get the track, but I would like to have directly in a table (2 columns: X and Y), without having to export it to Excel (etc. ..) . But the trace is a cluster of an initial value X, an X delta and a table of data Y. Is it possible to extract a table of X data in order to generate a table X, Y?
Thank you very much,
Adrien
PS : Sorry for my english
Solved! Go to Solution.
05-06-2013 01:35 PM
What you called a trace is probably a wire containing the waveform data type. The X array does not exist anywhere but you can easily create one.
You can use the Ramp Pattern.vi from the Signal Processing >> Signal Generation palette or you can use a for loop. In the loop you start with the X0 and add i*delta X on each iteration. Create the X-array by autoindexing the output.
Lynn
05-06-2013 02:04 PM
I tried the looped solution and it works fine 🙂 Maybe i will contact Agilent to know why the 'Read Data' is not enable to deliver the X array automatically, because it is a bit annoying when you want to do some automatic measurements when you sweep the parameters of your wanted signal. I hope that the loop calculation isn't too slow.
Anyway, Thank you very much!!