LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Which functions should I use to bulid a Spectrum Analyzer?

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.

0 Kudos
Message 1 of 6
(3,400 Views)

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

Message 2 of 6
(3,382 Views)

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. 

0 Kudos
Message 3 of 6
(3,379 Views)

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

0 Kudos
Message 4 of 6
(3,354 Views)

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?

 

0 Kudos
Message 5 of 6
(3,329 Views)

 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

0 Kudos
Message 6 of 6
(3,313 Views)