Equivelent Solver Excel sous LabView 2009

Bonjour,
Je souhaite reproduire le comportement du Solver Excel sous LabView 2009 ?
Mon objectif est de tracer un Fit Super Gaussien d'odre N avec 4 paramétres à optimiser et un à minimiser.
Merci d'avance pour vos retour.
Cordialement
Jean,

Bonojur,
J'ai fait plusieurs recherches sur les différents outils disponible dans la palette mathematics=>fitting mais cependant je ne trouve pas de fonction permettant de gérer 4 paramètres à contraindre avec un fit  d'ordre >2..
La fonction qui me semble s'appocher le plus de mon besoin est:"Nonlinear_Curve_Fit.vi" cependant j'ai plusieurs erreur liée au paramètre d'entrée.
Ci-joint un exemple de ma test.
Cordialement
Pièces jointes :
TU_Piste_3_Nonlinear_Curve_Fit.zip ‏107 KB

Similar Messages

  • Compilation sous LabVIEW 2009 et windows XP

    Bonjour,
    J'ai besoin d'une info :
    Est-il possible de compiler un exe sous LabVIEW 2009 et windows XP et le faire tourner sous windows 7 ?
    Merci d'avance.
    Philippe B.
    Certified Associate Developer / Dépt Moyens d'essais
    www.ingenia-system.com

    Bonjour,
    Oui c'est possible
    Le run-time de LabVIEW 2009 est compatible avec Windows 7.
    Tant que vous ne souhaitez pas creer un executable 64 bits cela reste possible.
    Que vous compiliez un executable sous Windows XP ou Windows 7 sa structure reste la meme.
    Cordialement,
    Da Helmut

  • LIRE UN TABLEAU à 2 DIMENSIONS DEPUIS UN FICHIER EXCEL SOUS LABVIEW

    SVP, je suis débutante en labview
    et je cherche à importer des données (real et string) d'un tableau sous un fichier excel vers labview, je souhaite afficher ce tableau dans labview (le nombre des colonnes est 7 par contre le nombre des lignes est variable) et ensuite plus tard utiliser ces donnees
    svp aidez moi, donnez moi un exemple

    Si vous avez le Report Generation Toolkit, puis il ya des exemples disponibles via le finder par exempleLabVIEW. Il suffit de rechercher l'excellence.
    Sinon, voici quelques exemples sur la façon d'accéder et d'importer votre tableau Exceldans LabVIEW:https://decibel.ni.com/content/docs/DOC-12287 and http://zone.ni.com/devzone/cda/epd/p/id/3409
    (en utilisant Google Translate)

  • Comment lire un exemple sous labview 2010 avec labview 2009

    Bonjour,
    On trouve aujourd'hui de plus en plus d'exemples ou de réponse sous Labview 2010. Mais comment faire pour pouvoir les ouvrir lorsque l'on ne possède que la version 2009?
    Merci d'avance.
    Il m'est impossible de faire acheter une nouvelle version tous les ans...

    Bonjour,
    Vous pouvez faire une demande de conversion vers une version précédente ici : http://forums.ni.com/ni/board/message?board.id=170&thread.id=473172
    Ou installer (sur une machine virtuelle si vous ne voulez pas avoir de problèmes avec vos développement) la version d'évaluation de LabVIEW 2010 pour faire la conversion en 2009.
    Cordialement,
    Da Helmut

  • Accessing the Solver AddIn to Excel from LabVIEW

    I would like to be able to set the parameters and run the Solver AddIn in Excel from LabVIEW. I know that from LabVIEW you can install the different AddIn's but is there anyway to access the actual AddIn once it has been installed?

    Hi Karin -
    I believe your answer is ActiveX.
    Briefly, ActiveX allows application a (e.g. LabVIEW) to control application B (e.g. Excel, Word, etc.) programmatically. The kicker is that application B must export that functionality to LabVIEW. We ship an example with LabVIEW that controls Excel via ActiveX, it will give you a head start. We do not provide extended support for ActiveX programming simply because there are literally thousands of applications we could control. Microsoft might be able to shed more light with an Excel ActiveX programmer's reference or some relted document.
    good luck-
    ben schulte
    national instruments

  • How to freeze and unfreeze panes in window by using Excel from LabVIEW

    Hello
    I am creating an Excel Report file programmatically using LabVIEW. I make the row headers for the sheet and store data using the program.
    The requirement that i need is that when the user opens the Excel sheet, the row heading should remain fixed at top, as the sheet is scrolled down by the user.
    This is possible in Excel, by clicking on Window in the menu bar and then select Freeze panes/Unfreeze panes. The same operation i need, to be done from LabVIEW. Please let me know how this can be done.
    I use LabVIEW 2009
    Thank you.
    Solved!
    Go to Solution.

    Please see this discussion. TCPlomp has an example of how to achieve this.
    Cory K

  • Favor to ask : can you open this labview 2009 Vi and save it for me in a Labview 8.6 readable vi ?

    Hi guys, 
    I have a favor to ask : May somebody would be nice enough to open this Labview 2009 VI and save it in a Labview 8.6 readable VI  ? You'll probably have some missing blocks cause I use specials ones but I don't want to have to re-make all the VI.
    Thanks you very much
    G.
    Solved!
    Go to Solution.
    Attachments:
    Control3.vi ‏29 KB

    notimperial wrote:
    Probably not the right place to do this, but could someone onpen this in labview 2010 and save it in a format compatible with labview 2009?
    Thank you in advance
    You are right we have a thread for this here.
    http://forums.ni.com/t5/LabVIEW/Downconvert-VI-Req​uests/m-p/1067229
    Here is your vi please use the downconvert thread next time.
    Tim
    Johnson Controls
    Holland Michigan
    Attachments:
    WFMreaderIII.vi ‏53 KB

  • Run-time engine problem in Labview 2009 and Labview 2010

    I have a problem with Labview 2009 and Labview 2010. I updated my Labview 2009 into 2010. But it turned out to be a trial one, because i did not have the serial number. So I uninstalled the Labview 2010. however, the funny stuff came over. I cannot use my Labview 2009. So i uninstalled Labview 2009 again. But eventually, I could not reinstall Labview 2009. Every time i had a runtime error and i could not proceed with the installation. in addition, any installation  related to Labview is not permitted and the same error came up every time. it is very annoying.
    So, What is the deal?
    I attached the error here. Any comments or advice are welcomed and appreciated.
    Attachments:
    error.docx ‏2305 KB

    By chance is this machine's language set to any non-English locale?  You would check the locale setting by:
    Opening Control Panel.
    Opening "Regional and Language Options".
    Looking Under "Regional Options" >> "Standards and Formats"
    If it is set to something besides English, trying setting it to English and please report back what locale it was set to (or if this even solves the problem).
    Regards,
    - WesW

  • Migrating large project from DSC 7.1 to LabView 2009 Shared Variables ... What's the next step after recreating my variables?

    I am in the process of migrating a large distributed (multi-workstation) automation system from the LabVIEW 7.11 DSCEngine on Windows XP to the LabVIEW 2009 Shared Variable Engine on Windows 7.
    I have about 600 tags which represent data or IO states in a series of Opto22 instruments, accessible via their OptoOPCServer. There are another 150 memory tags which are used so the multiple workstations can trade requests and status information to coordinate motion and process sequencing.  Only one workstation may be allowed to run the Opto22 server, because otherwise the Opto22 instruments are overwhelmed by the multiple communications requests; for simplicity, I'll refer to that workstation as the Opto22 gateway.
    The LabVIEW 2009 migration tool was unable to properly migrate the Opto22 tags, but with some help from NI support (thank you, Jared!) and many days of pointing and clicking, I have successfully created a bound shared-variable library connecting to all the necessary data and IO.  I've also created shared variables corresponding to the memory tags. All the variables have been deployed.
    So far, so good. After much fighting with Windows 7 network location settings,  I can open the Distributed System Manager on a second W7/LV2009 machine (I'll refer to it as the "remote" machine henceforth) and see the processes and all those variables on the Opto22 gateway workstation. I've also created a few variables on the remote workstation and confirmed that I can see them from the gateway workstation.
    Now I need to be able to use (both read and write) the variables in VIs running on the remote workstation machine. (And by extension, on more remote workstations as I do the upgrade/migration).
    I have succeeded in reading and writing them by creating a tag reader pointed at the URL for the process on the Opto22 gateway. I can see a way I could replace the old DSC tag reads and writes in my applications using this technique, but is this the right way to do this? Is this actually using the Shared Variable Engine, or is it actually using the DataSocket? I know for a fact that attempting to manipulate ~800 items via Datasocket will bog down the systems.
    I had the impression that I should be able to create shared variables in my project on the remote workstation that link to those on the Opto22 gateway workstation. When, however, I try to browse to find the processes on that workstation, I get an error saying that isn't possible.
    Am I on the right track with the tag reader? If not, is there some basic step I'm missing in trying to access the shared variables I created on the gateway workstation?
    Any advice will be greatly appreciated.
    Kevin
    Kevin Roche
    Advisory Engineer/Scientist
    Spintronics and Magnetoelectronics group
    IBM Research Almaden

    I have found the answer to part of my question -- an relatively easy way to create a "remote" library of shared variables that connect to the master library on my gateway workstation.
    Export the variables from the master library as a csv file and copy that to the remote machine.
    Open the file on the remote machine (in excel or the spreadsheet app of your choice) and (for safety's sake) immediately save it with a name marking it as the remote version.
    Find the network path column (it was "U" in my file).
    replace the path for each variable (which will be either a long file path or a blank, depending on the kind of variable) with \\machine\'process name'\variable name
    where machine is the name or ip address of the master (gateway) workstation (I used the ip address to make sure it uses my dedicated automation ethernet network rather than our building-wide network)
    and process name is the name of the process with the deployed variables visible in the Distributed System Manager on the gateway machine.
    NOTE the single quotes around the process name; they are required.
    The variable name is in the first ("A") column, so in Excel, I could do this for line 2 with the formula =CONCATENATE("\\machine\'process name'\",A2)
    Once the formula worked on line 2, I could copy it into all the other lines.
    Save the CSV file.
    Import the CSV into the remote library to create the variables.
    Note: at this point, if you attempt to deploy the variables, it will fail. The aliases are not quite set properly yet.
    Open the properties for the first imported variable.
    There is probably an error message at the bottom saying the alias is invalid.
    In the alias section, you'll see it is set to "Project Variable" with the network path from step 4.
    Change the setting to "PSP URL" with the same path and the error message should disappear.
    Close the properties box, save the library, and then export the variables to a new CSV file.
    Open the new CSV file in Excel, and scroll sideways to the NetworkrojectBound field.
    You'll notice it is False for the first variable, and true for the rest. Set the field FALSE for all lines in the spreadsheet.
    Scroll sideways... you'll notice there are two new columns between NetworkrojectPath and Network:UseBinding
    The first one is NetworkingleWriter; it should already be FALSE for all lines.
    The second one is Network:URL. That needs to be set equal to the value for each line of NetworkrojectPath.
    You can accomplish this with a formula like in step 4. In Excel it was =U2 for line 2, and then cut and paste into all lines below it.
    There is a third new field, Path, which should already be set to the location of the variable library. You don't need to do anything with it.
    Save the edited CSV file.
    Go back to the remote library, and import variables from the just-edited remote library CSV file.
    Once you have imported them and the Multiple Variable Editor opens, click on done.
    You should now be able to deploy the remote variable library without error. (Make sure to open the Distributed System Manager and start the local variable engine. It took me a few failures before I realized I had to do that before attempting a deployment).
    Voila! You now have a "remote" library of shared variables that references all the shared variables on the master machine, and which should be deployable on other machines with very little difficulty.
    It actually took longer to write out the process here than to perform these steps once I figured it out.
    Kevin Roche
    Advisory Engineer/Scientist
    Spintronics and Magnetoelectronics group
    IBM Research Almaden

  • How to create a standalone executable in LabVIEW 2009 Professional Development System?

    How to create a standalone executable in LabVIEW 2009 Professional Development System?
    Solved!
    Go to Solution.

    This should help you out http://zone.ni.com/devzone/cda/tut/p/id/3303
    Also remember that quick search with Google in many cases will be quicker than asking in this forum. I always use Google before I ask for help in any forum. It is much quicker
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • In block diagram connecting wire getting blur while saving the VI in LabVIEW 2009

    Hello,
    I am using Labview 2009, And while I am saving  a simple VI connecting wires are getting blurry. What could be the problem?? Is it affect my program while running?
    Solved!
    Go to Solution.

    Go into Tools>>Options, select the Block Diagram page and find the section called Constant Folding. If the CF for wires check box is checked, then this is most likely the reason. You can uncheck the check box and it won't affect the way your code runs.
    If this isn't the case, you should upload an image of what it looks like.
    Try to take over the world!

  • Help needed in adding custom About box in built applicatio​n in LabVIEW 2009

    Hello,
    Can anyone please help me add custom About box in built application in LabVIEW 2009? I had successfully built my application in labview 8.6, 8.5 and 8.2 before to include custom About box. However, when I tried the same method in LabVIEW 2009, it only showed LabVIEW 2009 About box rather than my custom About box.
    Here is what I did:
    1) Wrote an "About Application.vi" in the built VI folder;
    2) Included this "About Application.vi" in the "Always Included" section of Source Files in Application Build;
    3) Built the application;
    4) Ran the built application, the About box showed only LabVIEW 2009 about (attached a picture).
    You can see that on the upper left corner of the picture, there is my custom icon.
    Your help is greatly appreciated,
    Cathy
    Solved!
    Go to Solution.
    Attachments:
    About Box.JPG ‏34 KB

    Here is the link to download LabVIEW 2009 f2 patch:
    http://digital.ni.com/public.nsf/websearch/C3F88F3​596A164AD86257647006FB022?OpenDocument
    Thanks for the help,

  • Labview 2009 32 bit not running on xp 64 bit

    Hi all,
    I tried to upgrade to LabVIEW 2009 from LabVIEW 8.6 on 64-bit windows XP machine. Following about a 2 hour removal of 8.6 and subsequent installation of LV 2009 it turns out that the device drivers are not compatible with a 64-bit machine. On launching LabVIEW 2009 (32-bit) an error box appears stating that it is corrupt or missing files and to correct this using control panel etc. I have tried this and still the same error occurs and LV refuses to start.
    All the license files are correct and the compnents are activated.
    Anyone know how to fix this? Or should I go back to 8.6 and cancel my upgrade subscription?
    Secondly, I am using a firewire camera and was informed that Ni-IMAQ legacy are no longer supported and to go to ni.com/ifo and enter legacy1394 to see how to download drivers etc for this. I end up on a page that says "not authorized".
    Any help gratefully appreciated. 
    Solved!
    Go to Solution.

    Leeser wrote:
    I agree that XP64 and LV 2009 are not compatible as I installed LV 2009 on another 32-bit machine with no problems. I was just surprised as there were no problems or issues that I came across for 8. on XP64. Ah well, a uninstallation and reinstallation lies in wait for me on Monday morning!!  
    As an aside why call it LV 2009 instead of LV 8.7 or even LV9.0...sounds reminiscent of an operating system!!
    Regards,
    Leeser
    LabVIEW 2009 is according to the internal version scheme actually equivalent to LabVIEW 9.0. Why they changed the naming? I guess marketing told them to do so. Why then? Well marketing has some funny ideas sometimes. I guess since THE software provider in this world has started to do this since about Windows 2000 someone must have thought it to be the best idea since sliced bread and decided to do it for LabVIEW too.
    Another guess is that in about 2010 there would have been something like 9.1, and 10.0 would then come out in 2011 and that sounded somehow to someone like a bad scheme so they decided to change it now. But maybe it will be forgotten and everybody returns to the old versioning at the begin of next year when 9.0.1 will come out, which would then otherwise be LV 2009.1??? Or maybe LV2009 SP1?
    It has already happened with LabVIEW 6i (iMacs, iPhones, iAnything), LabVIEW 7 Express and LabVIEW 8.20 (following 8.0.1 and marking the 20th anniversary of LabVIEW, and being internally LabVIEW 8.2). All some marketing fun or hysteria.
    Rolf Kalbermatter
    Message Edited by rolfk on 08-17-2009 11:08 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Labview 2009 .exe not working with windows 2000

    I created a simple vi with Labview 2009 to reset a counter in registry key. I changed it to an exe. The program runs fine on any machine with XP but it does not work on the machine I need it on which is running Windows 2000 SP4. I installed the 2009 runtime but I continue to get an error when it starts up saying the vi is not executable and that I need the full development to fix the errors. But like I said it works every where else. I've tried other exe wrote in LV2009 on this machine and they work. Is there something in my vi that is not compatible with Windows 2000?
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Serial Number Reset Cell 2.vi ‏15 KB

    There was an issue with building DLLs on Windows 2000 - http://digital.ni.com/public.nsf/allkb/431C9BD8F3482033862576A90073441F. Since you say you are trying an EXE, this may not be applicable.
    George M
    National Instruments

  • Error in ni visa control out for usb in labview 2009

    Hi,
    I am using labview 2009 in which i have made a vi which communicates with a pic controller through USB interface.
    the vi is working fine in labview 8.6. I tried it in two PCs. but when i run that vi in a PC with labview 2009 then the VISA CONTROL OUT.vi gives error "0xBFFF003E : Could not perform operation because of i o error.". while the control in.vi works fine in both the labview versions and any other PC that i tried.
    I have run the application in total of 4 PCs with same set of cards/interfaces. two of them having labview 8.6 are running fine and giving no error but other two with labview 2009 are giving error.
    and it doesn't stop here.... i searched in the vi and did some experiment and found that when i give Request value input to control out.vi as "0x36 "(as required by my PIC program) then it is giving error but when i give other value such as " 0x35 or 34 or 55"(used for other purpose) then it is not giving error.
    Can it be a PIC programming problem? (i dont think so as everything is fine in other PC with LV 8.6)
    I have already explored the ni forum for this error solution but could not find helpful.
    Can anyone solve my problem?

    I installed labview 8.6 in that machine and made a small program with only 3 vis (visa open session, visa close session and visa usb control out.vi) which is working in LV 8.6 platform.
    Sorry the above statement is not correct actually.
    When i run the program in LV 8.6 it giving that same error but this time it is not displayed as pop up window. so i could not judge that error was still there.

