Communicating with HP signal Generator through labVIEW

Hi I need to know the Command String for recieving a numbered string from an HP function Generator which is comma delimetered and can be used to plot a graph in labVIEW 7.1. It would be usefull if I could also get the command string to recieve the same result from an Agilent Oscilloscope. I have tried several recommended command strings, however all of them return an error. Any help would be greatly appreciated!! Thank you 

How can anyone provide you with the command for an instrument when you don't even mention the model of the instrument.
Do you have the instrument manuals? The commands are all listed there and if you don't have the manual, go to www.agilent.com and do a search for them. Have you tried to find a driver for the instruments? NI has thousands of drivers already written. Go to http://www.ni.com/devzone/idnet/ and search.

Similar Messages

  • Lost communication with DAQ (NI-6008) through labview

    I currently use four USB-6008 devices through labview as part of a teststand. While troubleshooting a separate issue I lost the ability to communicate with the devices but only through labview. Using other NI software I can use the analog I/O but not from my labview program. I am a chemical engineer so I've already exhausted my limited computer knowledge, any help would be greatly appreciated.

    If MAX can see the devices, and collect data thru them, then your hardware is OK.
    (Max is the Measurement and Automation Xplorer program).
    Assuming that's the case, then I would suspect a naming change.  You can rename the devices in MAX, perhaps when you didn't mean to.
    Check your ERROR outputs of the NI-DAQ calls.  That's what they're there for. Put a probe on the ERROR outputs of INIT TASK, START TASK, whatever you're using.
    The more professional programs expect those errors and handle them, if you're doing a one-off kind of thing, it's easy to think you don't need them, since it worked the first time out, but they really will give you info that you need right now.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • Agilent signal generator and labview code

    Hi all
    I have Agilent 33220A Signal Generator.I want to generate square signal and convert this signal to a graph in labview with proper code but i dont know how to do.Please help i have limited time
    Regards

    sgirgin wrote:
    Hi all
    I have Agilent 33220A Signal Generator.I want to generate square signal and convert this signal to a graph in labview with proper code but i dont know how to do.Please help i have limited time
    Regards
    Limited time on your part is not our problem.
    Learning how to program in LabVIEW isn't something that can be done overnight.

  • Communicating with a external application through tcp/ip

    Hi all,
    I have set up a procedure to communicate with a external application. I have used util_tcp to set up this connection. The process I undertake is i send some packets to a remote port XXXX on a particular ip address .
    i.e util_tcp.open_connection(host_ip_address,host_port).
    I then wait for data coming back, from this external application.
    I then close the connection.
    All is fine when I execute this procedure from a AIX server, I get all the required packets back.
    But when I execute this procedure from a windows server I manage to send packets of data out to the remote port but i can't read data from the port. When i telnet to the remote machine i could see the packets being sent back but i just can't seem to reas the data/packets. the utl_tcp.available is zero. BUT when i run the same procedure from aix server it works fine.
    If anyone can help, much appreciated.
    thankyou
    nahim

    Sorry I think I may have not been very clear about what I am asking.
    On AIX Server:
    Has Oracle Database 8 on it.
    -I connect to remote port 7097 - c := utl_tcp.open_connection('XXX.XXX.XXX.XX',7097,null,null,null,null,null,null);
    -I send out packets to External App(Schedular) through above connection -      li_return_value := utl_tcp.write_line(c, lc_ClientPacket);
    -Schedular sends back Packets through above connection
    -Oracle Database 8 checks for data on port
    utl_tcp.available(c) > 1
    -Data is available so start to read data
    lc_RawData := UTL_TCP.get_text(c,li_lenOfRawData);
    On Windows Server:
    Has Oracle Database 9i on it.
    -I connect to remote port 7097 - c := utl_tcp.open_connection('XXX.XXX.XXX.XX',7097,null,null,null,null,null,null);
    -I send out packets to External App(Schedular) through above connection -      li_return_value := utl_tcp.write_line(c, lc_ClientPacket);
    -Schedular sends back Packets through above connection
    -Oracle Database 8 checks for data on port
    utl_tcp.available(c) > 1
    - BUT THE DATA IS NOT AVAILABLE so cannot read data. Its as if the packets vanish in thin air or windows is not liking the packets.
    When telnet to the remote machine I can see the packets i send going into the port and the packets coming back from sideinwder ready for me to read. But for some reason I can't read.
    Its a very odd problem, if the eact same code works from AIX, why not windows. I thought it might be something between Oracle database and windows that needs to be set up. But how can any configuration on the oracle database or the windows platform effect communication on the remote host.
    Any ides please help
    Thankyou for the help provided so far, much appreciated.
    Nahim

  • How to send signal generated by labview to router?

    the singal can be '0' / '1'

    Since it sounds like you are just doing some simple network communication you should not have to communicate directly with the router. The network will take care of routing your data around by itself. You will probably need to use either TCP or UDP to communicate with the adruino. You will need to get the protocol it is using to determine how to communicate with it.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • 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

  • 1/0 Signal Generator

    Does somebody know if there is a 1/0 signal generator in Labview 5.1 where I can specify the length of the durtion of 1(true) respectively 0(false)?

    Hi,
    if I understand you right you can use "Pulse pattern.vi" or "square wave.vi" from "functions->analyze->signal processing->signal generation" palette. Set the value of amplitude to 1 and you will get what you want.
    Good luck.
    Oleg Chutko.

  • How interface N5181A MXG signal generator with labview by using LAN Interface????????????

    hai every one ...i have a doubt how  to interface N5181A MXG signal Generator with Labview by using LAN Interface???? and
    how to find IP Address of N5181A MXG signal Generator????????
    when i connect instrument with labview it shows that no instrument connected and what are the requirements for LAN interfacing with that instruments in labview and please help me?????? 

    You can set the IP Address on the instrument.  You may need to be in the same subnet of your controlling computer, so you may need to set your computer's IP Address to something static.
    Use VISA.  It makes life easier if you decide to use another bus (like GPIB, USB, serial, etc).  In MAX, create a network session with the static IP address you set the instrument to and use that as the VISA Resource.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loop

    sir i have given lot of effort but i am not able to solve my problem either with notifiers or with occurence fn,probably i do not know how to use these synchronisation tools.

    sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loopHi Sam,
    I want to pass along a couple of tips that will get you more and better response on this list.
    1) There is an un-written rule that says more "stars" is better than just one star. Giving a one star rating will probably eliminate that responder from individuals that are willing to anser your question.
    2) If someone gives you an answer that meets your needs, reply to that answer and say that it worked.
    3) If someone suggests that you look at an example, DO IT! LV comes with a wonderful set of examples that demonstate almost all of the core functionality of LV. Familiarity with all of the LV examples will get you through about 80% of the Certified LabVIEW Developer exam.
    4) If you have a question first search the examples for something tha
    t may help you. If you can not find an example that is exactly what you want, find one that is close and post a question along the lines of "I want to do something similar to example X, how can I modify it to do Y".
    5) Some of the greatest LabVIEW minds offer there services and advice for free on this exchange. If you treat them good, they can get you through almost every challenge that can be encountered in LV.
    6) If English is not your native language, post your question in the language you favor. There is probably someone around that can help. "We're big, we're bad, we're international!"
    Trying to help,
    Welcome to the forum!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Swf conflicts with menu generated through javascript

    Hi all.
    I have a menu generated through the SoThink menu builder with
    drop downs. The drop-downs come over a media file (swf) that has a
    slideshow playing. When the image on the slideshow changes, I lose
    my drop downs that fall in that basic area.
    Here is the link to the site:
    http://www.prairieair.org
    You'll understand it better when you have a look at it. Can
    anyone tell me a fix for it?
    Is it possible to pause the slideshow once the cursor is on
    any menu item?
    -Shweta.

    > I have a menu generated through the SoThink menu builder
    with drop downs.
    Too bad - those are awful in my opinion.
    > Can anyone tell me a fix for it?
    All Active content on a page will always rise to the top, so
    to speak,
    including Flash, certain form elements, Java applets, and
    Active X controls.
    This means that each of these will poke through layers. There
    is not a good
    cross-browser/platform reliable way to solve this issue, but
    if you can be
    confident in your visitors using IE 5+ or NN6+, then you can
    use the Flash
    wmode parameter (however, Safari does not support this
    properly!).
    Adobe articles:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15523
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14201
    Consider redesigning....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Shweta Agarwal" <[email protected]> wrote
    in message
    news:epvt27$sen$[email protected]..
    > Hi all.
    > I have a menu generated through the SoThink menu builder
    with drop downs.
    > The
    > drop-downs come over a media file (swf) that has a
    slideshow playing. When
    > the
    > image on the slideshow changes, I lose my drop downs
    that fall in that
    > basic
    > area.
    > Here is the link to the site:
    >
    http://www.prairieair.org
    >
    > You'll understand it better when you have a look at it.
    Can anyone tell me
    > a
    > fix for it?
    > Is it possible to pause the slideshow once the cursor is
    on any menu item?
    >
    > -Shweta.
    >

  • How can I configure labview for communication with Modbus I/O?

    i read a article about configureing Labview for communication with modbus I/O in NI developer zone, but it was written for Labview 6, how can I configure it with labview 7. it seems there are some difference. Thanks!

    In both LabVIEW 6 and 7, you connect to modbus using Lookout Protocol Drivers (LPD) and then communicate to LPD using the tag engine of LabVIEW DSC or through DataSocket.

  • Using labview to operate a signal generator

    Hey everyone,
    My name is Jake, I currently work in a lab at my university where we are trying to develop medical imaging via thermoacoustic tomography
    The problem I am facing is that we are trying to use LabVIEW 2010 to "talk" to an SML-01 Rohde and Schwarz signal generator. I have very little LabVIEW experience anmd have basically been teaching it to myself for the past month. I have downloaded a driver for the sig gen and have a GPIB cable to run from an oscilloscope (which we run labview on) to the sig gen.
    Would anyone be willing to help me figure out how to do this?

    An existing Instrument Driver exists here
    Edit{ ahhh you have the driver}  What  exactly are you having trouble with?
    Jeff

  • LabVIEW work with Agilent Signal Studio?

    Hi, anyone knows if LabVIEW can work with Agilent Signal Studio Toolkit?
    Here some signal have to be generated by this signal studio toolkit instead of signal generator, if using LabVIEW to automate the data processing and test, is there any API or driver available for this?
    Thanks a lot,
    Jeanne

    Duplicate Post
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer

  • LabVIEW drivers for Agilent Noise Source 346B and Signal Generator E8257C-520

    Could anyone please tell me where to find LabVIEW drivers for Agilent Noise Source 346B and Agilent Signal Generator E8257C-520. I did not find them on NI's web site. Thank you!

    To my knowledge, the Agilent 346B Noise Source is not a programmatically controllable instrument and therefore we can't create an instrument driver. I suppose it is possible to be controlled through an instrument (like the PSG) but I don't see any documentation on this.
    As for the E8257C, we are insterested in providing a LabVIEW driver for this instrument series. Let me know if you are interested in assisting our development effort by loaning us the instrument.
    Jason Hobbs
    Instrument Drivers

  • 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

Maybe you are looking for