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

Similar Messages

  • 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

  • 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

  • I want to use labview controls in VB ? how do i do it

    i want to use labview controls in VB ? how do i do it?

    The easiest way to do this is to create a LabVIEW DLL and call it from vb. So write a vi in labview with the front panel you want and then compile it into a dll. The only problem with this is that when vb calls the dll nothing else can happen in vb. Hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • How i can use labview control or indicator in VB or C++

    Hi,
    I would like to use labview control or indicator in thierd party application like VB or C++ or .net. Please help me, how i can use this?
    Thanks

    You can't. A LabVIEW control is a LabVIEW internal object that has no direct link to any OS object entity on any platform it runs on. As such other applications would have no means to access that control object or interact with it in any meaningful way.
    Instead you should probably look into ComponentWorks from National Instruments. That is a collection of ActiveX (and .Net?) controls similar to the ones you find in LabVIEW, and those can be embedded into Visual Basic or any other development environment that allows embedding ActiveX controls.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Calibrating Agilent N5183 Signal generator for specific output level

    Hi,
    Newbie to labview enviornment!  I am trying to write a VI to calibrate Agilent N5183 to a specific output.  For e.g. if I want to have -4.5 dBm output from my setup (as displayed on my power meter) I will have to set the sig gen to say 7dBm taking into account my losses etc.
    Any pointers how do I start tacking this?  I think I will have to create a while loop to check power levels, however I do not know how to increment and decrement the sig gen amplitude and stop at the desired level!
    Thanks in advance for any help.
    PS: Using Labview 2013, on win XP machine!
    Solved!
    Go to Solution.

    mkossmann wrote:
    3. Adjust pout to sign Gen to desired level while monitoring power on power meter
    Why do you need that step at all ?  Its not clear from your description what makes the difference between the readout of the power meter and the output level setting of the sigGen.
    I have had to do this plenty of times.  Especially in the RF realm, you want your tests to have a certain power level AT THE UUT.  So you have to adjust your signal generator to overcome the losses in the couplers, cables, etc.
    For this, all you need to do is set your signal generator to the level you want.  Then measure with the power meter.  Subtract the measured from the desired and add that much more to the set output.  Repeat as needed.  I would recommend using a conditional FOR loop so you can easily set a limit to how many times you adjust (I have been in endless loops due to weird situations here).
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • "Hi,I'm having problems controllin​g the Agilent E4422B Signal Generator with Labview. When using the Labview driver functions such as initialize instrument I always get an Error -107413504​0.

    I can query the device through the measurement and automation tool. I can also Identify the instrument by issuing a *IDN? with VISA write and read. Why do I get this error while using the drivers supplied by NI for this equipment? Any Ideas?

    Hi, Brooks.
    Attached please find the files containing all the information concerning my attempt to control the Agilent E4438C. Hope you can make sense of it and help me.
    Regards
    isaac
    Attachments:
    nireport.txt ‏2 KB
    Capture.spy ‏5 KB
    CaptureSpy.doc ‏117 KB

  • Can we use LabView controls in VC %3F

    Hi,
    I was wondering if Gauge and Tank controls from LabView can be used in VC++? We have labview installed in our lab and we use the graphic controls as major part of our software. We have one software that is written in VC++. Is it possible to export the controls from Labview to VC++? I know MStudio has all those controls for VC++, but our lab is not willing to spend money on MStudio alone. Any suggestions?
    Thanks
    Vijay

    In a word, no. The controls are drawn by the LabVIEW application itself. They are not standard Windows controls.

  • 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.

  • How to control HP 33120A and output a DC signal?

    Hellow!
    I'd like to control HP 33120A function generator,right now i have use the HP 33120A-WFM Config EX.VI and i can output Sin,Squart...wave,but when i try to output the DC signal,the amplitude control seems not work,what shall i do to output a DC signal and control its amplitude,Thanks!

    I haven't worked with this generator or its driver, but sometimes the DC level is controlled by changing the offset instead of the amplitude. You might want to check this out.
    Hope that this helps,
    Bob
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • "HOW to use Labview call Dll compiled by VC++"

    "hello,I use VC++ compile a DLL,and i want to call DLL Function in LABVIEW program.But there is a dll function
    when i call it in labview.There is error.The prototype of Dll Function that make error is "USHORT DLLFUN __stdcall IBWRT(unsigned short dev_address,const char *pstrWrite)",The second paramenter is a char pointer,
    and the paramenter pass a command which content is
    "MEASURE:CURRENTC? 1A,0.001MA".
    When i use VC++ to call this function,i program followed:
    CString m_wrt;
    int ReturnW;
    m_wrt="MEASURE:CURRENTC? 1A,0.001MA";
    char buffer[40];
    strcpy(buffer,m_wrt);
    ReturnW=IBWRT(4,buffer);
    and this call is correct.
    But when i use labview to call this function.ther
    e is
    error.So, who can help me,to tell me how to call this
    function.Thanks."

    Are you asking about porting code or calling C++ code in LabVIEW?  As far as porting code, there's no easy way to move code back and forth between LabVIEW and C++.  However, if you are trying to call C++ code in LabVIEW, you can compile it as a DLL and call it in LabVIEW using the Call Library Function node.
    Chad B. » National Instruments » ni.com

  • Is it possible to download I & Q data generated by LabVIEW into Agilent's ESG series signal genarator

    Dear Sir,
                    Primarily i'm interested to generate a test signal specific to a wireless standard. I'm using LV 8.5 version, and i've Agilent's ESG-D series Signal Generator (E4433B). My Question is, Can i directly run my VI to generate I & Q data and connect it Signal Generator to get the required RF output?

    Kamesh,
     you posted to the wrong forum as this one is for NI specific devices. You would probably get more responses if you posted to the Instrument Control forum. Anyhow there is a LabVIEW driver available for your instrument located at:
    http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=405
    I don't have LabVIEW on this computer so I don't know for certian if the driver supports direct I/Q but it probably does.
    Hope this helps
    Using LabVIEW 2010SP1 and TestStand 4.5

  • 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

  • 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

  • How do I use LabVIEW to control and vary the voltage on my Agilent Power Supply and simultaneously record temp from 1 DMM and voltage from another DMM?

    I am using an Agilent Power Supply  to apply a voltage to a
    thermistor to heat an Al chassis.  I want to use LabVIEW to tell
    the power supply to apply 5V for 10 minutes, then step to 7V for 10
    minutes, etc.  I am completely new to LabVIEW, so any help would be greatly appreciated!
    In addition to that, I want to place a type J thermocouple onto the Al
    surface and use a Keithley 2000 DMM to monitor the temperature (it has
    a built in conversion from V to Temp for type J).  I will also be
    using another Kelthley 2000 DMM to record the output voltage of a new
    uncalibrated thermocouple.  I would like to collect the output
    voltage for this uncalibrated thermocouple and the temperature reading
    from the type J simultaneously.  How should I go about doing this
    in LabVIEW?  I will be using version 6.1.  The power supply
    and DMMs will be connected to a PC using GPIB.
    Again any suggestions would be greatly appreciated- I have no idea
    where to begin on such a project.  I have taught myself how to
    make a basic VI- converting temp in oC to oF, but  that is as far
    as my knowledge goes.

    What you want to do should be fairly straightward and a good way to learn labview. 
    First off, if you haven't already, I would download the drivers for the Keithley and Agilent instruments.  I found the keithley drivers at the link below.  You will need to find the labview drivers for the Agilent PS at their website.  Drivers are the VI's you will use in your program to control the insturments.
    http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E90B0659CE034080020E74861
    If you open Labview and go to the help menu and click on Labview bookshelf there is alot of information on getting you started coding labview.   This should get you started, if you have anymore questions just ask in this same thread and I am sure you will get all the help you need.
    Brian
    Message Edited by BrianPack on 09-14-2005 05:21 PM
    Message Edited by BrianPack on 09-14-2005 05:21 PM

Maybe you are looking for