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

Similar Messages

  • Advantest u3741 spectrum analyzer multiple channel traces

    Currently I have to design a virtual advantest u3741 spectrum analyzer. But the problem is, i can't configure out on how to put multiple trace channel that can be run simultaneously. In my design, there's only trace A channel and I need to add up 2 more that is trace B and trace C. Can someone please help me with this one. I've attached my vi's design and advantest u3700 llb
    Attachments:
    Try.vi ‏92 KB
    Try.vi ‏92 KB
    AVU3700s_LV7.llb ‏4979 KB

    Currently I have to design a virtual advantest u3741 spectrum analyzer. But the problem is, i can't configure out on how to put multiple trace channel that can be run simultaneously. In my design, there's only trace A channel and I need to add up 2 more that is trace B and trace C. Can someone please help me with this one. I've attached my vi's design and advantest u3700 llb
    Attachments:
    Try.vi ‏92 KB
    Try.vi ‏92 KB
    AVU3700s_LV7.llb ‏4979 KB

  • I Need some info about interfacing the PC or laptop to Spectrum analyzer using Labview

    we need to control  the spectrum analyzer using an interface   that will    be   developed  using  Labview  .
    Spectrum analyzer will be connected to tha PC using RS 232C and the waveform observed will be seen in the PC interface of spectrum analyzer.
    Pls send some info regarding dis.

    Using a spectrum analyzer with LabVIEW is a pretty common application, my first program 15 years ago did this. What we need to know to help you though is what model spectrum analyzer are you planning on using? Most of the ones I'm familiar with use the GPIB interface rather than RS232, but that isn't a major issue, the spectrum analyzers command set is the important one. There are a lot of LabVIEW drivers available for a larger number of analyzers, here on the National Instruments' site. Although most use the GPIB interface (or ethernet), they can be used as a starting point to develop an RS232 driver if one isn't available, assuming that there is a driver for the model that you have, or a closely related one (manufacturers frequently use similar command sets within a model type).
    So, what type analyzer are you using, and what types of things are you planning on doing with it?
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • 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);

  • Viewing spectrum analyzer on LabView

    I am using LabView 7.0 with agilent(HP) E4403B spectrum analyzer.
    I have no problem controling and getting measurements.
    How can I get on LabView the screen of the spectrum analyzer? I mean to see the screen just like if I was looking at the device itself?
    Tzviel

    Hi Tzviel,
    I don't have any experience with this device in LabVIEW, but are you using the instrument driver? You can find that here. There are several example VI's with this driver and there might be one here for what you are wanting to do. Please repost if you have questions with the driver. Thanks!
    JenK

  • RT Spectrum Analyzer and Fluctuatin​g Signal reading

    Hi There,
    I am just wondering if anyone can help me. I am quite new to LabVIEW. My first problem is that the input coming in from my cRIO is fluctuating. Basically my setup is thus: a cRIO, an NI 9205 module, a geophone. When I try to take RT data in and show on a graph it fluctuates. I have attached a printscrn of it. It appears like a sine wave.
    My main question is, I am wondering if there is any way in LabVIEW to analyze an acoustic signal in RT with a spectrogram? I have looked around online and there seems to be ways of doing it but there are just videos and pages demonstrating the results rather than how to go about creating a RT spectrogram.
    Perhaps someone might be able to point me in the right direction?
    Attachments:
    cRIO.jpg ‏61 KB

    Hi kelOb,
    Spectrogram is a set of advanced signal processing functions which are quite complicated and cannot be used in real time VI because the determinism of real time application. Hence you will need two vis in your project: one host vi which will run in windows dealing with signal processing and one cRIO vi which run in the cRIO hardware only to acquire data. The bridge between the host VI and the cRIO VI is the network published RT FIFO, which is similar to a queue but can be used to transfer data between Vis.
    Attached is an example project showing you how to analyse the RT data in spectrogram.
    If you have any other concerns please let me know.
    Attachments:
    Spectrogram.zip ‏21 KB

  • 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

  • Communications between LabVIEW and spectrum analyzer

    hi, im a beginner in LabVIEW and spectrum analyzer, and im now trying to let LabVIEW captures signal coming from spectrum analyzer. i have all the required components needed but i have totally no idea how to get started, is there any exercises or labs available here?

    It will depend on your method of communication with the device.  If it is RS232 you can go to the example finder (Help > Find Examples) and search for RS232 or however you plan on communicating with the device.  Or you can browse the catagories for examples on various topics. 
    Depending on the device the manufacturer may have LabVIEW drivers on their web site.  But anybody will need more information on the analyzer and the signals before you can be helped. 

  • DEVELOPING SPECTRUM ANALYZER

    Can one claim of DEVELOPING SPECTRUM ANALYZER using Labview? B'cos developing mean writing our own source code and not using the available vi's such as FFT.

    Are you developing the hardware, too? Or just the software?
    -Matt Bradley
    ************ kudos always appreciated, but only when deserved **************************

  • 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 

  • Spectrum Analyzer with NI-6111

    I am trying to build a two channel (simultaneous) spectrum analyzer using Labview 7.0 and the PCI-6111 DAQ. I can make one channel work but it is very slow, but cannot find a method to acquire the second channel while the first is running. Are there any samples that might be useful? Attached is what I have so far. Is there anything I can do to speed it up? Any suggestions are GREATLY appreciated.
    Attachments:
    Acquiring_a_Signal_with_FFT_&_DAQ_&_THD_&_OCTAVE_&_TAB_&_CASE.vi ‏452 KB

    I've attached an example that I've thrown together that acquires from two channels and performs an FFT of one or both channels (selectable). I didn't have a problem performing frequency analysis on multiple channels simultaneously. One thing to keep in mind though -- the more analysis you do while performing buffered acquisition, the more likely your CPU will run into trouble with transferring data. I hope my example helps.
    Regards,
    Todd D.
    Attachments:
    Example.vi ‏201 KB

  • 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

  • IVI Support for Spectrum Analyzer/Signal Gen

    Did anyone implemented IVI driver for Spectrum Analyzer or Signal genetrator according to the IVI foundation specifications?
    When will NI support these types in the measurement studio?

    Hagay,
    We are working to update our IVI architecture to be compliant with the latest IVI Foundation specifications, including support for the Power Meter, Spectrum Analyzer, and RF Signal Generator classes. Furthermore, support will be available for both MeasurementStudio, LabWindows/CVI, and LabVIEW.
    While National Instruments will have a select few instrument specific drivers available for the new classes, you should be able to obtain drivers from instrument vendors.
    Bankim Tejani
    Instrument Driver Group
    National Instruments

  • ESA-E Series E4402B Spectrum Analyzer, changing into talker mode

    I am trying to write a driver for the E4402B Spectrum Analyzer and I am able to get give the Spectrum instruction but I am unable to retrieve any information from the spectrum. Is there a sequence of commands that allows me to retrieve information or switches the spectrum into talker mode. thank you

    Hi,
    In order to keep the conversation managable, I will only post to one of these threads.
    See http://exchange.ni.com/servlet/Redirect?id=9098557
    Best Regards,
    Aaron K.
    Application Engineer
    National Instruments

  • Trying to acquire from Spectrum Analyzer CATV measurment​s.

    I am using an Agilent E4402B Spectrum Analyzer and can't seem to find any code that would help on the path of acquiring data from the Spectrum Analyzer. Need to acquire Carrier level and frequency, Depth of Modulation, and aural deviation. Currently using Techtronix Spectrum Analyzer and CSS 500 software with GPIB interface. Techtronix no longer makes the software and the scope I am using is not supported any longer for calibration or repair.

    Just have to go to the Instrument Driver Network and download it. An IVI driver is available here.

Maybe you are looking for

  • My iPhone does not appear in iTunes list?

    My phone makes the "plugged in " noise when I connect to the USB but does not appear as a device in the list on the left hand side of the itunes page.  There has not been a problem previously. Any suggestions?

  • Sound for when a USB key inserted

    For a decade or more I have used the wonderful launcher and program organizer DragThing by James Thomson - excellent.  It also gives me sounds for things like when I plug-in a USB key or insert a CD or DVD-- and lots more. But I'm now configuring a c

  • Information on 11g security

    Hi, DO we need to manually Create AD Authenticator at weblogic level ? As of now we see all LDAPs at RPD level in our project . But at weblogic level we have Default authenticator only . Admin Console-> Security Realms-> Providers . What are the step

  • My laptop locked after I don't use it for several minutes.

    Hi everyone, I have a really troublesome problem. My laptop is locked after I don't use it for several minutes. When I say locked, I mean it turns to where shows my account name and below it says locked. At first, I think it is cause by the Auto-lock

  • Uploading to my own domain namep

    Would someone be willing to give me step by step instructions for publishing a site from my iWeb(not all sites, just one--I have 3 sites in my iWeb as of now) to my newly purchased godaddy domain name? I know my way around iWeb but am a complete idio