Dividing incoming train of pulse signals into individual pulse signals

Hello,
I am acquiring the pulse signals using DAQ with sample rate of 500Hz.In the attached image the first signal corresponds to 1 second duration samples of pulse signal and second with 10 second duration collected using collector.Now I want to divide and save this incoming pulse signal as periods such that each period contains a pulse signals.The main problem is that the each incoming samples of 1 sec duration doesn't actually contain a single pulse but sometimes contains the two half's corresponding to two different pusle signals.
Can I know how to divide this incoming samples so that I can save the last four pulse signals in four periods so that they can be used to average the current pusle signal to make it better if it doesn't have the same shape or very different amplitude to the previuos one's.
Attachments:
Incoming_signal.PNG ‏181 KB

I want to divide the signal into periods such that it contains sample values(amplitude) from the satrting index of a pulse to the next index of another pulse as shown in the attached image.
Attachments:
pusle_division.PNG ‏85 KB

Similar Messages

  • I want to divide a Multi-page Illustrator CS5 file into individual files

    I have an 18 page Illustrator file I want to divide into individual ai files. Is there a quick solution?

    In the Illustrator Save as Options dialog Save to separate files

  • NI 6229 DO Feeding Signal Into NI 2503 ME

    Hi everyone, I am feeding a pulse train signal (P2.0 PFI Signal) from my NI 6229 card to my NI 2503 MUX Card.  I am switching the MUX in 2-Wire Quad 6x1 Topology.  My PFI pulse train signal is going into COM1+ and I am closing MUX_CH6+ to be used for external signal.  What signal will be on MUX_CH6-?  Will it be a ground reference or a no connection?  I know for a signal coming externally into the MUX then MUX6+ = SIGNAL HI and MUX_6-= SIGNAL LO but how about signals leaving the MUX and then feeding external circuitry.  What does MUX_6- have on it?
    Thanks so much! 
    Solved!
    Go to Solution.

    The COM- isn't tied by default to anything.  If you only have a PFI line into your COM+, then your COM-, and subsequently MUX_CH- won't have any signal on it (it's not tied to chassis ground etc.. so it's just a wire connected to nothing).
    John M.

  • Can Calibration Protocol and how to devide signals into CAN-Bytes and backwards

    Hi,
    i have two questions about working with NI-CAN Hardware:
    First: How do I divide my signals (esp.:rpm,boolean variables,...) to put them into the CAN Message Bytes?
    example:
    rpm range: 0 to 8000
    resolution:1 step means 1 rpm
    On rpm = 2000 the resulting bitcoding is as follows:
    [00000111 11010000] [highbyte lowbyte]
    Next I have to store a boolean bit(false/true is set to true) additionally into the highbyte. the resulting bitcoding is [10000111 11010000]. CAN message is now ready for dispatch. The listener have to take the individual bits to get the rpm and the booleans state.
    I programmed a CAN-DLL in Visual C++ for a CAN Dongel. In C it is easy to split the CAN Message into the
    ir signals. Shiftoperations (<<,>>) make this possible.
    Second: Next step is the use of CCP2.1 (Can Calibration Protocol). Did someone use already once CAN Calibration Protocol with Ni-CAN hardware? If, I would be pleased about example files or contact.
    Thanx for listening and sorry about my english. I wait strained for answers.
    BKern, Germany

    Schön jemand deutschsprachigen gefunden zu haben.
    Mittlerweile hat sich etwas neues ergeben:
    Eine in LabVIEW6.i erstellte Anwendung kommunziert via CAN. Die Sende- und Empfangssignale werden in einer DLL (Aufruf externer Bibliotheken), nach empfangen einer CAN NAchricht, zusammengesetzt oder für den Versand zerlegt (in die 8 Datenbytes entsprechend einer Schnittstellendefinition).
    Somit übergibt Labview lediglich komplette Zahlenwerte (Drehzahlen) und BOOL Flags (Bits), die in der DLL, wie oben beschrieben, bearbeitet werden.
    Diese DLL greift schließlich auf entsprechende CAN Treiber DLL's zu um Daten zu versenden oder abzuholen.
    Zusätzlich soll nun die NI-CAN Karte integriert werden. Der erste Ansatz war die Lösung in LV zu realisieren. Dabei müsste je
    doch die gesamte Schnittstelle nochmals integriert werden (doppelter Pflegeaufwand).
    !! Deshalb suche ich nun nach einer Lösung in C oder C++ mit Visual Studio .NET. Beispieldateien (in C oder C++) für CAN starten, CAN schließen, CAN reset, CAN read und CAN write wären sehr hilfreich.
    Die Modifizierungen der Signale werden in der DLL bereits erledigt. Ich benötige lediglich einen Zugriff (in C oder C++) auf die NI-CAN Karte, um die bereitliegenden Daten zu versenden(CAN write), bzw. empfangene abzuholen (CAN read).
    Das Format einer CAN Message:
    1. Identifier
    2. Datalength
    3. DataBytes[8]
    Falls Sie mir helfen können,Beispieldateien zu finden, wäre ich Ihnen sehr dankbar. Leider habe ich bei ni.com nix gefunden.
    MfG
    BKern

  • 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

  • Can counter measure pulse width difference between two signals

    I am interested in determining the high pulse width time that two signals have when they are in various phases between eachother.

    Why don't you try one of the pulse width examples. I don't know what ADE you are using, but you can search for examples (http://www.ni.com/devzone/dev_exchange/ex_search.htm) with the key words "+pulse +width" and find several examples in different languages. This will measure the pulse width of one signal, but you can program most of the counters to do multiple tasks at the same time. Just copy the code twice and change the counter number to program counter 2 as well. If you want the ORed pulse width time, I would recommend adding a OR gate to your circuit and then feeding that into a counter.
    I hope this helps.
    Joshua

  • Can I plug a TTL signal into the mic on my sound card?

    Basically I want to trigger some LV code using an incoming 0-5 volt TTL signal.
    And I was wondering if I could plug that TTL signal into my mic input and read the signal with the LabVIEW sound VIs.
    But I'm unsure if I'll just end up frying my sound card.
    I know I could buy a cheap NI USB DAQ board for $99 ... but I just want to get this done asap, and thought the sound card idea might work.
    Any ideas?

    A sound card is AC coupled. And has limited  bandwidth. So I will say this is a far from optimal solution. What are you trying to do?
    Sound cards are most often made for line-in signals levels. That is +/-1 volt. But this may vary from vendor to vendor.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How to measure the pulse duration of a TTL signal using AI?

    Hi there.
    I would like to know how to measure the pulse duration of a TTL signal using an Analog input.
    These TTL signals comes from an ultrasonic sensor's output. The pulse width of the signal is
    proportional to the distance of the object the sensor detected.
    I have tried using the example "Measure Pulse Width.vi" which uses a counter to measure the
    pulse duration instead. It provides me with correct results.
    However, i will like to know how can i do it using the AI instead.
    I tried it by using the example "Acq&Graph Voltage-Int Clk.vi" which i modified by including a
    timing and transistion measurement vi. Pulse duration was selected as the output. A graph indicator was also added at the output of the pulse duration to monitor the incoming TTL signals.
    However, everytime the TTL signals was detected on the graph indicator, the numeric indicator always produce a "zero" reading.
    I have attached my vi for your reference.
    Can anybody advice me what i have done wrongly?
    Regard.
    Attachments:
    Acq&Graph Voltage-Int Clkv1.vi ‏190 KB

    Hi Paul,
    Today i tried using 2 different methods to read the pulse duration of my sensor signal.
    Both methods use "Acq&Graph Voltage-IntClk" vi as a guide.
    Method1:
    Add a filter vi(lowpass/bandpass) and a timing and transition measurements vi.
    Pulse duration is selected as the output. With some numeric conversion, a centimeter
    reading indicator was created. However, the reading always remains as "zero"
    Method2:
    Add a Mask and Limit Testing vi and a timing and transition measurements vi.
    By adjusting my upper and lower limits, i manage to "filter" a single pulse out from the actual signal.
    However, like the earlier case, the cm reading still remains at "zero"
    I have attached both the methods resulted waveforms for your reference.
    Are there anything that you can advice on?
    Regard.
    Attachments:
    Results_Waveforms.doc ‏141 KB

  • Need to Convert Comma separated data in a column into individual rows from

    Hi,
    I need to Convert Comma separated data in a column into individual rows from a table.
    Eg: JOB1 SMITH,ALLEN,WARD,JONES
    OUTPUT required ;-
    JOB1 SMITH
    JOB1 ALLEN
    JOB1 WARD
    JOB1 JONES
    Got a solution using Oracle provided regexp_substr function, which comes handy for this scenario.
    But I need to use a database independent solution
    Thanks in advance for your valuable inputs.
    George

    Go for ETL solution. There are couple of ways to implement.
    If helps mark

  • How do I convert analogue 5.1 surround sound into a digital signal? (Pioneer SE-DIR800C headphon

    I understand that my SB Audigy 2 card will only output 5. sound from games through its 3 analogue connectors. How do I convert this analogue signal into a digital one? What hardware do I need to purchase?
    I have read the thread on "Digital Connections, SPDIF and Dolby Digital Info", and also I've thoroughly read the "Creative Speaker Connectivity Guide".
    The reason I ask is that I have just bought a pair of Pioneer SE-DIR800C Surround Sound headphones. This are supposedly fantastic for recreating surround sound on headphones because there is a clever little decoder box. They accept a DTS / Dolby Digital signal via the digital co-axial and optical inputs, and there is a single analogue input which only accepts stereo sound.
    My XBox and PS2 will output true digital 5. sound via an optical cable and I am confident this will work perfectly with these headphones. I'm really looking forward to playing Halo in surround sound! But for gaming on my PC, I'll be limited to just an analogue stereo signal. Well, unless I can find some device that will convert my SoundBlaster's analogue 5. outputs into a digital signal, which I can then plug into the little decoder box for these headphones.
    So, back to my question:
    What hardware do I need to buy to convert an analogue 5. signal (via 6 x RCA or 3 x 3.5mm stereo ) into a true digital signal (via optical or co-axial SP/DIF)? Is it some type of headphone amplifier I need? If possible, please recommend makes & models of equipment.

    Thanks stefan
    OK, basically I have found 3 options for getting digital 5. out of a PC:
    a) Creative DTS-60 (approx $90). This converts the SB's analogue into digital, but it's not available in the UK and it also introduces a noticeable 50ms sound delay. Also, who wants an extra box hanging out of their PC?
    b) Buy a new sound card which has Dolby Digital Li've output. For example, ) BlueGears HDA X Mystique 7., or 2) Turtle Beach Montego DDL, or 3) Terratec Aureon 7. PCI (NOT the Space, FireWire or Uni'verse cards). I couldn't find the first two available in the UK so I have just ordered the Terratec card from Komplett.
    c) Buy a new motherboard that has built-in Dolby Digital Li've output, for example the ABIT Fatalty AA8XE. Unfortunately my PC is only just over year old and I'm not quite ready to replace it.
    I hope this info is useful for people. Maybe Creative will start making a card with DDL output too.Message Edited by NinjaHeretic on 2-22-2005 08:46 AM

  • Using photoshop elements 13 but the option to crop a single image is grayed out and also the option to crop a scanned image into individual pictures is grayed out - any ideas?

    The option to crop an image is always grayed out or unavailable - both for single images and when I want to crop scanned images into individual pictures. Any idea what I may be doing wrong?

    Did you try using the crop tool to see if it is working?  See the tool I am talking about.
    I suspect you are in Guided Mode rather than in Quick Mode or Expert Mode.

  • Two retriggerable pulse generations after a pulse train generation

    I am trying to generate 3 pulse trains (ABCABCABC...) one after another.
    The program currently I am using generates 2 pulse trains (ABABAB.....).
    I am using the Traditional NI-DAQ and PCI-6602.
    I am thinking about using pulse train generation first and then retriggerable pulse generation after that.
    I understand that the retriggerable pulse generation can generate a pulse train triggered (or gated) by other counter output.
    I have attached a test vi.
    It uses the pulse train generation code when the counter number is 0 and when the counter number is not 0, then it uses the retriggerable pulse generation code, which I tried to modify from the pulse train generation code.
    First of all, I am not sure if I wrote the retriggerable pulse generation code correctly.
    Secondly, I don't know if the whole code will generate ABCABCABC...
    I would really appreciate your help.
    pchemjjang

    pchemjjang,
    I believe I may have misunderstood your original concern.  It sounds like you want to output this finite pulse train on three different counters.  You will output these pulse trains for 10 minutes and cease your program.  The Finite Pulse Train.vi will output a pulse train from only one counter.  With this Traditional DAQ example you would need to have three of these Finite Pulse Train.vi programs running simultaneously in parallel to output from 3 counters.  I would strongly recommend using DAQmx for this application because you will only need to utilize 4 VIs.  The rest of the work is done behind the scenes.  There is an example in DAQmx which should accomplish exactly what you are looking for in one program.  You must make sure to make the number of pulses 2000000, the duty cycle as 1/3 and the frequency as 1/(300us).  The DAQmx driver can found here.  In terms of the counters, I believe that each task requiring two counters will use the counter adjacent to it.  If you would like to output on counter 0 using finite generation then counter 1 will be used as the gating counter.  When you have the DAQmx driver then you can find this example by selecting Help>>Find Examples and then expanding Hardware Input and Output>>DAQmx>>Generating Digital Pulses>>Gen Dig Pulse Train-Finite.vi.  I have included an image to show how the front panel of this example should be configured to work.  The major note to make is that you will need to configure all of the counters in the channel names list.  In Traditional DAQ this did not seem possible.  In Traditional DAQ you would need to create a subvi out of the Finite Pulse Train.vi run three copies of it, in parallel, in a larger program.  Please let me know if you will be able to utilize DAQmx in this application.     
    Thanks,
    Gio L.
    Digital Support - Product Manager
    National Instruments
    Attachments:
    Counteroutput.jpg ‏49 KB

  • IPhoto splitting events into individual files with long numbers as names?

    Okay so technical first.  I am running Mavericks with iPhoto version 9.5.1 on both my MacBook and iMac.  I have had minor problems/irritations with iphoto for awhile but recently upgraded to Mavericks and the problems increase.  I mainly use iPhoto for organization, I like to do any editing in Photoshop.  My problem is that it is splitting most of my events into individual files, so there's one photo in an event, but there will be several pics from that day.  They are given names that are just numbers, like 20120219-153730.  They have the same date, you an see it below the Title which is the numbers.  I checked preferences, it is set to one event per day.  I have no idea what is going on.  There are still some folders though, so I don't know why it is still affecting some of them.  And the Photostreams for the month are still there.  I tried switching to Picasa but the way the Mac (or is it iPhoto?) organizes the files on the actual computer is a pain too.  They've switched from all the files being in a folder named the date they were taken to a numbered folder within another folder, maybe even in another numbered folder.   And there will be one pic in there even if I took 10 that day.  That is where the number on the Events is coming from.  If anyone could help me I would appreciate it.  It is doing this on both of my computers. 

    Do the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete the contents the following folder:
    User/Library/Containers/com.apple.iPhoto
    3 - reboot, launch iPhoto and try again.
    NOTE: For Mavericks, 10.9,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    where you can check the Show Library Folder checkbox.
    Next continue with:
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    2 - Run Option #4, Rebuild Database, followed by Option #1.

  • Why is it that when I saved the waveform of my acquired signal into a wav file, the output waveform of my saved file turn out to be different from my input signal?

    Hi all,
    I am currently doing a heart sound analyzer project. I acquired signal using NI USB 6008 continuosly. My program is able to saved the acquired signal into a wave file. But when I browse open the saved file, the output waveform did not look the same as the acquired input signal and also the sound of the heartbeat captured cannot be heard from the loud speaker though I have saved the file as a wav file. I am not sure if the method i use to save the acquired data as a wav file is correct.  I have attach the print screen of the differences of the output I have notice and the program I have created. I would be glad if anyone here is able to troubleshoot my program.
    Thanks. 
    Attachments:
    heart sound analyzer.zip ‏257 KB

    Hi Brett Burger,
    Thanks for your reply. For your information, I have set the sampling rate as 10000 as for the sound format, I have set the bits per sample as 16 bit, the rate as 11025 and the sound quality as mono. I tried using your method by changing the sampling rate as 8K but still my program encounter the same problem.
    I wish to also create a button that is able to generate a preformatted report that contains VI documentation, data the VI returns, and report properties, such as the author, company, and number of pages only when I click on the button.  I have created this in my program, but I am not sure why is it not working. Can you help troubleshoot my program. Or do you have any samples to provide me. Hope to hear from you soon.
    Many thanks.
    Regards,
    min
    Attachments:
    Heart Sounds1.vi ‏971 KB

  • Contacts seem to have broken into individual entries for email, phone number, address. How can I fix this?

    My contacts have been split into individual entries for each part of the contact. There is now an entry for the phone number, each email address, and address of each contact that I have. I have never seen this before and would like to know if there is any way to combine them back into one. Thank you

    Hey FionaB90,
    Thanks for the question, and welcome to Apple Support Communities.
    It sounds like your phone number has been unlinked from your Apple ID. To relink your phone number, we'll need to troubleshoot on your iPhone (not the iPad).
    The following article provides information about linking your phone number to your Apple ID. Once linked, simply sign out of iMessage and FaceTime on your iPad, then sign back in.
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Additional Information:
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Thanks,
    Matt M.

