How to create a Spectrum Analyzer?

Hello people,
Well i need to create a Spectrum Analyzer in my application, to analyze the frequencies from a auido capture.
Any tips? Because i don't know where to start to develop this.
My best,
David

DavidHenriques wrote:
Ok i see. But how to create the graphics, exist some kind of free library related with this?You have a lot of learning to do and the FFT is the least of your worries. Check out Java implementations of the FFT from the source forge repository. Take a look at my second post in Perform Hamming window and FFT with Java for an outline of what you have to do to create the spectrum values. Take a look at JFreeChart for the display of the results though you might find it a bit slow when running real time (I use my own very very simple but fast charting).
You can do everything mechanically without any real understanding what you are doing but I hope your examiners are looking for more; I would be.

Similar Messages

  • How to measure static phase noise by N4440A spectrum analyzer

    Hi, i am new in the RF measurement, and i have to measure the static phase noise, stray and pulse modulation of a DUT, please explain me how to use the spectrum analyzer (N4440A) for this purpose. It will be very helpful for me if you explain the steps for the measurement. Thanks and best Regards

    Hi Ikram!
    This is Peter Erskine in Applications Engineering. I was not able to find any information on a N4440A Spectrum Analyzer. However, I was able to find information on a E4440A spectrum analyzer. This is a spectrum analyzer developed by Agilent, and you can find the user manual here. 
    If you are looking to use this spectrum analyzer in LabVIEW, National Instruments has the E4440A instrument driver page that will help you out. If you have any additional questions about how to use LabVIEW with this analyzer, please let me know. I will be more than happy to answer any questions you may have.
    However, if you are looking to get help on the spectrum analyzer itself (without the use of LabVIEW), I would suggest contacting Agilent's technical support either by phone or on their forums for additional information.
    Have a great day!
    Peter E
    Applications Engineer
    National Instruments

  • Repaints bumpy with spectrum analyzer component?

    Hi everyone,
    I have created a spectrum analyzer component for the MP3 player part of my open source application Playlist Editor. It works quite well but I currently struggle with some strange paint 'behaviour'.
    The component constantly paints amplitude values for a number of frequencies during playback. But although repainting is controlled by a Timer object so that repaints are equally distributed over a given time interval the repaints are done quite bumpy, even with more than 30 repaints per second.
    I have done plenty of testing without finding an explanation or solution. I finally prepared a preview of the appliciation with all sources included and a detail description of the issue.
    Perhaps I made a completely trivial mistake and there is a simple way of doing the painting differently?
    Anyone interested in looking into the component could you please visit http://www.lightdev.com/page85.htm and give it a try?
    Your help is most appreciated. Thank you for any help!
    Ulrich

    I think something in the rendering
    cycle must be programmed incorrectly,well, that is what I try to locate...; here is what tests have proven meanwhile
    java.util.Timer is not accurate enough to trigger repainting at a constant rate faster than approx. 300-500 ms
    with an own timer using the new System.nanoTime() method it is possible to call a method more exact, for instance every 150 ms or even every 10 ms
    a call to drawImage takes approx. 0.22 - 0.25 milliseconds
    calling drawImage more often than every 150ms does not lead to faster repaints so far (i.e. paints are done approx. every 150ms although drawImage is called more often)
    the rendering of such a small component
    should also be able to reach at least 10 FPS
    (possibly even 50-60 FPS)that is what I got from the document too, but the question is whether or not this can be done with 'normal' calls to paint() or drawImage() or whether there is another mechanism one can/has to use inorder to exectute calls to redraw an image more direct/imediately....
    from the other test figures it shows that neither the FFTs nor other computing inside the application take so much CPU load that it would be necessary to put these functions out for testing. There is plenty of CPU time left for faster painting but something stops the calls to drawImage from being executed faster than approx. every 150ms
    I'll keep everyone posted with new results but still anymore insights to painting and especially some more direct painting is most welcome!
    thanks a lot best regards
    Ulrich

  • How to read the data in spectrum analyzer (Anritsu MS2661C) and put it in Excel using Labview

    Hi all, I'm new to using the labview, and I have some trouble doing my project using the labview software.
    I have been trying to use the spectrum analyzer (Anritsu MS2661C) which connect to computer using the GPIB connection.
    I have got the instrument driver which can write and control the instrument using Labview 2010.
    and my Question is how do read the data or result from the spectrum analyzer and send it to the microsoft excel?
    Do I need to use other software or programming to do this step?
    If anyone know how is this done, please let me know.
    Regards,
    Ery

    Hi ery,
    In order to send data that you have read in from an instrument to Excel, the most convenient way to do this would be to use our Report Generation Toolkit.  The Report Generation Toolkit is a very useful tool that allows you to interface to Microsoft Office software from LabVIEW, including Word and Excel.  I am not sure if you are familiar with this, but I have attached a link that explains more about the Report Generation Toolkit below.  
    Another way would be to use the Write To Spreadsheet File VI.  While this will store your data to a spreadsheet data file, it will not allow you to programmatically perform any Excel formatting like the Report Generation Toolkit offers.  I have also attached a link to some information on the Write To Spreadsheet VI below.  
    Also, be sure to check out the Example Finder in LabVIEW for a number of examples on how to write data to a spreadsheet file.  From LabVIEW, you can go to Help»Find Examples to launch the Example Finder.  From there, you can search for "spreadsheet," which should populate examples for use in different applications.  I hope this helps, ery.  Please let me know if you have any further questions about these!
    NI LabVIEW Report Generation Toolkit for Microsoft Office
    Write To Spreadsheet File VI 
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • How to capture a .gif file from a spectrum analyzer and save the file in PC

    I want to capture a .gif file from a spectrum analyzer and save the file in PC, but I've got a problem when read data from the instrument. I'm not sure how to format the string got from the instrument , When I use "%s" or "%t" as the read string format the data got from the instrument is truncated.
    my code are as follows, could anyone tell me where i am wrong?
    char resultsArray[5000];
    viPrintf(hSpectrumInstr, ":MMEMTORCR 'CICTURE.GIF'\n");
     viQueryf(hSpectrumInstr, ":MMEMATA? 'CICTURE.GIF'\n", "%t", resultsArray);
     printf("%s", resultsArray);
     getchar();       
    Solved!
    Go to Solution.
    Attachments:
    readResult.docx ‏50 KB

    char resultsArray[5000];
    viPrintf(hSpectrumInstr, ":MMEMTORCR 'CICTURE.GIF'\n");
    viQueryf(hSpectrumInstr, ":MMEMATA? 'CICTURE.GIF'\n", "%b", resultsArray);

  • How can I get a Visa Reference Number on a Spectrum Analyzer?

    I have a GPIB Address of 18 on a 8593 EM Spectrum Analyzer. How can I get a VISA reference Number for my VI program

    You must have a pretty old version of LabVIEW if you need a session ID instead of just a VISA Resource. If that's the case, you need to first use an VISA Open function in which you specify a resource name of GPIB::18. The open function will return a unique ID that you wire to either VISA Write/Read or a subVI in a driver.

  • Obtaining Screenshot from Spectrum Analyzer - Not able to view the image created

    Hello,
    I am using the following code snippet in my program to get the screen shot from  Agilent Spectrum Analyzer , I am able to get a gif image created in the location specified but when i opened it I could not see any result.
    Please help out . I also tried with Interactive Utility still the same result , Am i missing something here or is there anything for me understand . please let me know.
    ibwrt(DeviceHandle,":MMEMTORCR 'CICTURE.GIF'",30);
    ibwrt(DeviceHandle,":MMEMATA? 'CICTURE.GIF'",28);
    ibrdf(DeviceHandle,"C:\\PICTURE.GIF");
    Thanks
    Meeran

    Dear Bala,
    I have got about 8 to 10 DC's out of which only this one is showing the missing structure and as this dc is being used by other dc's I am getting the error like missing component.  Previously we were using the client desktop and doin the work now we have shifted it to our individual systems.  Now any project I am creating whether from same track or different same problem comming the structure is missing.
    Regards,
    Ganesh
    Edited by: Ganesh Sawant on Sep 8, 2009 9:42 AM

  • ADVANTEST 3131A SPECTRUM ANALYZER AND labVIEW

     Hello, 
     Trying to control R3131A spectrum analyzer connected through GPIB-USB-B and my laptop using Labview8.5. 
     I want to read frequency(Hz) from R3131A,and i want to send my measurments to an exel file ... 
     I have install the labview 8.5,the Measurment and Automation for finding my instrument and i have download the Advantest R3131A Drivers-libraries  from  that page  ....                    http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=82   and then i install it in  Instrument I/O>Instrument Drivers palette.    I have read the examples code who coming with the drivers but i don't know which example  can help me...                                                                                                                                                                                                                                                                                                                                                                                      If someone knows something,or have an example code who doing that or other help,please send a message..                                                                                          thanks!..

    The typical way to make a measurement on any instrument is as follows:
    1.  setup the instrument for the measurement. 
    2.  carry out the measurement.
    3.  store result in a file
    1. In this case, you want to setup the instrument to carry out a frequency measurement.  Although I am not familiar with the Advantest SA, I'm sure it should be similar to the Agilent or Rohde & Schwarz SA.  So you first need to set the span wide enough to find the Center Frequency that you want to measure.  Then place a peak marker and set the center to the peak value.  You then narrow the span in order to improve your measurement.  Most likely adjust your resolution (BW) and place a peak marker.  You have now setup the instrument for the measurement.  The example should contain what you need to accomplish this.  Otherwise the user manual should give you the instructions on how to create the commands.
    2. You can read the values associated with the marker which will give you the frequency and amplitude.  There should be seperate instructions for these.  So you can read the frequency by itself.  There should be an example of this as it is a very basic measurement.
    3.  Storing the results... to Excel..  -sigh-  Most people refer to Excel, but end up needing to use a different function.  In any case, are you writing to an existing Excel Spreadsheet which already has information in it?  If not, you can use the "Write to Spreadsheet File.vi".
    R

  • Programming an application to communicate to an anritsu spectrum analyzer.

    Hi, i'm trying to create an application to communicate with the MS2601B, Anritsu Spectrum Analyzer through the GPIB port.
    I'm using a new GPIB card from National Instruments, model: 183617"k"-01, and the NI488.2 protocol.
    I have a problem when i send instructions as IBWRT or IBRD, the device doesn't make anythig, but it works when i send IBCLR or IBLOC, so i don't know what happens to it.
    I know it works perfectly with an old HPIB card, and using instructions as IOOUTPUTS or IOENTERS,
    Maybe to communicate with this Spectrum Analyzer it's necessary to compile the program with a special file or library that i don't have.
    Also when i start the MAX 2.0 (Measurement & Automation Explore
    r) NI program, doesn't answer to the *IDN? query or to the especific commands (to control de instrument) i send to it.
    Need your help, please. Thanks

    Hello guillem,
    Thank you for contacting National Instruments.
    Open up MAX again, expand the Devices and Interfaces tree, right click on your GBIP card and select Scan for Instruments. Make sure that it successfully finds your instrument and does not give you any errors. If it is unable to find your instrument, check your cabling and connections.
    If MAX finds your instrument, right click on the instrument and select Communicate with Instrument to open the NI 488.2 Communicator. In the Send String field, type "*IDN?". You do not have to precede it with IBWRT to send the command. Click the Query button. If your instrument does not send a response, check to ensure that your instrument is 488.2 compliant. If it is not, you will need to obtain the
    specific command set for that instrument from the manufacturer.
    If everything checks out up to this point, open up LabVIEW. Instead of using the 488.2 functions to communicate with your instrument, try using the VISA functions. I have written a small VI that illustrates how to use the VISA functions to send a command to your instrument and receive data back. I was able to locate a driver set for the MS2601 in our Instrument Driver Network. You may also want to consider trying these. They may work for your instrument.
    If you are still experiencing problems, inspect your pins and cables. It is possible that one or more of your data pins may be damaged. Also, try communicating with a different instrument using the same card. Likewise, try communicating with the same instrument using a different card, if possible. All of these steps will help isolate the problem.
    I hope this helps! If none of this works and you are still having problems, let me know.
    Matthew C
    Appli
    cations Engineer
    National Instruments
    Attachments:
    VISA_Communication.vi ‏33 KB

  • Spectrum analyzer with sim and DAQ IV File

    Hello..
    i have a project that i need to design a Spectrum analyzer with simulation mode and DAQ option. ( so you can generate input signal from LabView and DAQ.
    all i look for is a modern Spectrum anlyzer VI file for reference and education purposes
    i know there are examples out there in LabView but, i need a modern one with a lot of options and features ( like Impulse respond, marker... filters.....)
    there is something i found here on the website, it happen long time ago, and some proffessor from Vietnam created such project. its not with DAQ, but its great for me.
    here is the link:
    http://digital.ni.com/worldwide/singapore.nsf/web/all/42B390E4624228D486257249001A5349
    this kind of Spectrum anlyzer looks great
    most appreciate for any help

    Hi Eldad,
    Thanks for posting and welcome to the NI forums!
    The
    application you have linked uses LabVIEW to control a Tektronix TDS220
    over RS232 (a.k.a. serial port).  The TDS220 has a 1GHz sample rate
    with a 100 MHz bandwidth--the specs on our DAQ devices don't go nearly
    this high, our High Speed Digitizers
    would be a better option if you need something comparable.  Also, the
    programming of the two devices (TDS220 vs. DAQ) is going to be quite
    different, so I am not sure how helpful the code from the link would be
    for your application.  I don't have access to the code or permission to
    post it here, but you could always try contacting the original author
    (his contact info is in the link you provided, not sure if it's up to
    date or not).  Again, I'm not really sure how helpful the code would be
    for you.
    You might want to take a look at the following example to see if it does what you need:
    NI-DAQmx: Benchtop Spectrum Analyzer
    There
    are also numerous examples that are installed with the DAQmx Driver to
    help you get started with the API.  You can access them from LabVIEW by
    going to:
    Help >> Find Examples... >>  Hardware Input and Output >> DAQmx
    There
    may not be a ready-made example that will do everything that you
    require, but the above should give you a good starting point for
    implementing the necessary features yourself.  If you run into any
    specific issues while trying to program, please don't hesitate to post
    to the forum and we'll be more than happy to help out.
    -John
    John Passiak

  • Spectrum analyzer gui example

    I am trying to construct a GUI to control and display an Agilent E4408B spectrum analyzer.
    I have created a serial connection to the spectrum analyzer and have managed to control it and query for frequency and power using SCPI commands
    sent across the serial link, so I know the serial connection works.
    However I am getting nowhere in trying to make a GUI using Labview. I have downloaded the drivers and there seem to be bits of the functionality I need
    but I do not know how to "hook up" the serial connection to these bits.
    Does anyone have an example of a similar applcation in Labview? It does not need to be an agilent specan, any instrument that has driver supprot and uses serial communication would be a good example.
    Many thanks!

    Hi NIer,
    I am new to Labview and trying to build a GUI controlling Agilent E4408B using GPIB-USB-HS. I have downloaded the driver (plug and play) from NI website however the downloaded document makes me confused where to start. Would you mind sending me a proper tutorial document please? Any suggestion will be highly appreciated!
    I need this to be done urgently and hope you can help!
    Thanks a lot!
    Yang 

  • Where can I find Labview drivers for the RSA 3308A Spectrum Analyzer

    I need to use Tektronix's Spectrum Analyzer RSA 3308A as a LabView environment
    instrument for my school project, I would like to know if there are available
    drivers, if no drivers are available which are the implied software/software
    requirements to achieve this goal.

    NI doesn't have a driver and I couldn't find one on Tek's web site. That seemed kind of strange to me so you might want to contact Tek directly and see if they have something. If that comes up blank, you have several options. LabVIEW has the Instrument I/O Assistant (on the Instrument I/O palette), that will alllow you to create a series of writes and reads to an instrument and parse results. The assistant lacks flexibility but if your needs are fairly simple, it might be all you need. Of course, you'll need to be familiar with the instrument's command syntax. A step up the assistant is to use a series of VISA Read and Write commands. These would commands similar to what you would use with the assistant - tailored specifically for your application. You gain some flexibility because you can easily vary the command parameters with LabVIEW variables. At the top of the complexity ladder is developing a full blown instrument driver yourself. NI has some great tools to make this easier than it has ever been before. The guidelines and links to the tools can be found here. Lastly, you can request that NI develop a driver here. There is no guarantee the they will develop it as they base that decision on things like how many requests they get for a particular instrument.

  • How to create a query view in sap bw?

    can any one please tell me how to create a query view in sap bw 3.5?

    Hi,
    you can do this by using Bex analyzer and WAD ..
    gop through this link ..
    http://help.sap.com/saphelp_nw70/helpdata/en/0e/1339427f82b26be10000000a155106/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
    hope this helps you ..
    Reagrds,
    shikha

  • How to create the layout for query in Bex 3.5

    Hi All,
    i have one requirement to do layout for query. Report like after passing the variable values and then they will select the required layout. It has to get output according layout selection fields.
    i have no idea about how to create layout.
            thanks in advance...
    Thanks & Regards,
    Mallikarjuna.k

    Hi Gregor,
    In the note 1149346 that you have mentioned, it says -
    You must start the input-ready query in change mode.
    BEx Analyzer: In the properties of the analysis grid, the switch
    "Suppress new rows" must not be set.  Furthermore,
    the switch "Allow entry of plant values"
    must be set in the local query properties.
    I have not seen this setting Allow entry of plant values in a query - can you tell what is refers to?

  • How to create the relationship between ESSBASE 11 and DM in OBIEE11

    Hi Experts,
    I have one requirement that there is one property table named 'Store Master' in DW,and it contains a lot of attribute, such as Open Date, Close Date, IS 24 Hour etc.
    But another data source is essbase and based on this source, I create all reports.
    In ESSBASE, it has one dimension and hierarchy Location, and it has four level, Country(L1),Region (L2),Province(L3),Store(L4)
    So I want to know how to create the relationship between Location (ESSBASE) and Store Master (DM).
    I try to create one relationship in physical layer between Gen4,Location and Store, then drag the open date and close date into Location Dimension in BMM,then Presentation Layer.
    When I drag column 'Open Date' ,'Gen4,Location ' and 'Sales' into reports, it will generate the following error message:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 14020] None of the fact tables are compatible with the query request Dim Region.Store Open Date. (HY000)
    However, when I remove the column 'Open Date'. it will be ok.
    So what I missing the steps? Please help me. Thanks.

    >
    '2. Now, pull the 'Store' column from relational DB onto the Gen5, Location column from Essbase. This action now creates, two logical sources for your 'Store' column.'
    If the length from different data source is not same,such as 1001(DM),L_1001(ESSBASE), can I drag the 'Store' column from relational DB onto the Gen5, Location column from Essbase?
    I think it does not work.Right?Hi,
    I am not sure if you are talking about the length(as in varchar(128)) of the member value being different in different sources, or the member itself is different in both the sources.
    I am still assuming, that you are referring to the members not same in both the sources.If it is, the whole concept of federation is based on conforming dimensions. So, it needs that the same dimension information is present in both the sources and then only, you know we can analyze the numbers based on this dimension. So, either the dimension being different in both sources, or the members not present in both the dimensions might lead to incorrect numbers.
    So I select Store Attributes in relation DB and Location in ESSBASE in physical layer, then create the physical join, such as right("Hour Sales"."H_Sales".""."H_Sales"."Gen6,Location",4) = "Authorization".""."EDW"."T_EDW_MDM_STORE"."US_CODE", then drag the OPEN_DATE and CLOSE_DATE in relation DB to Location in ESSBASE in BMM,finially drag them into presentation layer.We create physical layer relationships, to send over the same relation to the underlying database during querying. So, creating a physical relationship between essbase cube and relation database would not help here.
    When you set up this federation, BI Server sends individual queries to each source and maps the conforming dimension members internally.
    Hope I was clear, and this helps.
    Thank you,
    Dhar

Maybe you are looking for

  • Audio tag not working in safari 5.1.7 browser on windows 7 machine

    Hi, I have a query. I need to play mp3 sound in the safari 5.1.7 browser on windows 7 machine using javascript code. I have tried all the three tags(<audio> <embed> and <object>) for playing mp3 audio in the javascript function. But I am not able to

  • Adobe Acrobat 8 text search not working

    Hi, I am trying to search for text in a pdf produced by oracle (not that it should matter) and nothing is being found. Any ideas. I can highlight a work and it's loaded automatically when I enter Control F but the reader cant find it. I wish I'd neve

  • HT4623 plz help with my iphone 4

    i have an iphone 4 and need to get a version update. i also need a software update and ios new version. ive taken it to radioshack 2 times i even leave it there for them to fix it. but they havent gotted that done. ive even called verizon to help me

  • Type size in printed email

    How can I increase the font size when I print email?  It is printing with a 4 or 5 point font.

  • Duplicate messages from weeks ago

    Ever since upgrading to Leopard last month, Mail has been retrieving messages from one of my accounts that date back to weeks previous, which have already been retrieved. Every day I receive 5-20 "new messages" which I have already read. I saw this i