Is it possible to do 3D fitting in Labview?

Hi,
I have a function of the type z=f(x,y). Is it possible to fit z in terms of polynomial of the form z=a+b*x+c*x*y+d*x*y^2+.... using Labview. I have Labview 7.1.
Thanks,
Hamza

Of course this is easily possible. Just use General LS fit. Have a look at my simple example in this thread:
 http://forums.ni.com/ni/board/message?board.id=170&message.id=129944
.It shows how to do it also using Levenberg marquardt, but General LS is probably preferred for such a simple problem. Let me know if you have questions.
Message Edited by altenbach on 01-12-2006 10:06 PM
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Is it possible to do best fit line in chart in numbers

    is it possible to do best fit line in chart in numbers

    Hi R,
    This is a Scatter Plot in Numbers 3.1. Data are in Body Columns, not Header Columns.
    Click on the chart, then Format Panel > Series > Trendlines
    Choose a Trendline. You may click on Show Equation and Show R2 (R squared).
    Regards,
    Ian.

  • Is it possible to create a schedule in Labview . Example: i want to off the lights at 7pm and want it on at 8am. If there is can anyone teach, its for a school project. Im using labview 2011

    Is it possible to create a schedule in Labview . Example: i want to off the lights at 7pm and want it on at 8am. If there is can anyone teach, its for a school project. Im using labview 2011...thx

    Since this is a school project I recommend you do the work yourself. You will not learn asking others to do it for you. In addition, folks here will not do your homework for you. We are however more than wiling to answer specific questions for you. Post what you have done or tried and ask specific questions. I am confident you will get assistance.
    And to answer your question, yes LabVIEW can be used to implement a scheduling program.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Is it possible to export a histogram from labview to excel

    is it possible to export a histogram from labview to excel,and of course get a fancy one

    Hi achfire,
    The LabVIEW Report Generation Toolkit allows you to create different graphs in Microsoft Excel, including Bar Graphs.  Check out the Report Generation Toolkit section of the White Paper below for more information.  I've also linked to a section of the Report Generation Toolkit Help document which gives more details on the different types of graphs you can export.
    Moving Data From LabVIEW Into Excel: http://www.ni.com/newsletter/51339/en/
    Common Graph Types for Reports: http://zone.ni.com/reference/en-XX/help/370274G-01​/lvrgthelp/graph_types/
    Thanks,
    Myriam D.
    Applications Engineer
    National Instruments

  • Is it possible to build a project with Labview 2010 on a Windows XP system, that is useful for a system with windows 7 on it?

    Hi there,
    I am planning to use Labview 2010 in a short time.
    But before I'm going to use it I have some questions.
    I know it is possible to run Labview 2010 in an XP environment. But is it also possible to, when running Labview 2010 on a XP system, to build a project to a version that is useful in a Windows 7 environment?
    Or do I have to run Labview 2010, when I want to build a project that is useful on a Windows 7 system, on a system with Windows 7?
    Please give me some information.
    I hope to hear from one of you soon.
    Regards,
    Kenny
    Solved!
    Go to Solution.

    Is it possible to build a project with Labview 2009 on a Windows XP system, that is useful for a system with windows 7 on it?
    Thanks.
    Philippe B.
    Certified Associate Developer / Dépt Moyens d'essais
    www.ingenia-system.com

  • Is it possible to build a firewall using labview??

    Is it possible to build a firewall using labview??
    RAJESH

    There are several kinds of firewalls, for example:
    (1) so called "personal firewall software" which applies some policies to incoming and outgoing ethernet traffic on the computer it is running.
    (2) Dedicated hardware firewalls (having at least two ethernet interfaces) that enforce policies of traffic flowing across. These can be bridging, routing, or even be proxying.
    LabVIEW does NOT have access to the low level packet structure (ethernet header, ip header, tcp header, etc.) and relies on the OS for routing decisions. LabVIEW only deals with TCP and UDP and only at a very high level. A firewall must also make decisions for e.g. ICMP, GRE, or other IP packets, must know the status of all TCP flags (SYN, ACK, URG, PSH, FIN, RST), must check for valid fragmentations, et., etc.. LabVIEW cannot do any typical firewall tasks unless you do most of your work with external routines. In this case, LabVIEW just provides the UI.
    (Even simple ftp traffic would be quite complicated. For example the ports for the secondary data connections must be dynamically allowed based on information gleaned from the control connection, in this particular case the PORT command and the reply to the PASV command).
    I would say the answer is NO! Not with the networking tools provided with LabVIEW alone.
    With lots of work, you might be able to built a simple proxy server using LabVIEW, but this would seem quite useless...
    LabVIEW Champion . Do more with less code and in less time .

  • Is it possible to output to fit on DVD?

    I have created a video in Premiere Pro and exported it to Encore and built menu's. The total length of the video is 2hrs & 8 minutes. Is there a way to output this to DVD to fit? maybe reducing quality of video or something? Thanks for your help.

    Depends on the type of video file imported into encore. If it's anything other than mpeg-2, like an avi file, than you should be able to just use automatic settings. But you'll want to transcode anything you can before your main video file so it calculates disc size correctly. Transcode clips used for menu backgrounds, etc. before you transcode your main file in automatic. If you have already transcoded to mpeg-2 in premiere, re-transcoding might take a long time again or degrade the image too much.
    In CS3 Encore, I've had trouble with jitttery motion with automatic setting, but that might just be my computer. Because I haven't found a solution I use manual settings and project is sometimes too large to fit on a disc. For these occasions I use another free download program called DVD Shrink. (Google it.) It is much quicker to run through that program for me than re-transcoding. Just export your project as a DVD Folder and use those files in DVD Shrink and it will make new ones in a temp folder of your choosing, plus it will burn a disc for you. Does it pretty quickly also. Plus, you can sometimes get away if you are slightly over with just shrinking your menu stuff and leaving your main video file alone. I also use a sharpen filter in the settings and I am very impressed with the results.

  • I have an in-house instrument driver written in labwindows, is it possible to use this driver in labview?

    If this is not possible, how do you go about converting it for use in labview?

    Just go to Tools>Instrumentation>Import CVI Instrument Driver. In LabVIEW 5, it's under the File menu and is called Convert CVI FP File.

  • Is it possible to run AM Modulation in LabVIEW PDA Module?

    Hi All,
            I would like to ask about AM Modulation vis can run on PDA Module or not?Because as i mention that PDA screen is too small to see all the AM modulation waveforms.So i would like to know whether is it pissible to run AM Modulation on the LabVIEW PDA Module? If it is possible, please tell me that how should i modified my VIs on block diagram and how do i arrange all waveforms graph on front panel?
            Then, the AM modulation that i want to run is as shown in attach file.
             Thanks to all for your help.
    With Regards
    Nyan Lin
    Attachments:
    AM block Diagrams.jpg ‏56 KB
    AM Modulation front panel.jpg ‏107 KB

    Hi Jpaul,
                 Thanks for your quite useful help. I am now able to manage all waveform in one tab control. But i still have some errors for my final year project. I am from Singapore Nanyang Polytechnic who do the final year project. My project is to transfer over the AM Modulation waveforms on the PDA device. But i still face on with some errors.My error is as following.
    (1) After i run my waveforms together with Tab control, the program that appear on the PDA is only too small and only can see half of
          my waveform.As i understand that all the text size must be greater than 20. And I chose the landscape screen for my tab control using.
          The waveform that together with tab control is as shown in attach file.
    (2) Then my PDA's internal memory is not enough space for running the new application and when i want to delete it, it is not possible to
          delete and there is error to delete. I would like to know how can i delete my NI files from my memory. My PDA model is HP iPAQ hx2700.
    (3) Then I would like to know more about what is the usage of NI CF-6004?  Is it like memory card for running NI
          waveforms on the PDA? Or if not what is it use for ?
                 I am strongly appreciate for ur help and i know that this might be so many question. But i am really no way to find this errors anymore.Thats why i have to ask to you. I will be thanks for all ur help. Thanks a lot
    Best Regards
    Nyan Lin
    Attachments:
    AM Modulation on PDA.JPG ‏30 KB

  • Is it possible to call DLL develloped with LabView 7.0 in LabView 6.0.2 VIs?

    Hello,
    I would like to devellop DLLs in LabView 7.0 and use them in LabView 6.0.2.
    Is it possible???
    I tried this operation. I generated an installer (with the LabView 7.0 runtime in) and tried to load the DLL in a LabView 6.0.2 VI.
    When I run the VI, LabView 6.0.2 is crashing...
    Here my export function prototype:
    typedef struct
    LVBoolean status;
    long code;
    LStrHandle source;
    } TD1;
    typedef struct
    long dimSize;
    unsigned char Numeric[1];
    } TD2;
    typedef TD2 **TD2Hdl;
    void __cdecl driver(LVBoolean *SendCommand, unsigned char DataToSend[], long LenDataToSend, char RHICommandString[], TD1 *errorInNoError, LVBoolean *GetAnswer, LStrHandle *FrameReceivedID, long *Da
    taLength, TD2Hdl *DataReceived, TD1 *errorOut);
    Any example ???
    Thanks for your help,
    Regards, Pascal.

    Hi Pascal,
    I made a simple dll in LabVIEW 7 and called it from LabVIEW 6.0 and it worked fine.
    I have attached the dll I built. It adds two numbers.
    double Testdll(double B, double A);
    Try using this and see if it works for you.
    Feroz
    Attachments:
    SharedLib.dll ‏17 KB
    SharedLib.h ‏1 KB
    SharedLib.lib ‏3 KB

  • Is it possible to import simulink blocks into labview

    Hi,
    I was wondering if it is possible to import the MATLAB/simulink blocks into labview. 
    thanks,
    Baran.

    Hi Baran,
    There is no way to directly import any of the programing blocks from The MathWorks, Inc. Simulink® software into LabVIEW.
    However if you wanted to use your own code that you programed using The MathWorks, Inc. Simulink® environment in LabVIEW, we do have the NI Simulation Interface Toolkit which you can use.
    <Brian A | Applications Engineering | National Instruments> 

  • Est-il possible d'utiliser google map sous labview 2014

    Bonjour,
    Pour les besoins d'une application je souhaiterai intégrer google map pour y faire afficher un emplacement mais celui-ci sera mobile car l'utilisation ressemblera à un GPS.
    est-ce possible de faire sa?
    Merci d'avance,
    Cordialement
    R.D.

    Bonjour,
    Il existe plusieurs méthode pour le faire, plus ou moins complexe. Il faut voir suivant ce que vous souhaitez faire. Avoir une image statique, c'est assez simple en utilisant un navigateur web dans LabVIEW et en reconstruisant l'URL qui va bien. Plus d'informations ici : https://developers.google.com/maps/documentation/staticmaps/
    ex : https://maps.googleapis.com/maps/api/staticmap?center=45.3212395,5.5916658&zoom=15&size=800x800&mapt...
    Il te faut juste après la latitude et la longitude pour choisir le point de la carte.
    Si tu veux alle rplus loin, j'avais posté ça il y a quelques temps, mais je ne sais pas si ca fonctionne encore. Après pour utiliser les fonctionnalités plus complètes de Maps, il faut utiliser une API et surtout enregistrer son application pour obtenir un code.
    Cordialement
    .mesLeft{float:left} .mesInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898} .mesLogo{float:right;opacity:0.18} .mesLogo:hover{opacity:0.9}
    Maxime R.  
      CLD - Certified LabVIEW Developer / Développeur LabVIEW Certifié  
      CLAD - Certified LabVIEW Associate Developer   

  • I want to run a stepper motor using FPGA card 7851r with 9474 driver C rio 9151 is it possible or can i do in LABVIEW CVI

    Hello i want to run Stepper with 7851 R FPGA card with 9474 driver of crio chasis but i am not able to understand how to proceed .Or can opt this option by using lab view CVI
    Solved!
    Go to Solution.

    Hi SHV,
    actually I don't know in which context you want to use your existing hardware for your stepper motor.
    1. The hardware, which you describe, is/was used for which application? ( data acquisition, controlling a system, etc)?
    2. Did you buy the hardware especially for the motor application?
    3. You don't know how which signals are required for your stepper motor.
    Here are some basics from NI about motor control
    Fundamentals of Motion Control
    http://www.ni.com/white-paper/3367/en
    NI Motion Control Technical Library
    http://www.ni.com/white-paper/3054/en
    4. Why do you get the idea the digital output module 9474 is suitable for the stepper motor?
    I would recommend to talk directly to the customer support, so we can figure out in detail your aims about
    the application. Contact your local NI office or request
    a service request on following website:
    Service Request Manager
    https://sine.ni.com/srm/app/login/p/tab/getassistance
    Kind regards,
    RupiDo

  • Possible reconfigur​ation of a preset LabVIEW VI?

    Hey all,
    I'm currently working with both VBAI 2012 and LV 2012 for machine vision purposes. Our project requires detection of objects by the HSL (hue, saturation, luminance) method, and we'd like to implement a customized RGB-to-HSL formula in a .vi to implement in Vision Builder. The RGB-to-HSL algorithm built into the .DLL file for the Color Threshold .VI doesn't give us as desirable results as this custom RGB-to-HSL one.
    The main problem we've run into is the actual implementation. Our in-depth knowledge of LabVIEW is limited, and we think we'd save quite a bit of time by simply creating a copy of the VBAI RGB-to-HSL .DLL file, implementing our code in place of the preassigned one, and saving it as a new .DLL to implement in the Call Library Function node in the Color Threshold .VI.
    However, we can't seem to find the .DLL file in question. What we'd like to know is: is there any way we could locate this file and safely implement our custom algorithm for better HSL detection in our RGB images?
    Another hurdle include the fact that our code is written in C#, while it appears the Call Library Function node in Color Threshold.VI is based in C.
    Thanks in advance!

    The nivision.dll file is located in the Windows » System32 folder. However, it is not recommended that you actually modify the dll file itself. In order to get the custom algorithm for HSL detection in your RGD images, you will need to create an entirely new dll file or VI from scratch. You could choose to modify the IMAQ Color Threshold.vi, as all it does it call a function from the dll.
    Daniel K | NI Applications Engineer | Certified LabVIEW Developer

  • Is it possible to create a guide on labview interface to tell user how to use my program?

    Basically this is the image of the project I'm working on and i want to know if I am able to create a guide that pop out telling the user which button does what when I run the program. 
    Solved!
    Go to Solution.

    I am pretty sure the Tip Strip is what you are looking for.  If you go into the control properties and go to the Documentation tab, you will see an input to Tip Strip.  This should do exactly what you want.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for

  • Need open REPORT from FORM in Oracle Apps with Parameters

    Hello All, I have a custom Form, which is running fine in stand alone by invoking the report from it. There is a code in behind the button which triggers to open the report having parameters. Here we used RUN_PRODUCT function to invoke the form. Now

  • Data in InfoSet not Displaying after TR

    Hi, I just transported an InfoSet to Production. All the DSO's seem to be displaying data and working fine. But the InfoSet is not displaying any data.The InfoSet was working fine in QAS. How can i fix this? Thanks

  • Model based on ORACLE in Web Dynpro

    Hi all, Hi All, i want to create a web Dynpro application which would extract material data from ORACLE database. Apart from BAPI and WEBSERVICE, i dont find any provision or facility to build a model based on ORACLE. if there is a provision of build

  • Music controls semi-unresponsive

    hey all, i have seen at least one thread on here about the dock icons being unresponsive but i found a new 'bug' yesterday. When the ipod is in landscape mode (say when you are on the internet) and i double tap the home button to pull up the music co

  • Stock at BOM level

    Dear all , I have a bOm for FG containing 45 components , can i check the stock at all BOM levels in SAP ? Creating Varient and getting stock in MB52 is ok but every time for new assembly i can not create varient . Whr can i get Stock at BOM level ?