Agilent 33120A pulse gneration

Hi,
Could you please sb help me how to adjust the 33XX serieas function generator labview driver to generate pulse in out put? I do not have analog waveform editor.
I just need a thread.
Thanks,
Ela 

Well you've got at least two options to do this with the current driver.
1) create and download an arbitrary waveform that contains the "pulse" pattern that you need and run that pattern and execute the arb function for each trigger
2) if a standard function (e.g. square wave at x hz) could generate the pulse, use burst mode to trigger a burst of one cycle of the waveform for every trigger.
The "Quick programming referance" for the 33120A  and the user's guide explain a lot about how the AWG works  Agilient should have these available for download but, you may need to call them as the 33120A is an obsolete unit.
Jeff

Similar Messages

  • HP/Agilent 33120A Single Pulse Using Burst

    Hello,
    I am trying to trigger an on demand pulse from an HP 33120A function generator.
    The pulse has to be a single, 0-5V ramp with adjustable frequency/period. I was able to get as much from the FG by using Burst and manually triggering off the front panel. Now I would like to get the same functionality from a LabVIEW VI.
    While there is a driver for the device, the burst function is, unfortunately, not applicable to the model I am using. I found a similar issue on the forums and followed the SCPI code provided in the answer with some of my own midification (http://forums.ni.com/t5/LabVIEW/33120A-Pulse-Mode/td-p/1088106).
    Unfortunately, my VI is not producing the same waveform as the manual triggering off the front panel. It hovers at the offset value and gives me a few square waves down to zero when I run the VI. The square waves are oddly spaced and I usually see 4-5 even though I specified 1 cycle in the VI. Reading through the 33120A, I get the impression that the issue is my not turning off the previous waveform but, if that's the case, I can't figure out how I would do that.
    I am starting to move away from only using drivers and into modifying SCPI code but I am still quite new to this. Would really appreciate some advice on what the problem could be. I modified my original VI twice; once to configure only the burst with the FG wave parameters set manually and once to just set up the waveform with no burst. The former did not give me much better results and the latter works fine so I'm back to thinking the issue is in the transition.
    I am attaching the initial VI (b) with the two modifications just in case (c, d).
    Hope to hear from you,
    Yusif Nurizade
    Edit: Burst string should say TRIG: SOUR BUS instead of EXT although neither works.
    Solved!
    Go to Solution.
    Attachments:
    Init_Burst_3_19b_2014.vi ‏17 KB
    Init_Burst_3_19c_2014_Local_Ramp_Rmt_Burst.vi ‏16 KB
    Init_Burst_3_19d_2014_Set_Wave_Form.vi ‏16 KB

    Sorry for the later reply fellas; I've been in contact with Agilent trying to figure out a fix.
    To address some suggestions;
    Albert, I've been in touch with Agilent. They've reproduced my SCPI commands on their end with their software (VEE) and got the desired output. I thought that maybe the issue was with the commands I was sending via LabVIEW so I downloaded a trial of VEE and sent the same commands that worked for Agilent. With VEE I have the same problem; some of the commands, relating to frequency, shape and amplitude are processed correctly, while the burst commands are not.
    I suggested the firmware issue to them and they agree it might be what's causing the problem. Unfortunately, the device is no longer supported and it would be difficult, if at all possible, to get the update especially considering this is a time sensitive project.
    Karl, I've run NI I/O Trace on both the .vi and VEE. The commands seem to be going over without issue. I am led to believe that the issue is with the instrument since Agilent was able to get the desired result using my exact commands and I can't reproduce the same using their software.
    I must confess I am a bit confused as to how this could be a firmware issue if some of the commands are going through and the whole thing works if I program manually off the front panel.
    Please advise,
    Yusif Nurizade

  • 33120A Pulse Mode

    I am trying to configure pulse mode on Agilent 33120A using RS-232. I finally figured that the relevant vis on instrument driver does NOT support 33120A!!!
    Have anyone got any ideas?
    Solved!
    Go to Solution.

    I'm using it to generate a single pulse by using the square wave function in burst mode. Here are the commands that I send:
    *RST; *WAI;*ESE 0; *SRE 0; *CLS; *WAI;
    *PSC 0; *ESE 188; *SRE 32;VOLTFFS 0;
    VOLT MIN;OUTP:LOAD INF;VOLT:UNIT VPP;
    FUNCHAP SQUARE;TRIGOUR BUS;
    BMHAS 0;BM:NCYC 1;BMOUR INT;
    BMTATE ON;PULSCYC 50;FREQ 6.25;
    I then send a software trigger.
    As Jeff said you can also use the ARB function (you then have to create the waveform shape that you want.
    Ben64

  • 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

  • What is the centre frequency of agilent 33120A

    i am working on a project and I need to generate a gaussian pulse over a range of freq. and then calculate the group velocity.Anyone with any idea on how to go about this should pls help..

    Do you have the User's Guide or the Programmer's Guide?  Both can be downloaded from Agilent's website.
    The User's Guide should provide instructions on how to set this up manually.  You may want to do this step to verify the configuration that you want to implement.
    Once you are happy with the manual setup, you should note all the configuration parameters and their values.
    You then loopup the topic in the Programmer's Guide and it should show an example.  Cryptic mind you, but an example just the same.  They may mention what other configurations should be set when setting the instrument. They will show the command set to programmatically configure the instrument. 
    This is where you may need our help.  You will need to tell us if you are connected to the instrument via GPIB, serial, ethernet, USB or other method.  The 33120A rings a bell, so I think you may have a choice of GPIB or serial, unless it is a newer model.
    You can also search this forum using "33120" as a keyword.  I am sure there are posts on it.  You can also search for LabVIEW drivers on this site or Agilent's site.  The drivers may be quite useful as it provides an interface that you can use to "test" the instrument settings.

  • Pilot Agilent 33120A with Labview

    Hello,
    I have to pilot a multimeter Agilent 33120 A with Labview and my problem is that I downloaded drivers here :http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9066659CE034080020E748...
    I tried to test one of the example given with drivers but it doesn't work, does anybody has an idea of the problem?
    Do you think it could be about the interface because i'm using a RS 232 wire and I didn't see this type of interface in the suggested interfaces on the website i gave by the link.
    Thanks

    Duplicate
    http://forums.ni.com/t5/LabVIEW/Piloter-Agilent-33120-A-depuis-Labview/m-p/2840774

  • Can I use the second TCP / IP port on my cRIO to drive a meter Agilent

    I would like to use the second TCP / IP port of my NI cRIO-9024 to control my Agilent 33210A pulse generator with VISA TCP/IP.
    My Agilent has only TCP/IP and GPIB ports.
    Is it possible?
    cordially

    All the MACs (from my old 2006 PPC Mini) will auto detect ethernet crossover and straight through and rollover cables correctly. They should be Auto-MDIX.
    Having said that, the FW800 (via TB) and Ethernet should be very close in terms of performance.

  • NI5112 PFI Reference Clock Input Problem

    I'm writing C code to use an NI5112 O-Scope card as a digitizer and I would like to synchronize it with an HP 8648C signal generator (which has the high-stability timebase option) through PFI1. I want to use the signal generator for the reference clock as the NI5112 samples about 40 Hz high at 5 MSamples/s and because I need the two to drift together. When I use the signal generator as reference clock the result is a very "noisy", i.e. with an input sine wave the FFT is noisy, and I the timing is too bad for processing input GPS signals (which have stringent timing requirements). If I use an Agilent 33120A function generator as the reference clock, I get better results, but GPS processing is still compromised. When not using a
    n external reference everything looks clean and works fine except for 40 Hz error in the sample rate. The reference outputs from both the 8648C and 33120A work fine with each other and look good and clean with the o-scope, so I can't figure what the problem is. Maybe the card is just extremely picky about external reference clocks. The function call I'm using to initialize this is:
    handleErr(niScope_ConfigureClock(vi, NISCOPE_VAL_PFI_1,
    NISCOPE_VAL_NO_SOURCE,
    NISCOPE_VAL_NO_SOURCE,
    NISCOPE_VAL_FALSE));
    The program runs normally with no errors, it's just that the results are bad. Any help would be appreciated.

    Hello,
    If the data that you are acquiring is very noisy, I would start getting suspicious about the input impedance (1MOhm or 50Ohm). Does the impedance of the signal generator match the scope's? How does your signal look in the Scope Soft fron Panel? Does it make a difference if you use the internal clock?
    Another thing that I would consider is the following parameter from the niScope_ConfigureClock function: NISCOPE_ATTR_CLOCK_SYNC_PULSE_SOURCE. In order to synchronize your arb to the scope, not only they need to share the same clock (10MHz), but also the slave receives this sync pulse from the master. In you application, if the signal generator has the ability to send a sync pulse, you can route that signal through PFI2 to ensure synchronization.
    Hope this helps. Good luck with your application!
    Annette Perez

  • Can#T Evaluate LabView, get only errors

    Hi,
    just want to evaluate LabView, but get only errors.
    Do installation, works, searched & installed drivers, Agilent 34401 or Agilent 33120A, the classics I think, abd open an example ==> error.
    Whats wrong?
    Can't buy a expensive software which doesnt work, sorry.
    With best regards
    Gerhard
    Attachments:
    Evaluating but error after first step.PNG ‏62 KB

    Hi,
    found the VISA Interactive Control and send IDN commands here the results:
    Agilent 33120A works.
    Agilent 54641D and Agilent 34401A fails. But, when I send a TST command, than the instruments starting their self tests.
    Fazit: The RS232 interfaces were connected correctly (no Tx connected to Tx problems, wrong baud rate, parity ...) but I can't receive messages from the 34401A and 54641D for what reason ever. I start playing around trying different settings (1 or 2 stop bits, flow control variants, termination char ...) but can't find a solution. I also restart the PC.
    Any ideas?
    And LabView still not working, can't run any sample, so I can't try the 33120A sample, which potentially has a chance to run ...
    With best regards
    Gerhard
    Attachments:
    Problems with Agilent 34401.PNG ‏120 KB

  • Undeclared identifier 'IVI_ATTR_IO_RESOURCE_DESCRIPTOR'

    More or less one year ago I wrote a CVI 6.0 program to control an Agilent 33120A Waveform Generatore, and it has been working OK since now.
    Today I opened the same source code, and if I try to re-compile them I found the error
     Undeclared identifier 'IVI_ATTR_IO_RESOURCE_DESCRIPTOR'
    Probably one of the NI components I updated during this year is giving this problem
    I read this thread, so I checked, and I have the ICP 3.0 installed.
    How can I solve this problem?
    Tks
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

    Hi Vix,
    could you please provide more details on what has changed in the last year? What have you installed/uninstalled and, if you can remember, in which order?
    Have you also checked if ICP support for CVI was added (as explained in the forum you linked)?
    Are you at leat able to run an example?
    A precisation: with CVI 6.0, also ICP 3.1 can be used. You have to follow the indications in this KB.
    Regard.
    Licia

  • Slow TKTDS 1K2K Example.vi

    Hi!
    I have downloaded the driver for Tektronix TDS 2014 and connected a signal generator (Agilent 33120A) to the oscilloscope.
    I am making a program in labVIEW but are having problems because the oscilloscope seems to react quite slow.
    When I tried to run the TKTDS 1K2K Example.vi. it took 5 or 6 seconds before it finished. I assumed it would take less than 2 seconds to complete.
    Do you know why it takes this long? Please tell me if there is a way to make the example go faster.
    Thanks
    Rune AO

    Hello Rune,
    The best way to tell what is taking up all the time is to run NI Spy in the background. You can see time stamps of all the calls and see what commands are taking the longest. It may just be that it takes a while for the TDS 2014 to send all its data back.
    NI Spy Tutorial

  • Equipment upgrade

    Hi,
    We just changed an experimental setup by upgrading the wave generator and the oscilloscope.
    We upraded from an Agilent 33120A to a 33220A wave generator and from a 54645A to a 54622A oscilloscope. We had a c++ code that worked fine with the original setup. I tried to run the same code and I'm getting wrong results. Is there any change in the new equipment output that I must consider ?

    Hi Heidy,
    So aside from the data not looking the same as the data that you see on the oscilloscope, no errors pop up when you are trying to communicate with the device that halt execution, right? To get to your new issue, there is a single example that ships as part of the driver that you downloaded, and there are no calls to iscanf in the file, at least not at the high level, and the sicl.h file is not included either in the document. I would recommend that you use this example as a starting point to begin trying to get data from your oscope (C:\VXIpnp\WinNT\ag5462x\ag5462x_example.txt).
    As far as the sicl.h file and iscanf functions go, these both belong HP/Agilent. I did some searching to see what I could find about each, and the best recommendation I can give you is that you double check that you are trying to read the data correctly - that is, make sure your format string is correct, and make sure that you are pointing the return data to the correct location.
    Here's a file that I found via google that might help:
    Using HP SICL with HP-IB
    Good luck!
    Logan S.

  • Fixed number of pulse using agilent 33220A

    Hi all,
    I am trying to produce five pulses with Agilent 33220A function generator ..
    i am attaching my VI for your review...
    the problem is ,, i can able to send the command for digital pulse of required parameters ,, and the function generator starts producing constant pulses...
    but i want only five or fixed no of pulses ,,,
    i have tried using the loop concept and not succeded ,,
    Any suggestions would be grateful...
    by Rozita
    Attachments:
    Agilent33220A-pulse.PNG ‏51 KB

    You need to configure a burst in TRIG mode and send a software trigger to start it. Refer to the 33220A manual for more details.
    Ben64

  • How to get a single pulse Using Burst MOde?

    Harlow Peeps! Just want to know how to get a SINGLE pulse generated by the AGILENT 33220A function generator? the results i get it's in the burst MODE and everything is running smoothly and fine! it's just that i want to get a single pulse froM it only and not repeated triggeriong of the pulse...
    thanks! ^^
    cheers!

    hi,
    find attached an example, how to set hp33250a ( ag33xxx )  into burst mode.
    hope this helps........... - play with it - and change it to your needs.
    regards
    Werner
    Attachments:
    hp33250a _burst.zip ‏165 KB

  • Problems with the HP 1441A using the 33120A VXI pnp driver

    Hi,
    I am building a VXI system which incorporates the HP1441A Arb. I am using the 33120A/1441A VXIpnp driver (within LabView 6) and am having some 'issues' with it.
    I am able to see my instrument in the Visa Assistant screens and am able to run a soft front panel but when I try and run any of the instrument control VIs I get the following error code
    Error Code:BFFF0013
    hp33120a Initialize.viDriver Status: (Hex 0xBFFF0013) VI_ERROR_INV_ACC_MODE: Invalid access mode
    In LabView I am able to get a VISA reference for the instrument (although it will still produce the above error). I have closed all other VISA references and nothing is accessing the instrument whilst I am controlling it via LabV
    iew.
    Help!
    Thanks in advance
    Marlon

    Hi,
    I guess the two instruments have a similar command set. I am also guessing that you are using the standard VISA type instrument driver for the 33120A and not the IVI.
    You will have to switch of the Query because the query string returned will have 33120A related text. This should get you passed the Initialisation.
    Have you not tried Agilent web site for a HP1441A driver?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

Maybe you are looking for