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

Similar Messages

  • 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

  • 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

  • Single pulse width measurement

    Hello,
    I am trying to measure the time of a single pulse using ctr0 on a PXIe-6361.
    The input signal seen in attachment Capture7.jpg, is going to PFI 9, the gate of ctr0.
    The problem is that the counter see' s the rising edge and stops. The pulse width is not given as can be seen in the output (Capture8.jpg).
    I get the same results using Meas_Pulse_Width.vi example.
    Is something wrong with my PXIe-6361?
    Solved!
    Go to Solution.
    Attachments:
    Capture7.JPG ‏107 KB
    Capture8.JPG ‏145 KB
    Striker velocity blk_dia.JPG ‏35 KB

    Hi,
    I did pretty much the same and ran the example as well and they do work. You can try to explicitly specify the PFI line using a DAQmx Channel Property Node with a Counter Input Pulse Time Terminal property to verify if the problem is only with PFI 9 (if you use the property, you can use any PFI line even if is not the default gate for the specified counter), and even try with the other counters.
    The VI is on the 2014 version, so I included a screenshot in case you have a previous one. If you need the VI in a specific version let me know and I'll downconvert it for you.
    Camilo V.
    Applications Engineer
    National Instruments
    www.ni.com/support
    Attachments:
    Counter - Read Pulse Time (On Demand).vi ‏39 KB
    Screenshot.jpg ‏208 KB

  • Measure a single pulse width using usb 5133

    hi im trying to measure the width of a single pulseoutpout from NI SCOPE express
    however pulse measurements.vi seems to expect more than a single pulse.
    any ideas?
    ta

    Hi Slugger,
    Can you first try this with the SCOPE Soft Front Panel (SFP) located in Start >> Programs >> National Instruments >> NI-SCOPE >> NI-SCOPE Soft Front Panel.
    This should give you the screen below:
    Please set the items as seen in the red boxes. Make sure your trigger channel is correct Mode is set to SGL and press the measure button.
    This will give you a Scope measurement screen. Please press the Add button. Select the correct Channel and then in the measurement type choose "Period".
    On the main SFP window press the run button. Does the measurement give you the reading you expect?
    I do not have a Scope card to test this yet, so I have been using a simulated device.
    Regards
    JamesC
    NIUK and Ireland
    It only takes a second to rate an answer

  • 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

  • Please How can I capture and integrate a single pulse of a DC signal from an external circuit

    Hello everyone
    I am trying to integrate a signal from an external circuit I have built. I want to capture just a single pulse from the signal and integrate it. Please can anyone assist me with how I can perform this?

    The 6008 has no hardware analog trigger, so to capture a single pulse, you will need to trigger in software.  It does have a digital trigger, so if you have a digital way to signal the start of your pulse, it would make your life easier.  You will need to ensure you take enough data to get an entire pulse.  At that point, use one of the trigger VIs to find the start (and possibly end) of your signal.  Take a subset of your data and integrate it (LabVIEW does support integration).
    If you have trouble finding anything, let us know.  Find the trigger and integration VIs using the search feature of the palettes.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Generate a single pulse - long width ( 160sec)

    Hello,
    I have a DAQ Pad6052E. I want to generate a single pulse with one of the 2 counter/timer. It works for pulse width (high state) below ~160secondes. For my application I need to generate a much longer pulse width.  I want to have a pulse width >200 secondes.
    If somebody can give me some advices, that would be very appreciated.
    Thanks,

    In addition to JB's ideas, here's another one if your other counter isn't being used.
    Use the other counter to generate your own custom clock.  Let's suppose it's at 1000 Hz.  Then setup the counter you really care about to use the 1000 Hz clock signal as its timebase.  This will extend your duration capability by a factor of 100.
    Your duration limit is based on the ratio of count register size to timebase frequency.  Your board's counters max out at 2^24.  Your max duration is approximately (2^24 / timebase freq).  The lowest internal timebase is 100 kHz which is why you're limited to about 167 seconds.  With your custom 1 kHz clock, you'll get 100x that much.
    -Kevin P.

  • Triggered single pulse width measurement

    I am trying to measure the width of a single pulse, but would like to use the pulse itself as the trigger for a counter input pulse width read using a PXI-6608.  I would like to do this since the pulse can come at any time (much longer than any practical timeout)  and I would like to avoid having to place a DAQmx read in a while loop waiting for the pulse to appear.  Also, while the pulse is high, I would like to produce front panel feedback (light a boolean indicator).  I seem to be able to achieve that by using a digital input line, but again requires a DAQmx read in a while loop.  I haven't had much experience with triggers and my attempts so far appear to seem like triggers are not compatible with counter input pulse width measurement.  Is it possible to set up a trigger for a pulse width measurement?

    Hello kayotik,
    I think the best thing to do here is to use separate while loops. You can put most of your code in a main while loop, and then put your DAQmx read in a separate while loop. Both loops can run in parallel (just don't wire any outputs of one while loop to the other while loop, because then one will become dependant on the other). In order to pass data between the two loops, you will need to use a local variable. The DAQmx read can write to a local variable, and the main loop can read from that local variable. 
    You will also need to stop both loops with a single stop button. This article shows how (and also demonstrates the use of local variables to pass data between independent while loops):
    http://digital.ni.com/public.nsf/allkb/267704CDE91156D186256F6D00711AAE
    Colden

  • I took a photo using burst mode on my 5S and can't get the picture off my phone

    I took a  photo using burst mode on my iPhone 5S.  The "burst" consists of 4 photos, originally.  I have picked my favorite and deleted the others.  Still, I am unable to get that photo off of my phone using Photo Stream, or e-mail.
    Normally, my photos end up in Photo Stream and I can access them from my computer, but this photo that used to be part of a burst, and even while it WAS a burst, doesn't appear in my Photo Stream nor can I email it to myself.  I was able to eventually SMS the photo to a colleague who then emailed it back to me, so now it's on my computer but why can't I get that image off of my iPhone using my usual and straight-forward methods??
    I was able to pull it off using iPhoto so that works.  My burst only had 4 photos but like I said, I picked my favorite and deleted the rest and I could never e-mail it to myself or access it on my computer using Photo Stream.
    Thanks.

    This happens every single time a new camera comes out from one of the two big camera makers. Nikon and Canon do not send preproduction units to Adobe, so Adobe has to go out and buy a D750 or whatever from the store to test and profile it before they can update Lightroom. They can't get one earlier than you and I can. The profiling is quite an extensive operation. Other camera makers do send preproduction units, use dng, or do the profiling in-house and there you often get support right from release. If camera makers would finally embrace an open raw format such as dng, this whole problem would be gone but both Canon and Nikon seem to think they live in an upside-down world where their clients only use their software.
    Usually the dead period only lasts a few weeks but it is frustrating nevertheless. My only advice is to not buy a new camera at the day of release and expect to have third parties to support it. You definitely should not be buying these cameras right away if your business depends on it. Aperture, Capture One, etc. have the exact same problem. No third party (read non-Nikon in this case) will support the camera from the release date. Some are quicker than other adding support. Adobe is somewhere in the middle of the pack in this respect. Nobody outside of Adobe knows when an update comes out. Could be tomorrow, could be a few more weeks or a month. They might jump straight to Lightroom 6 and never add direct support to LR 5. Sometimes they will first bring out a beta version of dng converter that will convert the new camera's nef files to dng, which will work fine in the current Lightroom before updating Lightroom itself.

  • DAQmx Counter Input Measure a single pulse's pulse width

    Trying to measure a single pulse's pulse width. It appears that the DAQ only makes the measurement on the read command instead of after starting the task. I just get a timeout error. Is there any way to arm to counter for measurement or am I better off making a seperate thread to trigger my single pulse?
    double measured;
    int numSamp;
    TaskHandle taskHandle;
    DAQmxCreateTask("", &taskHandle);
    DAQmxCreateCIPulseWidthChan(taskHandle, "Dev1/ctr0", "", 0.025, 0.120, DAQmx_Val_Seconds, DAQmx_Val_Rising, "");
    DAQmxSetChanAttribute(taskHandle, "", DAQmx_CI_PulseWidth_Term, "/Dev1/PFI10");
    DAQmxStartTask(taskHandle);
    //Trigger the single pulse here
    DAQmxReadCounterF64(taskHandle, DAQmx_Val_Auto, 10.0, &measured, 1, &numSamp, NULL);
    Thanks,
    Dan

    Which device are you using?
    If you configure implicit timing (DAQmxCfgImplicitTiming) your measurements will be buffered and will begin when the task is started.  The minimum buffer size is usually (always?) 2 samples, but that doesn't mean you have to read two samples back.  
    Best Regards,
    John Passiak

  • How to generate an analog biphasic single pulse

    Hi Everyone,
    I am a newbie to LV. I have been just using it for the last 3 weeks for my summer research project in which I am working with a professor on artificial neural networks. For the past week, I have been asigned to code a program in LV that will act as an interface between the user and the MEA via a STIMULATOR BOARD. I have successfully done the binary addressing part of the deal, but am stuck where I have to have a user-interface that will allow a user to generate an analog (AO) output of a single biphasic pulse to stimulate the neural network.
    The user has to have a choice of the pulse width (aka the duration), and the volt (aka height) of the pulse. Also he/she should be able to produce either a mono or biphasic simple SINGLE pulse (not a continuous pulse). I have been digging in examples but my efforts have not gotten me anywhere useful.
    Therefore, to all the LV experts...can anyone help me out with a VI that produces a SINGLE BIPHASIC PULSE for a finite time?
    Any pertinent help will be appreciated.
    Thanks,
    UE

    Ok.Here is the solution to ur problem.
     What u should use is the SQUARE WAVEFORM.VI, where user can specify the peak to peak value,offset & phase as well.
    Now inorder to generate the single square wave,its very simple.Under sampling inforamtion specify the Fs as 100 times the required frequenct Fout & no. of samples #s as 100(i.e.Fs/Fout). This will result in only one square wave.
    Then while writing on to your DAQ card select mode as "FINITE SAMPLE" mode.ith no of sample may be1.
    Let me give u a simple example. Suppose u want to generate the one square wave of 10Hz with +ve magnitude 5V& -ve to be 3V.
    The
    1.Peak to peak is (5+3) = 8.
    2. Offset is (5-3)=2.
    3.Phase is 0 or 180 depending on +ve or -ve pulse o/p first respectively.
    4.Frequency is 10.
    5.Fs is 1000 & #s is 100.
    6.Select the sample mode in "DAQMX timing.vi" as finite mode & no. sample per channel as 1.
    Also disable the REGENERATION PROPERTY od DAQ & try. It should help.

  • Transmit single pulse

    Hi. I'd like to transmit a single pulse (for example, a single byte 0xFF) via RS-232 to serve as a "request to send" signal for a PIC microcontroller. Then, the PIC will send its data to LabView. I'm using VISA read and write from the example Basic_Serial_Read_Write VI. I have the "read" part working, but don't know how to configure the VISA Write to transmit the single pulse, then immediately read the incoming data.
    Please advise. Thanks!
    Jennifer

    Jennifer,
    You can send a single byte by sending a single character with a VISA Write. For example writing "A" would send 0x41. You can also right click on the string control and select HEX display to manually type 0xFF.
    You mentioned that you want to send a "single pulse". You can send a byte like I described above, but serial communication sends one bit at a time (serial) so you will actually be sending 8 pulses (actually there are start and stop bits as well so 8+) for every byte. Just wanted to make sure this was understood.
    Shawn B.
    National Instruments
    Use NI products on Linux? Come join the NI Linux Users Community

  • Retriggered single pulse

    I am using NI-DAQmx C/C++ API. How can I set up a counter to produce a retriggerable single pulse? That is, I need to trigger an output pulse, and while the pulse is being generated, if a new trigger comes in, it resets the counter so that the pulse timing is extended.
    Is that what the DAQmxSetStartTrigRetriggerable property does? I'm guessing that the ability to do this depends on the hardware being used?
    Thanks!
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com
    Solved!
    Go to Solution.

    WM_John_Weeks wrote:
    I need to trigger an output pulse, and while the pulse is being generated, if a new trigger comes in, it resets the counter so that the pulse timing is extended.
    The need is a replacement for the (ancient) NI-DAQ API GPCTR_Set_Aplication() with ND_RETRIG_PULSE_GNR with something equivalent in NI-DAQmx.
    I'm glad you clarified.  ND_RETRIG_PULSE_GNR does not extend the pulse timing if an additional trigger is received during generation.  From the NI-DAQ Function Reference Manual:
    ND_RETRIG_PULSE_GNR:  ... Any gate transitions received during the pulse generation are ignored.
    With this in mind, DAQmxSetStartTrigRetriggerable is in fact what you would want to use to get the same behavior in DAQmx.
    Best Regards,
    John Passiak

  • Single pulse to radiate with PXI

    Good day to all, how can I generate one single pulse on Labview to later radiate it on PXI withouth using any DAQ command , because there are some samples that do so, I would like the diration of the pulse to be in the us or less

    Hi Frank12244,
    What PXI module is generating the signal? The PXIe-5601, is a RF Downconverter used with our PXIe-5663/5663E Vector Signal Analyzer (VSA). The VSA is used for acquiring not generating. Do you have a RF Signal Generator in your PXI chassis? If you’re looking for the drivers for communicating with your PXI modules, go to ni.com/drivers and download the driver for the device. The drivers also come with LabVIEW examples, which you can access through the NI Example Finder.  
    Tunde S.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Sms Screen is white

    Hello, I have the Blackerry Curve 8320. On the top of my Sms background, it is white, whereas on others, it has a glimpse of the homescreen. I have a picture because it kinda doesn't make much sense through just typing. This is my screen (sorry for t

  • IPhoto crash

    Hi, I was recently updating my Macbook pro with latest software updates. It showed a red mark (exclamation in a red circle) in the updates section. I continued updating other softwares and unmarked iPhoto for the time being because of the warning. La

  • Change the passwords of the SCOM technical accounts

    We use Domain Accounts for following SCOM Accounts like OM Server Action account OM Config and Data Access Service account OM Reporting Write account OM Reporting Read account Now we want to Change their passworts the first time. do these Password

  • Maverick update, Lost my sent mail mailbox, but the inbox is still there and contains no messages!

    I lost my sent box after maverick update, the sent box that used to appear under the paper airplane icon. The inbox is still there, but it contains no messages. I have tried to Rebuild the mailboxes, removed and added again, restarted my computer, sy

  • Adobe Premier Pro CC 2014 closes with no error message after opening project

    PC Spc: OS:Windows 8.1 64-bit Processor:Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz Ram: 2x 4GB  Samsung 1600MHz GPU:NVIDIA GeForce GTX 760 please help