Detect the PEAK, mount and average

I use a loop in LabVIEW 8.5 to capture the signals emitted continuously by a card, peak detector.VI is used to detect the signal peaks, then fit.VI nonlinear curve is used to climb the summits, signal now capture, detection of peaks, mount and display pics are all works very well permanently, but there are still some problems annoying me.
1. the received signals is not very stable, so editing results expected on average for 100 times, then how can I averaged the results of fitting on the condition that the capture of signal is not interrupted, this is the time loop does not stop, when the average is made this time, average is reset for the next 100 fitting results can be average again?
2. There is another way, that's 100 results of fitting is automatically saved to excel, then the results is an average manually in excel, then how to store results like this: the first 100 results of connection are stored in an excel file and the next 100 results for other excel connector or they are stored in an excell , but in different columns? Of course the thses are subject to the capture of signal is not interrupted.
3. There is a threshold for the detector.VI peak, but the captured signals entry isn't very stable, so the number of peaks detected is not the same every time, like this time, the number of vertices is 40, next will be 39, this will affect the results of fitting slightly, then how do to detect the same number of vertices every time such as the number is 40 each time?

Any advice will be appreciated!

Maybe the pic attached detect.vi 'test' can help you. "medium signal.vi" is a sub VI on average the signal in a way online.

There are three methods using the input signal:

1. no average.

2. average exponential.

3. linear average.

Your problem is when the input signal is damaged by some noise, and you want the input signal before the detection of peaks on average. I use white noise to simulate a noisy environment.

By default, the average mode is 'Linear', and the number of averages is 50. The more averages, the best on the result, but more time to update.

Swith mode between 'Linear' and 'No way' to compare the difference before average and average.

Average exponential is not appropriate in your case.

Let me know if it works for you.

Tags: NI Software

