Converting sequence of anlaog pulses into digital pulses

Hello,
I am working to detect the peaks in a particular interval of time say 'x'. I acquired the analog signals( the pulses) as shown in the image here AcquiredPulse from analog board using DAQ.Before detecting the peaks of the pulses of different amplitudes having nearly same time period shown in the above image I want to convert them into digital pulses or pulses of same amplitude so that it will be easy for the post process of detecting peaks.And after obtaining this I need to find out the time interval between the pulses.
Can any one help me with implementation of this.
Solved!
Go to Solution.

By this Vi you can convert the waveform
Vara Prasad A
Kudos are Accepted
Attachments:
analog to digital.vi ‏14 KB

Similar Messages

  • Convert scanned handwriting (raster) into digital ink (vector)

    Do any of the Adobe products (or any other software) convert raster based images into vector... specifically I am wanting to convert pages of scanned handwriting into digital ink (NOT editable text).  I will then use a suitable tablet and stylus to add/remove handwritten words to the digital ink text. I have been using Onenote and a Surface Pro and stylus to generate handwritten text but have a number of existing manually handwritten pages that I would like to convert to digital ink and then modify in Onenote or some other suitable program.

    illustrator, indesign, flash, shape and probably several other adobe products can convert rasters to vectors.

  • Converting analog signals into digital signals

    I have been transferring analog video cassettes to iMovie for further editing by using a digital camcorder (Canon MV960) between the 8mm video camcorder (analog camcorder) and iMac. I have always done this without any cassette in the digital camcorder, i.e. I have been using the digital camcorder as an analog/digital converter only.
    I recently acquired iMovie HD 6 but this most recent version of iMovie refuses to import any signal from the analog camcorder via the digital camcorder. The window in iMovie is empty with an error message saying that "no tape". Well, it's true, there is no tape, there never was any tape when I used the previous version of iMovie!
    Does this mean that I have to convert the analog video tape into digital video tape and, once recorded in digital format, the digital tape can be imported in iMovie HD 6?
    All cable connections are OK:
    - the analog film could be seen in the screen of the digital camcorder:
    - digital video tape could be imported to iMovie HD 6.

    Hi 5480:
    try running a permissions repair (which should actually be done before and after upgrading software). You will find it in applications / utility / disk utility.
    Also, this is a copy of how Matti Haveri (iMovie Guru) sets up analoge to DV:
    My Analog to DV passthrough settings memo:
    1. Take the tape out of the camcorder
    2. Connect the analog device's audio and video to the camcorder's minijack, use the S-Video jack for video if the output device supports S-Video
    3. Put the camcorder into VTR-mode
    4. Select A/V->DV out: ON, in VTR mode's menu choices
    5. Disable the info display on the the camcorder by toggling its DISPLAY button
    6. Put iMovie (or other DV application) to the Camera Mode
    The analog image should now appear on the camcorder's screen as well as on the iMovie's screen.
    Note that if you have a tape in the camcorder, you have to put the camcorder's VTR into REC mode (you may pause the tape) but this is not advisable because it produces wear to the tape.
    * Note that the SCART which comes with the European nEUtered TRV320E camcorder is Out-only.
    Sue

  • How do I count digital pulses and convert them to an x-axis unit?

    I am a grad student in Chemistry and I have undertaken a project to switch an old spectroscopic instrument from a stepper motor chart recorder to a digital interface. 
    I am using Labview 7.1.
    I just measured the signals coming from the instrument, so I know exactly what I am working with.
    I have one constant, 100mV, digital pulse--which was used to drive the stepper motor a set # of wavenumbers for a given amount of pulse. I need to convert this signal to correlate with wavenumbers--on the x-axis of my final waveform graph.
     The other signal is an analog signal, up to 250 mV, which is coming from a photomultiplier tube and represents my y-axis of my final waveform graph.
    I am using the NI BNC-2110 DAQ board. 
    Should I design the program based from just the AI Aquire Waveform.vi? Add a Count Events or Time vi. for the digital pulse?
    Could anyone give me some hints with my initial setup/layout? 

    Hints:
    Figure out what is the modle number of your DAQ device. I think the model you cited is just a break-out box.
    Depending on your hardware you may be able to use the step pulses to clock your A/D conversions.
    The number of sample will be the number of steps so all you need is a conversion factor to convert sample count totoal to wavelength.
    Others may offer better ideas so stand by.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Digital pulse on DO line

    Hi, to output a digital pulse on one of the digital output lines instead of the counter, do i just select the particular line instead of the counter for the device?
    And if i'm only generating one pulse, and idle state is low, then does it matter what i choose as my low time?
    Finally, using the Digital output DAQmx, when I write high to a line, will that line stay high until the remainder of the program (or until i write it low)?
    Thanks.

    What type of DIO are you using? If using a standard DIO-96, you can use the Write to Digital Line function from the standard DIO functions. They are easier to use than DAQmx in this case. Just wire in the device number, channel number, line number, and True to output a high or False to output a low. Once a high is written to the line, it stays high until you write a low. The timing is up to you. You can write a high, wait some time, then write a low.
    - tbob
    Inventor of the WORM Global

  • Gen Digital Pulse Train Finite Retriggerable - Initial Delay is only for first trigger

    The DAQmx example Gen Digital Pulse Train Finite Retriggerable has an Initial Delay parameter. It appears (6602 and an E series card) that this Initial Delay only delays the pulse generation for the first trigger. Subsequent triggers show no delay. Is this the designed behavior ? Any way to get the Initial Delay to occur for all triggers ?
    Steve

    So, yes, you are seeing the appropriate behavior. However, it is possible to get a re-triggerable finite pulse train with an initial delay. What you have to do is set up a re-triggerable pulse, and have that pulse act as a pause trigger for a continuous pulse train. Let me explain further with an example.
    1) Set up counter 0 as a re-triggerable single pulse (Gen Dig Pulse-Retriggerable.vi). Set the low time = initial delay = X, and high time = Y. The re-triggerable pulse will be low for X, then high for Y after every trigger (it applies the initial delay to the first pulse, and the low time to every pulse after the first). The trigger source is your actual trigger.
    2) Set up counter 1 as a pause-triggered continuous pulse train (Gen Dig Pulse Train-Continuous-Pause Trigger.vi). This pulse train will be the frequency of the finite pulse train you want. The pause trigger source will be the output of counter 0.
    I have attached the VIs I used to accomplish this. There are three VIs, the two mentioned in 1) and 2) and another VI I used just to monitor the signals. These could be combined to a single VI if you would like. Hope this helps!
    -Alan A.
    Attachments:
    Retrig_Finite_Pulse_Delay.zip ‏135 KB

  • How to send/recei​ve digital pulses through parallel port?

    Hi, im working on a project to send/receive digital pulses through parallel connection. I need to control the frequency of the pulse sent as my device communicates through negative triggering of the digital pulse. How to use LabVIEW send and capture these waveforms?

    Here's a good place to start:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/72​C6FC6CE4AD4D1386256B1800794596?opendocument
    2006 Ultimate LabVIEW G-eek.

  • Niscope for pxi5105, use a digital pulse signal to control analog signal sample

    i want to use ni-scope to drive pxi5105. And the PFI1 connect to a digital pulse signal(10KHz, 0-3.3V), to control a single channel analog signal continuous sample(Chan 0). I want a loop when the digital signal falling, the analog singal start to sample, and when the digtal signal rising, the analog singal stop. And by the low level of the digital singal, the analog singal sample (coupling by DC) can get an average and export to txt. I have tried the "start_and_reference_trigger.vi " and it did not work correctly. i need your help, thank you very much.
    Attachments:
    start and stop triggers for analog sample.vi ‏94 KB

    Hi Phil,
    The SCC carrier is only conditioning your signals (i.e. if your signals are not in optimal ranges, bandwidth or need external excitation). The actual counters and all digital lines are controlled directly by the M-series board. This means you will never be able to refer to a counter in the SCC module.
    If you route the signals of the M-Series board, is as if you had done so externally from the SCC. Look at this example and might give you more insight to how to implement it (This is software timing). The hardware timing would be doing correlation DIO. Here is an example that needs to be modified to adapt to your timing: http://zone.ni.com/devzone/cda/epd/p/id/4414
    Hope this helps,
    Yardov
    Gerardo O.
    RF Systems Engineering
    National Instruments
    Attachments:
    Finite Dig Output High.vi ‏31 KB

  • How to convert analog scalar into digital value

    I have the DAQ connected to a system that sends a digital 0 or 1 through the analog BNC connector. If I use DAQ Express VI, I can convert the dynamic data type into a boolean (rather than scalar) array so it's easy to check if the value is 0 or 1. Because I'm running the VI in real-time, I can't use dynamic-to-boolean array conversion. The output I get is a 1-D waveform array which will give me scalar values. The task has a voltage range of -10 to 10 mV. How can I convert that into a 0 or a 1? Should I set the voltage range to 0-5V and simply have an if statement that checks if the value is, let's say, greater than 2.2V (which will mean it's a binary 1)? Is there a better method?
    Thanks. 

    Hi abdel2,
    It sounds like you are trying to measure digital data from your system. If that is the case, you should be able to connect to a digital input line if your DAQ card had them. Then you can set up a digital acquisition in LabVIEW that will interpret the signal as a boolean input.
    If you are not able to do this, you can approximate the digital behavior by reading analog data, and pragmatically determining a threshold (for example 2.2V), though this is a less efficient way to do it.
    Regards,
    Stephen S.
    National Instruments
    Applications Engineering

  • Generating digital pulses from the pci 6722

    I am trying to generate signals that will drive a piezoelectric motor. I need an analog signal that I will send to an amplifier and 6 digital pulses with varying offsets. I am using a pci 6722 and was hoping to get an offsets between the digital pulses to be around 2 microseconds. I am struggling  to find the best  way to get such exact time delays between multiple tasks. Any help  would  be greatly  appreciated.

    The actual offset times is not as important as the digital pulses firing sequentially and all within the envelope of the analog signal for multiple steps.  I guess my question is less about hardware limitations, and more about how execute my desired process in Labview. My experience in Labview is pretty rudimentary and I am struggling to see how to synchronize events in labview.  We are using a BNC 2110 to output our signals, and it is my understanding that the BNC 2110 has a 1 Mhz clock.  We are trying to import that clock from our device use that to clock timed loops and we are having some difficulties with the details.  I am honestly not sure if I am on the right track.  In hopes that it might add some clarity I attached a picture of the signals we are hoping to produce.  The orange signal is our analog output.  Between times t3 and t4 we need the 6 digital triggers to switch to "on" and we need them to all switch off simultaneously at t6.  Again we are definitely willing to compromise on speed if we can use the card we already have.
    Attachments:
    waveform.PNG ‏28 KB

  • Directly convert the analog signals into digital without passing through FPGA

    To whom it may concern,
    I am using a SCB-68 board R-series and I have a couple of technical questions:
    In my system at the moment 8 analog channels are connected to the 8 input analog ports and then data are sent to a FPGA (PXI system 7852R). I am planning now to add other 4 channels to the system. Since over the total 12 channels I just need a very fast acquisition mode (using the FPGA) for 6 of them, while the other 6 can be sampled in a ms scale, I was wondering if you can suggest me something that I can use to directly convert the analog signals into digital and in this way used many unused digital signals provided with this model.
    Thanks in advance.

    yes it is correct, what do you need is:
    software + (pc) + PXI + cable + chassis + C-series module
    With embedded controllers, there’s no need for an external PC
    With PXI remote control kits, you can control PXI systems directly from desktops, laptops, or server computers.
     What Is PXI?
    To configure a complete PXI System please go to: Build Your PXI System

  • How to count digital pulses?

    I am using usb-6501 to read in 12 distinct digital pulses and want to know how to count the pulses. The 6501 has only one counter channel so I am looking for a software/labview program option to count pulses for each channel individually. 

    Do you need to know when they change or just how many times they changed? Also how fast are they changing?
    Mike ...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Scb-68 and PCI-8331 what is converting my analog sgnal into digital%3F

    Long ago, around 7 years ago, I worked on a project in which I interface photodetector to my computer through SCB-68 kit. The SCB-68 kit was connected to computer using PCI-8331 card.
    Now, my input was analog signal from photodetector but at programming interface I was getting digital values for computation. Now my confusion about the conversion task done by which part of this connection?
    SCB-68 was converting the input signal and supplying digital output? or PCI-8331 was doing digitization before delivering information to computer? or labview itself was doing it after getting signal from PCI-8331?
    can anyone please clear me?
    Thanks!
    Solved!
    Go to Solution.

    The scb-68 is just a dumb terminal block. The pci-8331 is http://sine.ni.com/nips/cds/view/p/lang/en/nid/13179 and does not connect to photodetectors so your memory is flawed about the part number. An actual DAQ card would have done the conversion.

  • Help - Can I Convert/import a PDF back into an InDesign doc?

    Long story short: This is a document I originally created and the original was lost. The client now wants to make changes and re print. I would like avoid having to build the entire doc from scratch. I have the original Hi-res PDF that I retrieved from the printer.
    Question:
    1) Is there any way to convert/import this doc back into an editable Indesign Document?
    Steve

    Sorry Kids- was just having a bad day! To Kath: you are absolutely right -didn't even think about it, & checked it in MS Word with that word in wrong usage, just flew through! To Jongware: Sorry Bud, but plenty of help out there to solve that issue! To Scott: great link, had fun reading that one! Just got my second & third AAS degrees from local community college (Print & Graphic Design(updated to digital) at 53. And I was appalled at how many of our HS grads are not only receiving their diplomas but getting into college and cannot read at all! So I guess there will be much need for good proofreaders for the immediate future at least, Damn, must still be having that Bad Day relapse!! Have a great day all & sorry again for anyone I might have insulted, not my intention, if I were perfect, I wouldn't need to be here now would I? Les G

  • How do I convert a shockwave object file into a mp4 or avi video?

    How do I convert a shockwave object file into a mp4 or avi video?  Do you know of any software that converts that type of file?  

    The M4V format is a video file format developed by Apple and is very close to the MP4 format. The differences are the optional Apple's DRM copyright protection, and the treatment of AC3 (Dolby Digital) audio which is not standardized for the MP4 container.
    If your M4V video is not unprotected M4V files and without AC3 audio. It may be recognized and played by other video players by changing the file extension from ".m4v" to "mp4".
    So you can try to change the file extension and check if it works. If it doesn't work, try Leawo video converter(for windows or mac) and convert m4v to mp4 format.

Maybe you are looking for