Controlling signal generator, spectrum analyzer

Hi,
     I want to automate 8656B signal generator(HP make),8590A spectrum analyzer(HP make) using labVIEW 8.6.I'm using GPIB interface to connect the instruments.Do I've to install drivers for signl generator and spectrum analyzer?what should I do?can anyonet ell me from scratch.
Thanks
kiranmayi

You should also get both the programming manuals for the instruments. Remember that Labview drivers is not really drivers. They are more a program for controlling some instrument. The are seldom complete, regarding all instrument functions. Use them as a base for your own application
Steps:
1 download the driver
2 Unzip to a separate folder
3 Read the documentation
4 Test the "driver"
5 Good Luck, post again if you are stuck
Message Edited by Coq Rouge on 08-14-2009 09:49 AM
Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)

Similar Messages

  • Spectrum Analyzer with Tracking Generator - do I have what it takes?

    Hi Guys and Gals,
    I need to profile the response of some filters in an ultrasonic bit of hardware. I've been told that a Spectrum Analyzer with a Tracking Generator will do what I want in a short space of time, but I don't have one. Problem is I don't know what a spectrum analyzer is (beyond the obvious - analyses the frequency spectrum response).
    I have a 100MHz Arbitrary Function Generator under LV control and I have a LeCroy 600MHz Oscilloscope under LV control and I know a bit about writing LV.
    The question is, can I use the AFG, the Oscilloscope and LabVIEW to make myself a Spectrum Analyzer to do the job?
    Any suggestions or pointers gratefully received.
    Dr Phil

    I believe a Network Analyzer will be of use to you, and fortunately you have the makings of one.  A NA will tell you the amplitude and phase response.  The easiest thing to do is to split the signal from the AFG (use a T) and send one signal straight to the scope and the other to the input of the DUT (device under test).  Connect the DUT output to the second channel of the scope.  Simply measure the ratio of the amplitudes and the relative phase of the two channels and you are all set.  The scope probably has these functions built in, otherwise acquire the time series and let LabVIEW do the work (you can also take the power spectrum if you really want a spectrum analyzer).   If you want to be careful, make sure that the cable lengths in the two paths are equal, but at ultrasonic frequencies I wouldn't worry about it at all.
    -Darin

  • Using Labview control Agilent 33120A signals generated occurs an error occurs

    hello,
    The signal generator is the Agilent (33120A)
    In Measurement & Automation which have caught this device (see below)
    But VI execution to half Shique the following error window
    in Initialize.vi, there is a problem
    Such as photos
    Seems to be unable to distinguish the devices?
    How can i solve this problem? thanks~

    Hi
    Noticed that you are using serial port to communicate to instrument. Would you please double-check the serial setting parameters, such as Baud Rate, Flow Controls and etc. are insistent with the configuration on instrument? Or would you please try to use other interface rather than serial port.
    If you have tried everything I mentioned above and it still raised that error, please manipulate the NI I/O Trace (You could find it in Windows Start menu) tool to trace and log the communication between PC and instrument. I should be helpful to analyze the root course if you investigate into that trace log. It would be great if you post it here!
    Thanks,
    - Charles

  • 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

  • How to control individual channel of signal generated from digital waveform generator?

    Digital waveform generator has 8 channels. I need to generate two different signals to HSDIO. How to modify and control two different channels? Also, how to translate pin outs from PXI-6541 to channels? I need to control signal into pin 1,3,29,and 31 individually.
    Thank you!!
    Solved!
    Go to Solution.

    You must combine your individual data into an array.  The digital waveform is simply a digital representation of the binary array.  It still boils down to bit 0 of each array element going to channel 0 (or the first channel you specify in Create Dynamic Channels).  The next bit goes to the next channel.  My last post is quite clear.  To display the array in binary, right click on an array element, then select Display Format, then select Binary.  You can also right click on the element, select Visible, then select Show Radix to display the small b before the number.  One more thing, in the Display Format window, uncheck the box next to Use minimum field width.  Then set the numeric just under the box to 8.  Then select Pad with zeros on left in the box below.
    You should not use waveforms until you learn more about how the HSDIO operates on input data.  It isn't hard to combine waveforms, but it also isn't as clear as using an array of U8 or U16 or U32.
    Trying to explain further.  The first number to be writen to the HSDIO will have this effect:  Bit 0 (LSB) of the number gets written to the first HSDIO channel you specify.  Bit 7 goes to the 8th channel you specify.  If you don't specify 8 channels, the bits get ignored.  So wiring in one number will produce only one bit on each channel.  In other words, the number already combines the bits of all the channels you specify.  You don't combine anything yourself.  Look again at my picture on my last post.  By wiring in an array, you cause a bit pattern to be generated.
    I hope this is more clear.
    - tbob
    Inventor of the WORM Global

  • E4407B Spectrum Analyzer control

    Dear all,
    I was using the E4407B spectrum analyzer from made by Agilent company.
    Also, I designed the LabView program to control the E4407B.
    But it occurred to me some question.
    Once i connect E4407B to LabVIEW program, i could not control the E4407B manually until i turn off it and turn on it.
    Please let me know how to control E4407B manually while i connect E4407B to LabVIEW program.
    Regards,
    Kwangbog Ham
    NURI Telecom
    Hardware engineer/Assistant Manager
    Solved!
    Go to Solution.
    Attachments:
    (E4407B)Acquire Trace-Cluster.vi ‏183 KB

    Thank you Dennis Knutson,
    I did search information website but i could not find it you recommanded. 
    Please let me know where i can find manual or GTL command or deasserting REN.
    Regards,
    Kwangbog Ham

  • Configuring and Controlling Agilent 332220A signal generator...

    Hello,
    I am trying to configure and finally control Agilent 33220A signal
    generator through my Labview VI. Signal Generator has USB, LAN and GPIB
    interface. Measurment studio recognises it, however I need assistance
    to proceed from that point. I would be happy, if some body can guide me
    through this process.
    Any online manual or user guide would be great.
    Thanks in advance...
    Shivaram

    Hi Sine,
    Just to recall what all I did,
    *  Downloaded agilent signal generator instrument drivers from the link given below.
           http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E9066659CE034080020E74861
    *  Extracted the downloaded zip file to get a folder by name "ag33xxx".
    *   Then copy paste this folder in the location given below.
           C:/Program Files/National Instruments/LabVIEW 7.1/instr.lib
    *   That's it. You are done. Connect the signal generator either through USB cable or RS232 or via LAN.
    *   Now you can communicate and control the signal generator
    through the labview VIs. You can do so by right clicking in the block
    diagram then, point to "Input", "Instr Drivers". I have attached a
    screen shot of it.
    *  I have also attached a VI, which I have developed with the help of this form.
    Hope this information helps...
    -Shivu
    Attachments:
    agilent_signal-gen.jpg ‏78 KB

  • Signal processing tools: spectrum analyzer, equalizer available?

    Are there any plug-ins or scripts to perform spectrum analyzing (shows the distribution of frequencies), and an equalizer (multiple band pass filter)?
    Why is there a high-pass filter, but no low pass filter?
    (using cs4)

    Math abstraction notwithstanding, the results are not the same.  For one thing I get problems with using blur around the edges of an image.
    But even beyond the edge issues...
    In the case of my example - preparing for a luminance flattening operation - the blur combines the data from all the background sky glow with that from the stars, and so the result contains pixel values derived from both.  A high pass operation then subtraction leaves me with the background sky glow alone and only eliminates the stars (light spots) and dead pixels (dark spots).  If I choose to combine so as to allow only darkening then I keep the dark spots and eliminate only the stars.
    Am I missing something here?  Are you saying the sky glow somehow influences the result from the high pass filter operation as well, so that the resultant sky glow after subtraction is affected?
    I guess what you're saying is that High Pass is based on blur under the covers then?
    -Noel

  • 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

  • Can i connect an external signal generator to the NI7344 to...

    Can i connect an external signal generator to the NI7344 to use its
    PID characteristics to precisely control the output
    I am using the flex motion board (NI7344) to control the force output
    of a linear motor. Using contouring and buffer operations i have
    successfully created a system which can output a controlled force
    which sinusoidal in form. I can achieve a reasonable output for
    waveforms of 10Hz, the use of higher frequencies is limited by the
    contouring operation ( a frequency of 10 Hz means i can only describe
    one period of a sine wave with 10 points ( 10ms between each point =
    10Hz). Can i therfore connect an external anologue wave generator to
    the NI7344 use and use its PID characteristics to output wave
    forms of
    higher frequency ??? .....could i output an anolgue wave form from an
    E-series DAQ via the RTSI cable to the NI7344 and control this ???.any
    ideas or advice would be much appreciated.

    Duncan,
    You can use a DAQ card to output an analog waveform, but it will be a software call not part of an onboard program. RTSI can be used to pass clocks and trigger signals, so if you want to route a clock signal to do the control you could.
    A. Talley

  • 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 do I read in a 1 Hz pwr level file and send it out at 1Hz to the signal generator?

    I would like to be able to read in a 1 Hz file and use the format into string and send it out at 1 Hz to a signal generator to vary the levels to match a timestamp. I was trying to use the format into string but I can't figure out how I could read in this file.
    00:00.0
    -113.586
    00:01.0
    -113.598
    00:02.0
    -113.61
    00:03.0
    -113.622

    If the file is a .csv file as you said in your other post, then you should just be able to use Read From Spreadsheet File, making sure to set the delimiter to comma rather than tab. If it's a small file, you can just read in the whole thing, then use a loop with a Wait For Millisecond Multiple node (the metronome) to send the data once every second.
    If the file is very large, and you don't want to read it all at once, you can tell the Read From Spreadsheet File node to read only one line at a time. Put the read node and the data sending node in the same While loop, and use a shift register to carry the Mark After Read value from one iteration into the Offset or Mark At Start terminal in the next iteration. That way, you start reading each line at the end of the previous one. Use some form of flow control (such as a Stacked Sequence Structure) to make sure things happen in the right order - read data, wait for the right time, send data. 

  • "agesani Initialize With Options" timeout error on HP E4401B spectrum analyzer

    System: Windows XP Pro, LabVIEW 7.1, IVI Compliance Package 3.0, NI-VISA 4.1
    I have an HP E4401B Spectrum Analyzer.  I'm trying to write some LabVIEW code for it, using the agesani.llb library.
    When I try using the agesani Initialize With Options VI, I get the following error:
    Error code: BFFF0015
    Source: agesani Initialize WIth Options.vi<ERR>Driver Status: (Hex 0xBFFF0015) Primary Error: (Hex 0xBFFF0015) Timeout expired before operation completed.
    I've searched the NI Knowlege Base, and haven't found anything that seems useful.  What I _have_ found are the following items.
    Knowlege Base article "Time-Out Error with the Agesa Instrument Driver Example".  This refers to the agesa drivers, not the agesani drivers.  It also references an E4440A spectrum analyzer, not an E4401B.  The article says one cause could be that a compatibility mode other that SCPI is in use.  While the articles says how to fix this on an E4440A, the fix does not appear to apply to the E4401B.  In fact, if it is even _possible_ to have a mode other than SCPI on an E4401B, I can't figure out how to do it.  A second possibility the article suggests is that the spectrum analyzer is in Phase Noise mode rather than Spectrum Analyzer mode.  My E4401B is in SA (spectrum analyzer) mode.  I don't even see a way to put it in any other mode - I don't think the required options are installed.  Finally, my VI is configured as the article states - ID Query YES, Reset Device YES, etc.  I should note that the instrument's GPIB address is 18, and that this matches the resource name GPIO0::18::INSTR.
    Some additional information: The spectrum analyzer's screen is indicating the instrument is in Remote (R) mode as a Talker (T).  A "Query UNTERMINATED" error message appears at the bottom of the instrument screen.
    I've attached the results of a NI Spy capture to this message. (At least, I think I have. I've never tried doing this before, so if it doesn't show up, would some kind soul tell me how to include an attachment to my post?)
    Oh, yes.  The agesani version is driver version 1.1, updated 17 Aug 2007.  (The version that's currently on the NI download site.)
    Attachments:
    Capture4.spy ‏9 KB

    Hi MXI Master,
    If there's an instrument timeout, I haven't been able to find it yet.  Seems like there should be, so maybe I just haven't looked in the right place yet.  As for the timeout value on the computer, I'm not sure what you mean by this - could you elaborate, and maybe tell me where to find it?
    As far as SCPI mode, if it's possible to put the E4401B in something _other_ than SCPI mode, I haven't figured out how.  I can't find any support in the programming manual for anything other than SCPI.
    That kind of seques into my next couple points.  The NI Spy output indicates that one of the commands that is being sent is "*SRE 32".
    The "User's & Programmer's Reference" for the E4401B says (on page 206) "Send the *SRE <number> command (where <number> is the sum of the decimal values of the bits you want to enable plus the decimal value of bit 6).  [Bit 6 is the Request Service (RQS) Summary Bit.  BP]  For example, assume that you want to enable bit 7 so that whenever the operation status summary bit is set to 1, it will trigger a service request.  Send the *SRE 192 (128 + 64) command."
    This statement would seem to imply that the "*SRE 32" command that is being sent by the agesani "Initialize With Options" command is an illegal command, or at best an ineffective command.  In light of that, it is interesting to me that the NI Spy output indicates that the next line , viQuery(GPIB::18::INSTR (0x246E9C8), "%s?","%ld"), is generating an 0xBFFF0015 error.  In addition, I can find neither the "%s?" nor the "%ld" commands listed in the Programmer's Reference.  I wonder if these could be for a firmware revision later than mine (A.01.03), or for instrument options I don't have (A4H, A4J).  Alternatively, I wonder if these are simply mistakes.
    The next line in the NI Spy output, Formatted viWrite(CPIB0::18::INSTR (0x0246E9C89),"INST:NSEL?",11,11), also puzzles me.  The Programmer's Reference indicates that this is a supported command, to see what instrument application is currently selected.  (e.g. spectrum analyzer, GSM, Bluetooth, EDGE, noise figure, etc.)  However, when I try to issue this command to my instrument, by using the Instrument I/O Assistant Express VI, I get an "Undefined header" error on the instrument's front panel.  The instrument's error history shows the same "Undefined header" error.  Since my instrument only has the basic spectrum analyzer option installed, I wonder if this command is not valid?  (Personally, I wouldn't write instrument firmware code this way, but who knows?)  Alternatively, I wonder if this command requires a firmware revision more recent than mine.  (The Programmer's Reference is silent about this possibility.)
    The next line in the NI Spy output, Formatted viRead(GPIB::18::INSTR (0x0246E9C8),"",4000,0), has another 0XBFFF0015 error associated with it.
    Does this information shed any more light on the situation?

  • Control a generator with a control volage by serial port RS232

    Hello everybody,
    I would like to control a generator thanks to a control voltage. This last one would be sent to a switch wich turns on the generator.
    To do that, I want to link the switch and the computer with a serial port RS232 by using NI-USN 232 cable.
    I made some research on this subject and I am only a beginner on LabView but I would like to use one (or several) pin which will send 5V in voltage when I want.
    Is that possible? Is there another way to make it?
    Thanks in advance.

    Thank you for your answer.
    Maybe, I didn't explain myself correctly. 
    For example, on the Raspberry Pi, you can control a card by sending 3,3V signal with RS232 port (I made it last year so it makes a sense).
    What I want to do here is to control an electronic card that turns on my generator after. I don't have enough to buy a generator controlled unless you know one not very expensive.

  • Need a good Wifi Spectrum Analyzer

    I am looking for an APP that is a good Spectrum analyzer. 
    I have a iPhone5, (will be updating to 6 + soon)
    I do a lot of work troubleshooting wifi networks, and on my Android, and I though my older iphone 3gs) I had a good Spectrum analyzer for 802.11 wifi.
    I cannot find a good now, and I hate to have to go to an android just for this reason alone.  need mainly 2.4 GHz, but 5GHz ability would be nice to have.
    I need to able to see each AP, the SSID and channel it is broadcasting on, and I refuse to spend $300 for the Wi-pry external device by Oscium.
    I am already using the Net Analyzer and Status bundle, which is great for networks you are already connected to, but I need to see other networks, and their SSID and their signal strengths individual by AP.
    Any help would be appreciated.  If there is nothing I may be forced to downgrade to an Android device, and that would suck as I hate Android.
    Thanks

    Hi Kappy
    thank you so much for the info   I have a Netgear modem and anned on getting a AirPort Extreme this should still work right ???
    Steve

Maybe you are looking for

  • "lights out" effect on side panels?

    On my system, "lights out" cycles the color of the background of the center panel, but has no effect on the appearance of the side panels. Is this normal behavior?

  • Removing items in my startupitems folder

    My own account login items list in my systems preferences window is limited to one item- an istat menus helper app. But my mac hd/library/StartupItems folder contains two items that I don't recognize and don't think have much to do with starting up t

  • Office 365 home premium

    Hi I have an Offoce 365 Home Premium Skype subscription. It used to include landlines and cellphones. Now I just get landlines. Has the policy changed, or must I do something? I am in South Africa, which is a supported country. Thanks  richstad

  • Toll free customer assistance number

    toll free customer assistance number

  • If I want to Reinstall tiger , is it necessary , to

    First reinstall the original CDs that came with my iMAC G5 ? or, is it better to do so ?, iLife6 has created too many problems and I was fine with #5, I can wait to reinstall it at a latter date, I have already-done it once and some how it returned ,