Maybe you are looking for

  • Flat file missing in datasource

    Hello iam loading the flatfile record into the infocube in this process while iam creating datasource after naming the data source i need to select flat file option for source file field  but flat file option is missing.how to solve this problem.i th

  • Information message to Error Message  -HCM standard Leave Workflow

    Hi , I am configuring leave management for a demo purpose. The leave application workflow used is ws20000081. There are few scenarios configured in system for  not allowing leave applications for  the employees . Example:-paternity leave u2013 maximu

  • Vlc does not work with mountain lion - help

    running a 2009 macbook pro and upgraded to mountain lion.  now VLC player will not load without X11 upgrade?!? don't know what this is or what it will do to my mac.  My friend's 2011 Macbook Pro upgraded to mountain lion without a hitch but i'm runni

  • Background Job, a same JOBCOUNT is assigned to multiple jobs

    Hello, When I create multiple R/3 jobs by running my program, which uses series of BAPI functions such as: BAPI_XBP_JOB_OPEN BAPI_XBP_JOB_ADD_ABAP_STEP BAPI_XBP_JOB_CLOSE the generated JOBCOUNT for each R/3 jobs are the same, that is, not unique. Is

  • Access violation at address 7300AD76 in module 'winspool.drv'

    Currently use Mactive's AdBooker application which has the ability to print a work order which is a Crystal Report they created and is displayed within the application using the Crystal Reports viewer when selecting the File-Send Work Order-Print.  W