How to make knot faster formula?

Hi all

I am trying to identify a known model of the Spectra peaks in a code from Labview real-time data collection.  My data collection occurs on intervals of 50 ms (20 Hz).  Unfortunately, my analysis routines take ~ 160 ms to complete, and for this purpose the causes my material missing data collects.

Using the profile tool, it seems that one of the principal offenders is a subroutine that predicted what should be the entire spectrum, assuming that a few common summits of the desired spectral design are in the spectrum.  It creates a spectrum of Gaussians for prediction, which he then compares to the heights of the real.  If it isn't well correlate, then the proposal is false; If it is proportional, the code returns then what are the masses of the peaks.  I can then find the limits of the peaks (I need the area of the Summit, not only the location of the tip) and use them to science.

In any event, it must cover the subroutine to make frequencies predicted several times.  In general, I plan the locations of 4 peaks in the spectrum, and the spectrum is usually long 3000 points.  My routine to a predicted spectrum has the following entries:

When the size is the number of points, width is the width of 1/2 of all summits, the amplitude is the height of an individual peak and Center is the location of the peak in the spectrum of 3000 point.  Table Gaussian is the output.

The code looks like this:

(vi attached below)

My question is: can I can do something to improve the speed of calculation (in other words, I do something stupid?)?  Or is it just about as effective a subroutine as is possible?

Thank you very much for your understanding!

RipRock


Tags: NI Software

