12-11-2011 02:39 AM
I have LabWindows/CVI 2009 with the advanced libraries.
Which functions should I use to build a spectrum analyzer?
The spectrum need to follow these functions:
Max Hold (of the current trace)
Min Hold
Bandwidth
Points and SweepTime
There are built functions on these advanced libraries which I can take use of?
Thanks.
12-12-2011 01:09 PM
Hi dasd3ff,
You’re going to want to get the drivers for your Spectrum Analyzer first (ni.com/drivers).
There should be some example programs in there that will help you start out. There should also be commands for your device that will help you accomplish the functionality you’re talking about.
Here’s a link to an example Spectrum Analyzer (it’s a little old ‘06, but it might give you a good starting point - http://zone.ni.com/devzone/cda/epd/p/id/3831).
Regards,
Michael Miracle
NI Americas | AE
12-12-2011 01:27 PM - edited 12-12-2011 01:33 PM
Thanks, Michael.
I don't use any RF hardware, I just simulate the frequencies.
I only need to know if there are some built-in functions as I described above.
I have CVI 2009 full (with the advanced libraries) and I don't know if there are other add-ons or toolkits included in that package such as NI Spectral Measurements Toolkit 1.1.2 .
Therefore, I look for functions I can take use of in the CVI itself.
I will be thankfull if you'll direct me for specific functions in the CVI(either in the advanced library or other libraries) or in Toolkits/addones (either freeware or included in the CVI full payment) to accomplish my goal.
Thanks again,
Chiko.
12-13-2011 05:57 PM
Hi dasd3ff,
I’m sorry, I assumed you would have hardware that you could work with.
You should be able to use the CxFFTEx function to get a FFT from your data and then manipulate your data to do the operations you’re talking about (http://zone.ni.com/reference/en-XX/help/370051P-01/cvi/libref/cvicxfftex/). Are you looking for more specifics?
Regards,
Michael Miracle
NI Americas | AE
12-28-2011 05:45 AM
Thanks again.
And yes, I know about the FFT functions.
As I said before, I am looking for built in methods for Bandwidth filltering and for Max/Min Hold functions.
There are alot of funtions in the advanced library and I don't know which I should use for these goals. Can you point me?
12-29-2011 05:59 PM
Hi dasd3ff,
I don’t believe we have specific functions for what you’re looking for.
I think you’d have to create the Max/Min hold through taking sweeps and comparing min/maxes from there.
You could do the bandwidth filtering by using a sinc fuction and windowing the bandwidth.
I hope that helps, sorry for the unfortunate response.
Regards,
Michael M
NI Americas | AE