Maybe you are looking for

  • WBS Element and Service No Link Table for Purchase Order document

    Hi Experts, We are Facing 1 Problem for finding link between WBS Element and Service No for corresponding Purchase Order document . Please Suggest me to find Related tables for Project system Module . Thanks and Regards BalaNarasimman.M

  • How can I download a version of iPhoto that will work on OS 10.7.5?

    I tried to upgrade my iPhoto '08 to a newer version, but the new version won't run on OS 10.7.5 and now I cannot open iPhoto. Is there a way to uninstall the recent upgrade or reinstall a version of iPhoto to will work on OS 10.7.5?

  • Shift report error in transaction SHR1

    Hi Experts, In transaction SHR1(CREATE SHIFT REPORT) , when i enter the work center, system throws the below error" Not possible to create shift report for work center VMC" Reasons: work center doesn't exist in system. 2) no shift report has been ent

  • How do I make good scrolling text for end credit

    Hi, I'm trying to make end credit as in other feature films. I tried to use Boris title 3D, but the space is not even, how can you make it even between character's name and their real name side by side? Do I have to set the margin?, if so what is the

  • Do we require constraints in Datawarehousing?

    I can understand if we can create the surrogate keys for the dimension tables. Do we require foreign key constraints for the Fact tables. If we dont use the foreign keys what would be the effect during the ETL load. Im maintaining an exception table