Similar Questions

  • Slow Equuim A200 - how to make it faster?

    Help!

    My Equium A200 went really slow. Get messages don't respondents on the internet.
    Even typing is very slow. I m not very knowledgable about computers but do not follow security updates.
    Please help me if there is anything I can do.

    There are many options to make Windows faster.
    I can give you some examples:

    1. check the msconfig: start = > run = > msconfig.
    At startup, you can see all programs that have started with Notepad. Remove the tick from the programs, they should not start with Windows.

    2 defragment your HARD disk: click my computer = > right click the disk HARD = > properties = > tools = > defragment now.
    Defragmentation is a process that reduces the level of fragmentation in file systems.
    What operating system (operating system) do you use? If you are using Windows Vista, install the SP1. If you use Windows XP, install SP2 or SP3.

    In my opinion Windows OneCare is not really good. Choose another suite of security. I use for many years Kaspersky. I never had problems with it and the system runs fast.

    To check how much RAM you have, make right click on my computer = > properties and there you can see.

    If everything does not help you, you must reinstall Windows with the Toshiba recovery image. All the drivers and tools are particularly.
    But if you do so, back up your data first. The HARD drive will be erased.

  • HP Pavillion MS235: HP Pavillion MS235 All in One - how to make it faster?

    I would like to make the PC faster.  We had for some time, there isn't much about it then, but I would like to give to my son for his school work and games.  It's just slow.  Everything you do, takes so long.  No viruses have WebRoot on it.  Any ideas or advice?

    The concept of the IOA is done for convenience. I look at the specifications.  Its processor is a 1.6 Ghz chip, RAM (memory) is maximum at 4 GB. It has never considered a game machine with this configuration.  You can not change anything.

  • How to make games faster

    I currently have a desktop computer HP Pavilion S5310f with Windows 7 Home Premium 64-bit. It has 4 GB of RAM (3.75 usable), a 640 GB hard drive, two AMD Athlon II 3 GHz processors and a NVIDIA GeForce 6100 SE 256 MB memory dedicated graphics card and the CUDA technology. My question is this: How can I dedicate more memory system, tell the graphics card 1 GB instead of 1/4 GB, so that I can play better games than before. My computer is not a computer game, but I can still play in recent games, but quality must be placed down to the bottom and there is lag. If it is not possible, I should just by a different graphic card? How are you going to those looking for? And he comes into conflict with the current (can you have more than one graphics card?)

    I'm not an expert in the game, but I think that there is little to choose between ATI/AMD (AMD owns now ATI) and maps NV, as long as they are put in correspondence spec wise (see maps).

    Choose what best meets your needs for the best cost, rather than do it.

    Quickly looking at the specs for the games you mention and looking at the recommended specifications DO NOT the minimum specification (min spec will usually get a game running at a playable rate (just) and everything is turned down), the highest card required was a 8800GT NV, if whatever it is level with or above which should do what you need.

    Once again, from the charts, something like an ATI HD5670 or HD5770 should be enough I would say for around £60-70 pounds ish or £80 - £100 ish respectively. It depends on what you want to spend.

    GPU you buy will have memory on board. Get at least 512 M min and if all goes well 1 G and if we can choose the fastest best, i.e. DDR5 memory not DDR3.

    The other thing you should consider, is a free space to really adapt to the card (some cards are larger than others) and consumption of new maps, some cards will take much longer than others.

    Personally, with the processor you have, I doubt there will be much interest to aim too high wrt the GPU, with respect to the modern games really your CPU will eventually become the next bottleneck and you will have spent more money on the GPU only really usable by your system.

    If all goes well will live gamer high range "chip" soon and confirm or deny, but I think that something in the HD 5670 (or just above map AMD or NV) should meet your needs.

    I'm not sure to tweak windows to allocate more memory, but even if you did I doubt it would make much difference with the GPU you have currently.

  • Search for Windows 7 - How to make it faster?

    Hi all

    I use windows XP WDS (Windows desktop Search) and can use the indexing with my server (NAS type) but I can't do that with Windows 7, the search is less than 1 second (indexing) compare 4 minute, I a way to speed up the search results? Thank you.

    I visited several forum but nothing really my problem suggestion. I'm not waiting to download the entire server in terabyte (not offline) to my PC. Thank you if anyone has a good solution.

    really grateful if someone can enlighten me on that. If this success, I get this program for my company.

    Best regards

    Stanley

    I tried but said that I am do not have sufficient privilege to perform the following task, Fords just move away and look at alternative. Thank you!

    Or you can simply index network as solution files.
    Add a UNC not indexed as a library = 1. Create a folder on your hard drive for the actions. that is c:\share2. Create another folder in the share above. that is c:\share\music2. Link the library in this folder. 3. delete the folder.4. Use the mklink in a command prompt to make a symbolic link. The link of the same name as the folder that you created above. IE - mklink /j c:\share\music \\server\music5. Fact. Now, you have not indexed the UNC path as a library.

  • NB500 - slow performance - how to make it faster?

    Laptop NB 500 slow response.
    You have a tool to improve performance? At least if the adapter is connected.

    Hello

    As a general rule the computer overclocking laptop processor is discouraged because of the high risk of damaging the material in most of the cases the fastest CPU creates more heat dissipation and close which leads to a higher temperature and finally to automatic downs

    So would not try that

  • Urgent: How differentiate between retro and payroll in fast formula

    I wrote a quick formula. This quick form is attached to the element of "basic salary".
    "Base salary" item has retro setting and proration.
    We use retro processes strengthened.
    Improved retro process calls this quick formula to verify the amount of the difference.
    Similarly, oracle payroll will also call the same formula fast when running on the payroll.

    Now, our requirement is:
    ----------------------------------
    A few lines in fast formula should not run when FF is called by retro, but it must be run when it is called by the payroll.
    So, how could we know if FF is called process retro or payroll?
    If I have a way to find this, I can run that code using this condition.
    Any pointer in this regard will be highly appreciated.

    None of the above... Just write a function custom PLSQL who will be ID action of payroll as a context parameter & returns the table PAY_PAYROLL_ACTIONS... action_type column to the fast formula. L is for Retro throw.

    In the quick formula, place the specific code in the if condition.

    ATTENTION: Make the formula calculate differently in normal payroll & retro you can cause serious problems of consistency in payments/deductions and their debugging might become impossible in the long term.

    Published by: Maxime bushel Sep 22, 2011 07:00

  • How can I make a cell formula will apply for the entire column? For example D2 appears B2 - C2. How can I copy this formula for each cell in the column?

    How can I make a cell formula will apply for the entire column? For example D2 appears B2 - C2. How can I copy this formula for each cell in the column?

    If you want the formula is the same (B2 - C2) in the cell of each column you must change it as ($B$ - 2$ C$ 2). Then copy it, select the whole column and paste.

  • How to debug the code for fast formula OTL plsql?

    Hello

    I have trouble understanding the flow of my code PLSQL (function), which is called by a fast formula HRMS.

    I don't know how to debug.

    Can I add lines of hr_utility.trace to the PLSQL? If so, see where you put it?

    Help, please.

    Thank you

    Germain

    Hi, Germain,.

    You can start the trace in the form and complete it in the formula. The handle of the trace will display all messages of the formula and the pl/sql functions that formula calls internally. So, indeed, you should get all the trace messages in your trace file.

    If you want to only draw a pl/sql function, add this in pl/sql code from the point you want to draw, and then add the trace_off at the end-

    hr_utility. TRACE_ON (null, 'VBATTU_TRACE');

    hr_utility.trace ('# START #');

    ..

    ..

    ..

    ..

    hr_utility.trace_off;

    Cheers,

    Vignesh

  • How can I make this faster (more efficient) loop?

    IV attached a screenshot of my code. In the books it is said not having 'picture of generation' and "concetenate strings" in the loop, but what can I use instead? Also are there any other changes I can make to this program, to make it faster?

    See you soon,.

    Sam

    Sam,

    for a structure (except "timed structures" as the timed loop) of the time, you place the wait function within the frame where the wait is scheduled. So in regard to a loop simply drag it iside the loop and connect a time-out for her.

    Looking in your VI, there is always something preventing the VI of work:

    -Remove useless (in comparison with the 10) logic including the invalid son

    -Connect a digital '10' to the "n" - of the loop in order to limit the number of iterations to 10.

    -Change the output terminal of the loop of the piles of data to be "Indexing" (right-click on the tunnel and select "Enable Indexing"). This will create a table 2D channels; Therefore, you must connect the stringarray on table 'spreadsheet of writing file' 2D connector instead of connector D 1.

    -Never, really never ever ever work with unstoppable loops in Windows! This already messed up complete systems of tests doing serious damage to the equipment. The only target I'm ok with infinite loops are FPGA and to some extend, real-time targets...

    The right approach would be a producer/consumer, but looking in your messages that you posted the last days, I would say that it is beyond your current knowledge of LV...

  • How can I upgrade my Presario CQ57 to make it faster?

    Hello

    My laptop is a bit slow, so I'd like to update some of the components to make it faster.

    Could you recommend me a better processor? & a RAM if you consider it necessary for this purpose?

    Compaq Presario CQ57 Notebook

    Intel (r) Celeron (r) CPU B800 @ 1.50 GHz 1.50 GHz

    2.0 GB OF RAM

    _ 64-bit Windows7

    Computer system product: 5CB21874YP

    Hewlett-Packard: 068C 110003204910000620100

    Thank you

    RAM is much easier updating. I recommend at least 4 gigs, and it will take up to 8. She takes DDR3-1333 SO-DIMM memory. CQ57-339WM seems to be your model.

    This is the service manual you need to swap processors:

    Manual

    The CQ57s equipped with a Celeron processor will accept only the Celeron processors. There are a couple more quickly available for your computer Celeron, but exchanging a Celeron for a another Celeron just doesn't seem worth it to me.

    If you want the computer to run more quickly install 4 GB of RAM and upgrade to a disk hard solid state. The speed improvement is actually more you'd get from opting for a faster Celeron processor. After the back if you want more specific suggestions.

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • Descriptive flexfield using fast formula

    Dear all,

    How to use the de FACTO forces in fast formula.

    Thank you
    Mr. Bilal

    Check-

    select user_entity_id,definition_text from ff_database_items -- user_entity_id
    where user_name = 'ACP_SERVICE_START_DATE'; -- change this to your DBI
    
    select route_id from ff_user_entities -- route_id
    where user_entity_id = 1228; -- user_entity_id from the previous query
    
    select text from ff_routes -- text
    where route_id = 286; -- route_id from previous query
    

    Now you can build a sql statement-

    Select /* definition_text */ -- from the 1st query
    from
    /* text */ -- from the 3rd query
    

    The above query returns you the value that is the same as used in a FF DBI

    Also, try to delete the aliases in your formula, instead use the DBIs directly and see if that makes a difference.

    see you soon,
    VB

  • my internet is slow I use a box of mifi varisen can someone tell me what to do to make it faster

    my internet is slow I use a box of mifi varisen can someone tell me what to do to make it faster

    Hello

    1. don't you make changes on the computer before the show?
    2. using Internet Explorer or another third party browser on the computer?
    3. have you installed Verizon software on your new machine?
    4. what operating system you are using on the computer?


    If you use Internet Explorer on the computer, then you can see the steps in the link and check.

    Why is my Internet connection so slow?

    Also check out the link for more information.
    How to increase the speed of navigation: 7 ways to work faster on slow connections
    http://www.Microsoft.com/atwork/remotely/connections.aspx

     
  • I accidentally put my pictures folder in the bin and emptied. How to make a comeback?

    II accidentally put my pictures folder in the bin and emptied!  How to make a comeback?

    If they are not in your Recycle Bin, restore it from your backup.

    If you do not have backups, then you will need to use the specialist recovery software (search the Web) yourself or get a professional company to do it for you at great expense. The most important thing to remember here is that after you have deleted your files, they still exist, but are considered as a free space on your hard drive and can so be replaced by your PC at any time - use your PC only so much it is necessary to recover the files. The more you use your PC more the chances of your files become corrupted and unrecoverable.

    Some people recommend

    http://www.Piriform.com/Recuva

    recovery software. However, I have not used, so I can't personally recommend.

    For later use, if anything either on your PC is valuable or irreplaceable, you must save it to a separate drive. Hard drives are mechanical devices with very fast moving parts that can fail without warning at any time. There are many other ways to lose too much data.

  • How to make a backup of the system files?

    I want to just back up the filesystem in the case where.

    Hello

    You can save your own personal files (documents, photos, etc.) or do a complete PC backup that contains the system files.

    If you want to make a complete PC Backup or a backup file only, buy an external hard drive.

    Only Vista professional, comprehensive and company have the opportunity to make complete backups of PC.

    All editions of Vista can do backups of files.

    Here's how to back up and restore your files:

    "How to back up your data.

    http://www.wintuts.com/how-to-backup-your-data

    http://www.home-PC-help.com/windowsvistabackup.html

    "How to restore your files.

    http://www.wintuts.com/how-to-restore-files

    This is how to do a full backup of the computer and how to restore it (for Vista Business, Ultimate and Enterprise only):

    «How to make a backup of the computer in Vista»

    http://www.bleepingcomputer.com/tutorials/how-to-use-Vista-complete-PC-Backup/

    "How to restore a full backup of the computer.

    http://www.bleepingcomputer.com/tutorials/Windows-Vista-complete-PC-Restore/

    FAQ from Microsoft about backup and restore:

    "Back up and restore: frequently asked questions.

    http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-and-restore-frequently-asked-questions

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    There are a number of 3rd party programs available for a full backup of the computer; others, you must pay for, some are free.

    This program must be purchased:

    "Acronis True Image".

    http://www.Acronis.com/homecomputing/products/TrueImage/index_gwo.html?utm_expid=4274314-6

    These are free programs for the protection of the computer:

    "EaseUS Todo Backup free"

    http://www.TODO-backup.com/products/home/free-backup-software.htm

    "Download Backup & Recovery 2012 free FREE!

    http://www.Paragon-Software.com/home/BR-free/download.html

    «Macrium Reflect FREE Edition»

    http://www.Macrium.com/reflectfree.aspx

    ___________________________________________________

    And if you do not score a manufacturer of recovery on your hard drive, you should be able to make your own recovery discs that are system files in order to reinstall the operating system.

    Go to programs > name of the manufacturer of your computer > then their system or recovery tools software topics for them, depending on how it is formulated.

    If you can't find any reference to it, contact the manufacturer for advice on how to make these recovery disks.

    See you soon.

Maybe you are looking for