Similar Questions

  • Get the Max values and average of the different cycles in the single channel

    Hello

    I'm trying to get the Max values and average of the single channel that has different cycles it contains. I tried to use commands such as Chnclasspeak3 and chnpeakfind, but they were not useful for me. What I need is the Max values and average of the different cycles numbers saved in the data channel.

    Exampld if the string contains 5 numbers of repetitive cycles, then we must find the maximum values and the average of these 5 cycles in the single channel. Attached reference data. This is the .raw file and I have the plugin for it to use in diadem 11.1.

    Kind regards

    X. Ignatius

    Hello, Ignatius,.

    Sorry, it took some time to provide a replacement based on the script for the function. Please take a look at the attached script. I changed the script to use my function if the tiara-version is less than 12. My script function is not as fast and more stable than the implementation of tiara, but for now, it does the job

    Andreas

  • How detect the NFC tags and features?

    Hi all

    Does anyone know how to connect with NFC Tag. I want to apply as if we put my phone blackberry on NFC tag while entering the call. So my request should end this call and send an sms to the caller.

    Please let me know if anyone has an idea about this Protocol of NFC tag. How detect the NFC tags and features?

    Thank you & best regards

    Neeraj Chauhan

    Hi Neeraj

    There is a code library and items at your disposal. An article is precisely tag reading and writing, and there is an application open source in our GitHub repo.

    See the next page for a list of all of our resources for NFC developers:

    http://supportforums.BlackBerry.com/T5/Java-development/NFC-article-and-code-index/Ta-p/1538775

    Concerning

    mwoolley

  • How to detect the peak frequencies in the frequency domain?

    Hello

    I built a small test consisting of two sine waves of varying frequencies, program it is and subsequently FFT is performed on it to find the frequencies of two peaks. I tried to display the values of these two frequencies somehow, but I can't find a way.

    I searched the forum before asking the question, many of them suggested using extract more Information VI tone I tried and could not get any results.

    I have attached to my account. Please take a look. If you know all the discussions on the forum directly related to my problem, please just cite it.

    Thank you

    LD

    Don't wire the tone of several extracts the wire coming from the Express VI of Sprectral.  You need to run on the thread after that the two signals are summed.

  • Detect the overlap point and shape

    Hey guys,.

    I'm doing a simple game where circles are created and you must click on them to get rid of them. I have the code for creating them and that works well, and I add to a table when they are created.

    However, I don't know how to detect if the point where you click is fit or not. Here's the code, I have a "?" where I don't know how to do

    ------------------------------------------------------------------------------------------ ----------------------------------------

    package

    {

    import flash.display.MovieClip;

    import flash.display.Shape;

    import flash.events.Event;

    import flash.events.MouseEvent;

    Import fl.transitions.Tween;

    Fl.transitions.easing import. *;

    Import fl.transitions.TweenEvent;

    import flash.utils.Timer;

    import flash.events.TimerEvent;

    to import flash.geom.Point;

    import flash.display.DisplayObject;

    SerializableAttribute public class Main extends MovieClip

    {

    var coolDown:Timer;

    var circleArray:Array;

    public void Main()

    {

    stage.addEventListener (MouseEvent.MOUSE_DOWN, mouse click);

    charging time = new Timer (1000, 1);

    coolDown.addEventListener (TimerEvent.TIMER_COMPLETE, timeDone);

    coolDown.start ();

    circleArray = new Array();

    }

    function timeDone (e:TimerEvent): void

    {

    var theX:Number = (Math.round ((Math.random () * 450) + 50));

    var they: number = (Math.round ((Math.random () * 450) + 50));

    var circle: Shape = new Shape();

    circle.graphics.beginFill ((Math.random () * 0xFFFFFF), 1.0);

    circle.graphics.drawCircle (0, 0, ((Math.round (Math.random () * 40)) + 20));

    circle.graphics.endFill ();

    Circle.x = definition x;

    Circle.y = they.

    stage.addChild (circle);

    circleArray.push (circle);

    var xTween:Tween = new Tween (circle, "scaleX", Bounce.easeOut, 0, 1, 0.5, true);

    var yTween:Tween = new Tween (circle, "scaleY", Bounce.easeOut, 0, 1, 0.5, true);

    coolDown.addEventListener (TimerEvent.TIMER_COMPLETE, timeDone);

    coolDown.start ();

    }

    function mouseClick (event: MouseEvent): void

    {

    var themouseX:Number = new Number (mouseX);

    var themouseY:Number = new Number (mouseY);

    var mousePoint:Point = new Point (themouseX, themouseY);

    var i = new int();

    for each (var circleArray circle)

    {

    ???????

    }

    }

    }

    }

    ------------------------------------------------------------------------------------------ ----------------------------------------

    All this code seems to work so far, I do not know how to detect whether or not you're clicking on one of the circles in the table.

    I didn't add any to a movieclipI to add each to its own movieclip.  Then, you can have the eventlistener assigned to each movieclip and when you click on one, the identification is easily determinable.

  • How to get the num maximum and average bytes per line per TABLE?

    I want to know the maximum and the average number of bytes including a row in a table
    uses. Can I somehow this knowledge (and these values in the form of two output columns)?

    Peter

    user559463 wrote:
    I want to know the maximum and the average number of bytes including a row in a table
    uses. Can I somehow this knowledge (and these values in the form of two output columns)?

    analyze tables and check the USER_TABLES view, pay attention to the AVG_ROW_LEN column. Not sure how the maximum number of bytes

  • Windows 7 - Live Photo Gallery Screen Saver - filename option, the peak, freezing and will not sleep

    I just upgraded from Windows XP. There are a few features that I miss and I don't know if there is anyway to get.
    1. under XP, you might have the name of the file appears in the corner of the image when the screen saver is running. Really useful to find the photos you want to send or ID'ing the image. A way to get this feature in Win7?
    2. the key would freeze the current image. In Win7, he now wakes the computer. In any case to freeze the pictures in screen saver mode?
    3. not sure how much it is related to the screen saver, but the monitor and computer are both set to get to sleep after 1 hour. Happens. Even a day or two later, she is still ongoing.

    Any help is appreciated. Thank you!

    Here is the solution.  Ssmypics.SCR of the copy of your old XP machine in the directory c:windows:system32 of Windows 7 machine.  then the old screen saver is available in settings.  has worked for me!

  • How to detect the user touch and hold the screen for touch screen devices?

    Hello

    I want my code to do the following:

    when user touch and hold on the screen{
        myThread.start();
    }
    
    when user release the finger on the screen{
        myThread.done();  //a method to stop the thread
    }
    

    Any ideas? Thank you very much

    Never to change never return super.touchEvent (...) to return true (well, you can do it for complete events such as MOVE or GESTURE. SWIPE_...) -you will disrupt the event processing complex (just about everything, but downwards and upwards).

    The code works for me (I do something else, with more visual impact, so I know for sure that it does). One thing, try - check the status of your Thread (isAlive()) before you start, as DOWN seems to be generated twice.

    If you could be more specific with what "won't work" is, I would be able to help more.

  • I removed the peaking mountains and the sky is now a different color and fuzzy?

    I reoved mountains FRO m a scene of the ocean and the horizon line is now two different colors.  In addition, the water/horizon are blurred.  How can I fix it?

    Use the camera icon button to post pictures on this Forum.

  • Necessary to detect the DB start and run a PL/SQL package

    Hi all
    Is it possible to run a pl/sql package every time that the database starts?

    Thank you very much in advance.

    Start trigger

  • How to count the peaks?

    Hi all

    I am a new user of LabVIEW and I'm going to ask you about a problem that certainly many of you will find quite annoying.

    I develop software for a test machine management that uses an another bend, a tachometer that generates a signal of rectangular analog output in volts, 0V to 8V. Like many I thi signal in a waveform graph.

    My goal is to be able to count the number of cycles of the machine and power count the tension peaks and subsequently be able to work on the machine with respect to the number of rounds to make. the ultimate goal is to be able to tell the machine how many rounds/cycles to do and the voltage applied to the load cell.

    Would you be able to give me some advice on this subject? Especially about count and store the number of revolutions.

    If necessary, I could send a screenshot of the program.

    I tried to use a crest of the threshold detector but I'm still inexperienced, it's why I ask for your help.

    can someone help me?

    Thanks in advance.

    Greetings

    LV

    Look at the detection of peaks VI and examples (help-> find examples).

    It should be fairly easy to understand and implement

  • Time Machine (on Mac) does not detect the airport Time Capsule

    Originally posted on the page of the airport, but seems to be the better question for this group. Sorry for the double post

    Looking for advice on how to get the Time Machine utility for access to my Time Capsule. I use an iMac in late 2012 with MAC OS 10.12 TimeCapsule is 2015 7.7.7 running latest firmware. Airport utility is the latest firmware 6.3.7.

    When I run the application Time Machine, Time Capsule is not detected. I tried the two WiFi and with cables connected Ethernet (not tried USB yet) and my Time Capsule doesn't have a lightning bolt or firewire ports.

    Open Airport utility & see the airport time capsule. I can see all connected devices, including the MAC, but no prompt activation Time Machine on the Time Capsule.

    I recently used TM on this iMac with a G-Technology drive. It auto detects the time machine and executes a back up. But airport Time Capsule will not.

    Any suggestions?

    Sierra has been problematic with the TC.

    1. make sure you don't have any charge virus protection software. In fact, I would say that disable all software 3rd part at the moment.

    2. make sure that you can actually write to disk of TC.

    Attach the TC disc in the finder and copy a file on disk, you can delete it later... It's just to ensure that you have full write permission. If it does not for the most part, you won't be able to use Time Machine... If you can then try TM immediately...

    Just to be clear, the TC is a network device. You have tested with ethernet and wireless... Ok.. They are only suitable methods. You cannot use USB. And clearly, TC has never had nor will never be ports Firewire or lightning.

    3. no chance that a reset complete TC. This will not delete the files on the hard drive, but you must make sure that the device is configured on the current computer.

    4. There are many positions in these days... read through them and do some research. Sierra is a bleeding edge new... So wait you to spend a lot of the precious liquid if you choose to be an early adopt.

  • cannot detect the hotspot

    I just got a HP Pavilion 15-n209eia and does not detect the wifi hotspot and even if it does, it is not stable. What could be the problem and how to fix it?

    Hello, @obehi

    I see you are trying to connect the laptop to a Wi - Fi hotspot.

    I can't guarantee that this will work, hot spots are not stable wireless connections. If you experience intermittent connectivity with it, then you can study more enough to connect to a source of the internet which are stable.

    These documents can help, but they are for a typical wireless to a modem / router and the laptop.

    Troubleshooting wireless network and Internet (Windows 8)
    Troubleshooting your wireless network and Internet access (Windows 7)

    This is all the help I can provide you with this configuration.
    I hope you can make it work.
    Thanks for posting on the HP Forums.

  • Qosmio G50 does not detect the connected Bluetooth devices

    The qosmio g 50 (windows vista ultimate) detects more devices via bluetooth
    Until two days ago, I pointed out quietly via bluetooth mouse. And then, do not know what is success does not detect any more.

    I did a test to see if it could depend on the PC or the mouse.

    I took the phone with bluetooth, I turned and qosmio, is not detect the phone.
    And the phone does not detect the qosmio via bluetooth.

    What checks can I make on the qosmio while ' I detect devices via bluetooth?

    Tank you

    Hello

    BT has been successfully activated on tis G50?
    Have you used the FN + F8 key secret to switch on the BlueTooth?

    Please check if the FN key works correctly, otherwise, go to the button start-> all programs-> Toshiba-> Flash Cards Support utility and restart the software.

  • MacBook detects the iPhone but doesn't detect photos on the iPhone.

    When I plug my iPhone into my MacBook, Photos detects the device name and the box I choose "Open of Photos for this device." However, none of the photos on the device appear in the main window, not even pictures/videos that have not yet synchronized to iCloud. Why is this happening?

    I'd love to be able to import from and delete the photos on my iPhone using Photos to the MacBook when iPhone is connected, is it possible?

    I iCloud running on the iPhone and MacBook, but this way of synchronization is not consistent - for example most of the photos on my iPhone for August is not synchronized to iCloud, despite pictures before and after, then after having downloaded and is available on my MacBook. Why is this and how do I solve this problem?

    Connect your phone and whie it is connected do a soft on restart

    LN

Maybe you are looking for

  • text messages on macbook

    I can't deactivate the reception of texts on my macbook air or pro.  They materialize even if I'm not near the computer?  The text can be seen when someone else connects to computers under a different log in?

  • Install windows xp in hp mini 210 1010NR, help me please is urgent...

    How can I install windows xp in hp mini 210 1010NR... I tried to install windows xp service pack 3, but I could not, can someone help me please its urgent thank you...

  • How can I connect my router to my laptop?

    Trying to get my laptop to connect to my commputer home router, but it asks for a security key? What is c?

  • N ° of the VM does not display.

    Hi, I'm trying to generate a custom report to display the number of VMS in each Cluster under a vCenter. I am able to get a chart, but in the chart it does not display the numbers completely for example if the number of VM is 1005 is show as 1 K only

  • GTA San Andres No. compatible con mi Acer Aspire 5050 Wndows 7

    Instale el juego gta san andres con un disco con todos los archivos finetoothed, even desactivo created mi antivirus me da el icono en el desktop there are al end the instalacion pues nunca me abre el juego y he found archivo leyendas incompatible mi