pulse generator

Hello

I joined the program and a PrintScreen of front panel and block diagram. My program provide only a single realization of the signal. How can I make my signal to become deposit?

Thank you.

Hi Matei,

Hello and I hope that your well today.

Sorry I never posted my code in LabVIEW 8.5 - it's here.

I hope this will help you.

As already stated, the dt is the sampling period is the inverse (1 / fs) of the sampling frequency.

Please let me know if I can be of any assistance

Tags: NI Software

Similar Questions

  • square pulse generated with the NI PCI-6723

    Hello

    I generated a pulse biphasic square in Labview using a standard square wave generator and by stopping the vi to run after generating a full periodic square wave period. The only problem I have is that as soon as I stop my code, so once the square impulse had emerged, the analog output of the Council NOR remains at the same voltage as the last sample of the generated square pulse. Instead, I'd like the voltage is back to zero.

    This is the same phenomenon that you see when you use the Measurement & Automation when you build an analog output and then you stop manually, if you take a look with an oscilloscope to output voltage, that it remains at the level you stopped analog signal.

    I have attached a picture of a pulse square with 1V amplitude and 1250 Hz frequency showing that voltage level will not return to zero. If I try to add a sample more to the curve above, the tension instantly bumps up to 1, leaving me with the same problem.

    Any thoughts?

    Thank you

    Alessandro

    It should work.

  • How to write a period for pulse generator?

    Our pulser (composer of Quantum 9514) reads ULSE0ER... only integers, so I couldn't write decimal periods with hyperterminal or of NEITHER. What is a problem?

    I suggest you turn on also OR spy to see what is actually sent. If it matches what you send in Hyperterminal and corresponds to the format contained in the manual of the instrument, it would be time to contact the seller of the instrument.

  • How to synchronize 4156A parametric Analyzer with Agilent 81110 A pulse generator?

    I'm trying to synchronize the pulser of Agilent 81110 A and HP4156A parametric Analyzer (it doesn't have a unit PGU).  The objectives is to measure data from the parametric Analyzer when at the time 81110A triggers an impulse.  I really appreciate your help.

    You can't write two commands at the same time. The idea of a trigger is to launch a measurement/generation. If the tools support it, you re them that as soon as the trigger is detected, they would perform the scheduled operation. For example, you might be able to send the command 'ON' and it will wait for the trigger before actually display anything. I don't have the instruments or manuals. You will need to look at them and see what options are available. Or, as I said originally, contact Agilent.

  • FPGA to generate the counter and pulse train

    Hello

    I have some experience with Quartus, but new on the FPGA OR.

    I have a PCI-7811R. I'm trying to use it to illuminate sequentially 144 LEDs repeatedly. The duration of each pulse is 480us.

    Basically, I need to generate a pulse and generator of a counter to record the number of pulses and, according to this number, select which light is lit.

    I designed a pulse generator train based on an example of using FPGAS and added a counter in it. You can see in the attached vi.

    My question is,

    When I put the I/O node inside loops call single cycle, it can generate the correct pulse.  However, when I tried to use the local variable to transfer data from the SCTL and then plug it on another node of I/O, I can't detect the pulse signal when I measured this I/O.

    Is there something wrong with my code when I try to transfer the data of the SCTL? Can I also use local variable to transfer the value of counter, because I will need it in the next part.

    Thank you!

    If you are referring to the wired local variable to DIO2 in your attached VI, the problem is very simple: it is outside a loop, then it executes only once.  Put this local variable and the node of IO in a loop and I think you'll get something close to the impulse you expect (although if it is not in a loop of single cycle you will have exactly the same calendar).

  • Difference between the name of the channel & Pulse Terminal (NI USB-6212)

    I have a box OR USB - 6212 & on the pinout data sheet, it is said that the FREQ OUT default PIN is 40 & the signal name is PFI14.

    I am trying to generate a pulse by FREQ OUT in c# & DAQmx by calling channel name "dev2/freqout". When I ran the program & attempted to verify the measurement using a multimeter, I don't have a reading of the PFI 14, but 6 PFI. When I tried to set the name of the channel for "Dev2/freqout", the pulse filled Terminal automatically textboox with control unit using the test panels & "/ Dev2/PFI6. When I started the program, I got multimeter reading out of the Terminal impulse.

    Can someone please explain to me about this behavior?

    Also if I want to write a program to read the pulses generated by FREQ OUT, should I wire PFI 14 to some CBC CTR or PFI6 to CTR CBC?

    No explanations and answers are very aprpeciated.

    Thank you

    Hi Kasrus,

    Thank you for that bring to our attention. I will study this question that you may have found an error in our documentation. My recommendation would be to use the PIN that works for you.

    Thanks again for us help to continuously improve!

    -------

    Aaron F.

    National Instruments

  • at the same time production and measuring the pulse

    Hello everyone,

    I'm generates a pulse for specific time. Now, I want to measure within the same daq card. I've done Vi for him but he has an error. I have USB daq-6343. I enclose my Vi here.

    The problem is I am able to get pulses generated at PIN 6 PFI but reading Vi watch time-out error.

    I plugged the wire between PFI 1 pin and PFI 6 pins on the DAQ card.

    So please suggest me what to do to eliminate this error.

    Thanks & best regards,

    I just looked at your original vi, I had looked only at the most distant (corrected) a previously.  I don't see a good reason to read timeout error you have immediately.  Record of an error timeout on your attempt reading suggests that the code was executed without error so far, including the beginning of the generation of pulses.  That would leave wondering on physical cable connection or possibly some undesirable side effects caused by your cleanup code when you three States a PFI lines.

    The other issue was my suggestion to leave DAQmx Timing.vi outside of the configuration string entirely for cases like this where you only want to build a single pulse.  To be honest, it's a habit & practice I adopted a long time ago.  I thought one of the reasons was that the finished pulse trains required a minimum of 2 samples.  A bit of test code showed me that it isn't true, if my memory tells me there was a time when it * used * to be true.  I don't remember if I have errors or if the task has chosen to generate 2 pulses with just a warning, or something.  I just remember that, while he was working on a module that was supposed to be able to produce any number of pulses from 1 to N, I found that I wasn't actually able to support the case of 1 pulse by asking just 1 sample over sample mode.

    * Anyway *, the other reason to avoid sampling over for a single pulse mode is that in the past, this would consume actually 2 counters on DAQ cards.  Generated the pulse (s) while the other was a help that triggered the first to control the number of generated pulses.  It was unnecessary as you could * also * generate a single pulse leaving the DAQmx Timing.vi out of the config, a method that used only 1 meter.

    X-series cards (like yours) don't consume over 2 programmable counters of the user to generate finite pulse trains, so the lesson I learned a long time ago and was trying to convey is perhaps not so important in your case.  I recommend it even if you know that you will always generate a single pulse, simply because he considered the standard way to generate a single pulse (as seen in examples of navigation).

    -Kevin P

  • generate a digital triggering out CH1 (low and high) for the USB-5133

    Hello

    I would like to generate a digital triggering on the USB 5133 CH1, is this possible?  I tried with the PFI 1 successfully but the output is only 3.5 v and I need to 5V, because this trigger signal goes to a box of pulse generates a signal, which is received by the CH0 on the USB-5133. This configuration works on the 5102 OR but because of the treatment, I am obliged to try a new device.

    Channel 0 and 1 are only entries then you will not be able to use them to generate a signal.  All of our products current digitizer that are recommended for new designs use 3.3V CMOS logic levels for PFI lines in output mode.  Your best bet to generate a digital triggering 5V would be to use an external buffer that can accept 3.3V CMOS levels as an input, but is under voltage of 5V.  Here are some that might work for you, but there are many others: http://www.onsemi.com/PowerSolutions/product.do?id=M74VHC1GT126DT1G adding a buffer in line with the trigger signal will add delay, so you will need to ensure that it is acceptable for your application.

    Hope this helps,

    -Matt

  • Generate impulses to drive an instrument AND trigger some HAVE (the S Series DAQ)?

    Hello

    I use a PCI-6122 (with LV 7.1 and Windows XP).  I'm generating a TTL pulse with one of the counters on the Board (from 0).  I need to use this momentum to drive a shutter and also as a trigger for data acquisition (HAVE).  Is there a way to "split" the output so I can receive TTL pulses to two simultaneous different terminals, for example to "CTR OUT 0 ' and"PFI 3"?  If not, could you please explain to me, or direct me to the equipment, on the if (and how) I can synchronize the two counters in order to achieve the same thing?

    Thank you.

    Never mind... I figured out how to generate both synchronous impulses go both counters using a common trigger: I use a pulse generated from a digital lines (DO) that I'm physically routing to the CTR terminals 0 DOOR, i.e. PFI 9 and CTR 1 DOOR, i.e. PFI 4,.  I am attaching a capture in case it is a help to someone on the other screen.

  • Is there a way to generate a constant tension with the help of digital I/o

    Hello everyone,

    I know that Digital
    IO used only for digital waves, but I was wondering is it possible to
    have a constant voltage(0-5volt) of DC using the digital I/o, perhaps in
    increase the pulse width and the decrease in frequency. Do you have
    idea of?

    Thank you

    Ashley

    Not sure how ripple would, but you could the pulse output and change the duty cycle. Power than an RC filter maybe. You will need to collect some data about how wide pulse generates what voltage for a given frequency.

    -AK2DM

  • Generating Train.vi impulses

    Hello

    I use the PCI6023E card and I want to generate a pulse train ended up on one of the counters.  In my simple program, I don't have the Train.vi pulse generate with the following input parameters.

    Device number = 1

    Meter number = 0

    OK, I need connect the 1 meter out put at the door of the meter... Solved.

  • Generate impulses

    I want to program a VI that generates the pulse train. So, I looked for examples and found one as below, also as an attachment. Now, I want to see the pulses generated by this example by adding graphics of waveform in the example. Can someone show me how to do?

    Thank you

    Jay

    You can't see the waveform within the VI, which generates pulses,

    You must acquire signals using another channel of acquisition and acquisition

  • Fetch the multi-record acquisitions takes too long

    Hello

    I need to improve the performance of my code in multi record acquisition on the following system.

    LabVIEW 2009, Niscope 3.5.2 map 5122 digitizer on the PXI-1042 with PXI-8106 controller connected to the host PC Dell Optiplex 380 with 4 GB of RAM by crossover cable.

    I tested the speed of transfer of my connection to the chassis using the niScope memory transfer Rate.vi Maximum flow, the result was 110,74 MB/s.

    I need to use the scanner to get the waveform of different seismic sensors and it should be as fast as possible to get different transducers in a reasonable time. I used the Multi files get VI to monitor the rate at which the code executes. I want to acquire 30 signals with 10,000 record length to 100 MECH sampling rate. / s.

    Extraction of 30 records with 10 000 record length takes about 300 ms, that is far too long for my experience. I tried different numbers Records and found that the code takes 10 milliseconds per registration type. I've found that extraction vi takes most of the time. I ran my code both recording Multi search vi. Two sleeves at the rate which is not satisfactory for my application. I appreciate if someone can help me solve the problem.

    Thank you

    Ahmad

    .

    I found that on the pulse generator FRP was set at 100 Hz, which means it sends the impulse evey 1/100 sec or each 10 m I think the program was waiting to acquire the signal. I changed the FRP at 1 K Hz, it became much more quickly.

    Thank you

    Ahmad

  • wink triggered camera

    Dear Sir.

    I did a small medical application to acquire an image after an external trigger (from the light source with pulse generator) and after a short delay (control value) using labview 2013.

    I use the Point of the camera gray grasshopper3 gs3-u3-51s5m.

    How it should work: Allow the user to change the time delay on the fly.

    The user will push the button to send for 2 seconds, then the 'sent' indicator turns to true and the camera will take a photo after a short delay and will automatically save the image the a folder named "Images" and then change the indicator 'sent' to false.

    How it works now: Can change the delay time only when the VI is not running.

    After the user press the button send for 2 seconds, the "Envoy" light will change true but nothing happens.

    I added my VI.

    Hope you can help out me.

    PS I am kinda new to Labview and I might miss some of the basics.

    Thank you very much!

    Chen.

    I check your vi with my camera it's ok, I just turned off the part of your code relate to trigger because my camera have not trigger did you test your simple code with your camera?
    Maybe there is a problem with the unit

  • Is it possible to review the profiles of Stimulus for NIVS2009 offline?

    I have a system inherited from NIVS2009 I need to become familiar with before the conversion to the NIVS2010. I need to see a complete list of Stimulus profiles. It is very inconvenient in the pulse generator in the workspace. If I could cut and paste into a txt file would be sufficient, but it does not seem to allow. Is it possible to export or view files .et1 for review?

    Thanks in advance for any input.

    Yes, Mr President, it is.

    In the getting started window menu bar has an entry that offers transfer.

    The name is a little misleading because we say: Mutat Workspace and the definition of system files. Go ahead and run it and you will see a drop down menu with many more options.

    Thank you

    Tom

Maybe you are looking for

  • answers below display on the iphone 4

    Only the lower part of the screen, where the 4 icons is totally insensitive/dead. Have cleaned the screen, with no improvement. Cannot see all the parameters to change.  Help!

  • No one knows what Citrix and doesn't load it on my Mac after the last update?

    Hello: I downloaded the OS X El Capitan (10.11.5) update and when I restarted my Mac Pro, I see a program called Citrix.  Can someone e tell me what Citrix and how does it work?

  • M40 Diagnostic tool - PC does not start

    Hey, PC diagnostic tool not luch, you he used to work earlier, I tried to reinstall, but nothing has changed it doesn't always start

  • MacBook keyboard layout

    I would buy a MacBook in the site Web Apple us and then pick it up in an Apple Store in San Francisco. Is it possible to choose the Italian layout for the keyboard? Thank you!

  • Movie Maker 6.0 - limiting length of film?

    Hi all, I posted a question earlier, and although I got an immediate response, and I acted on the advice, I can't go more than 18 minutes on a film. Zealous employment transitions limits the memory needed to make a single movie? Is there a loimit num