Creating trendline in labview graph

Hi,
does anyone know whether is it possible to create a trendline in labview's graph?
kinda like in excel u can create a trendline but i want to do it in labview, is it possible?

You can use the curve fitting functions to find a curve to fit the graph and then add it as a plot to the graph. Examples ship with LabVIEW on using the fit functions and on creating multiple plots for graphs.

Similar Messages

  • Creating Multiple trendlines on one graph

    I'm showing a density relationship and not all of the weights or ml's are the same. Is there a way I can graph this? Or is there a really good tutorial somewhere? I've been searching but maybe I'm not using the right words.
    ex.
    zinc, 3.1g/.5ml 2.6g/.41ml etc.... I know how to get a get a line for that but if I want to add
    copper 4.6g/.60 ml, 2.9g/.39ml... etc to the same graph, how will I keep them separate? I'm unable to create multiple trend lines on the same graph.
    thanks

    You need to plot two series of data to have two trendlines. It would make sense to have two series anyway because you have two different materials.
    Zinc X values (ml?) in column B
    Zinc Y values (g?) in column C
    Copper X values (ml?) in column D
    Copper Y values (g?) in column E
    Select all four columns, create a scatter chart. Create trendlines for each series.
    If you already have the two columns for Zinc, just add the columns for copper and add them to the chart. Select the chart and you'll get a box around your data. Drag the little circle in the lower right to expand the box to cover your two new columns.
    You can also make the same chart with only three columns (one X and two Y) but it's a little more difficult.

  • Display LabVIEW graphs in realtime from previously acquired data

    I have some raw LabVIEW data stored in a BIN file. This file contains about 4 channels of labview graph data that was acquired. How can I open the raw LabVIEW data and view the four steams in realtime? I need to be able to view the data as it scrolls across in the same way as when the data was acquired. Is there a program or premade VI to do this?
    I will then use screen capture software to create videos of the labview graphs. If there is a way to directly convert the visual labview graph data into a video that displays the graph in the same way it was collected that would be ideal. For now I would be happy just getting the data displayed in the same way as it was collected.

    I'm sure this has been asked before, but I am having a hard time finding the other messages.
    Basically you need to create a VI that reads in the binary data from the file.  You also need to know the acquistion rate for that data, what is the dt between data points.  Now feed that data into a for loop (auto-indexed) that feeds the data one point at a time to a waveform chart.  The loop would have a wait statement equivalent to your dT of the data.  Thus the loop runs at the same rate as you had acquired the data adding a point at a time to the waveform chart.

  • Can I add a LabVIEW graph in my C# or C++ application?

    I am using LabVIEW Full Development System 8.2 and I have the application builder. I would like to include a regular LabVIEW graph in my C# or C++ application. Is this possible somehow? I know LabVIEW can generate a dll from a VI, but can LabVIEW create, for example, an ActiveX or a .NET component from a VI?

    No, you should have Measurement Studio to do that.
    LabVIEW Portal

  • My Adobe Acrobat 10 Pro creates PDFs with a graph background.  How do I make the background white?

    My Adobe Acrobat 10 Pro creates PDFs with a GRAPH background.  How do I make the scanned documents have a normal white background?

    This particular forum (sharing and storage) was created to help those transitioning from Photoshop.com to Adobe Revel. I will move your post to the correct forum so that it can get proper attention.
    We also have many other forums relating to other Adobe products at: http://forums.adobe.com.
    Out of curiosity, can you tell me how you found our forum page?

  • Labview Graph Palette Taking Outputs

    Hi,
    is there any way to take the output of Labview Graph Palette i.e. when I zoom in can i access the minimum and maximum values of the zoomed in scales.
    What I am trying to do is scanning a square and displaying data on an intensity graph. SoI wanted to add a feature which enables me to zoom in on the graph then take the values of the new scales and scan the zoomed in area again in the instrument.
    So, is this possible?
    Thanks,
    Yatin

    In LV8.5 (not sure about 8.2) you get "scale change" events, so with an
    event structure you get new ranges every time they change.
    In <LV8.5 the only option is to poll the range properties of the graph.
    Regards,
    Wiebe.

  • Creating Website in LABVIEW

    Hello,I want to learn creating websites in labview.I have no knowlege of creating website in html or php.So anyone can please help me with the same.
    Thank You.

    When you say create a web site, do you mean that you want to create a "standard" set of pages? Or post a VI on the web? Or have some sort of interactive control through a web interface. These are all different things and will have different answers.
    If you are looking at creating "standard" set of pages, everyone else that posted is correct in saying that LabVIEW is not really a good fit and you will be better off using something else (even just notepad and a manual) to build your site.
    If you are looking at posting a VI or creating an interactive VI for control, LabVIEW can do that and do it well.
    So, could you please be more specific?
    Thanks,
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • Create installer without labview

    Hi,
    Is it possible to create an installer without LabVIEW? I am supporting Windows 2000 through 7 and the versions of NI software varies with each OS, specifically when dealing with oscilloscopes running Windows due to VISA conflicts.
    The two main problems I have with creating installers with LabVIEW (Application Builder):
    1) Windows 2000 requires the Product Framework before 2.8.0. This makes it impossible for installers to run on Windows 2000 that require product installation newer than 2.8.0 which is basically every installation for Windows 7.
    2) As far as I am aware, the required software has to be installed on a local machine first before creating an installer. Then you navigate to the Additional Installers section when creating an installer to add to the installation. The location path will point to the orignal CD drive or location it was installed from on the local drive. I don't see why this required. Why can the installer be created directly from the extracted files without it being installed on machine?
    Thanks
    Solved!
    Go to Solution.

    Wow guys, thanks for two blatent insults. If you don't have anything nice to say don't say it at all.
    A little further explaination:
    Supporting and maintaining Windows 2000 in 2014, I agree, is cumbersome. However, you have to realize these oscilloscopes that run Windows 2000 in 2014 still cost upwards of $8,000 to replace and the operating system cannot be upgraded. Why do they still cost so much? Because they are very useful tools. And new ones cost $20,000 to $30,000. I don't think that this effort is "los[ing] [the company's] ability to make a profit".
    For those of you that are interested in the orignal question posted here is my solution.
    I used SFX Builder (http://sourceforge.net/projects/s-zipsfxbuilder/) to bundle NI's software into a single executeable file. Heres the steps:
    1) Download all necessary NI software
    2) Download SFX Builder
    3) Download 7-zip (http://www.7-zip.org/)
    1) Extract all NI software into a single folder and use 7-zip to compress into a .7z archive
    2) Open SFX Builder and add the .7z archive to the File tab
    3) You can easily set the path of extraction to anywhere on the computer, the temp (%temp%) is the most useful
    4) On the Tasks tab click the add/plus button and select Run Program, then enter the path where the extraction happened, here is an example
    5) Easy peasy!

  • How to create clickable (drill down) Graphs

    Hi Experts,
    I have a requirement in which i want to create clickable(drill down) graph/pie chart.
    I saw SAP standard program "GRAPHICS_IGS_CE_TEST". It works fine for graph display
    but it doesn't provide any drill down option, Although it has some evenhandling for event SAPEVENT.
    But it doesn't seem to work for left click,right click or double click.
    Can you please sugest?
    Thanks
    YG

    Hi Yogesh,
    Try these links, hope it wil help you.
    [Link1|Clickable Graph by ABAP control;
    [Link2|Graph by ABAP control;
    Regards,
    Nidhi Kothiyal

  • Create DLL from labview and calling it from other application

    I have an application built using Labview. I wanted to create DLL out of it. The application has
    two String inputs start and stop buttons and two status indicators.
    1. How to itegrate start and stop buttons from function prototype?
    2. Does Labview created DLLs requires labview runtime engine when it is to be called from other application?
    Can some one help on this.
    Solved!
    Go to Solution.

    Hi Yuvish,
    1) They should be boolean inputs to your VI. But does it makes sense to provide a stop button input at the start of your VI? (THINK DATAFLOW!)
    2) Yes, the LV-RTE is needed...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Create dll from labview

    Hi all:
    I am using labview 8.5 , i want to create dll for spacific vi , to use its output in another program like C++,
    can any one help me to learn the steps to create dll from labview
    thanks

    You need the application builder (which is part of the professional distro).
    In general you should every VI that you want as a function set to 'top-level'
    If you right click on the builds in your project you have an option to build a DLL (if you have the application builder), from there on the help is available.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • How to create X-Bar R graphs in numbers

    I cannot for the life of me figure out how to create X-Bar R graphs in numbers. It is beyond frustrating. Can anyone provide any insight? Thanks

    Hi Zac,
    I am not sure what you mean by an X-Bar graph. R has a box plot. Is that perhaps what you want?
    More information will lead to a solution .
    A screen shot of what you are trying to achieve will help.
    Regards,
    Ian.

  • Creating a 3 line graph report

    Need help with creating a 3 line graph  - need to be able to plot 3rd line of data  without displaying a legend and use a dynamic tag label for the line. Thanks

    You can create two graphs with the same horizontal (and if necessary vertical) scale, and make them occupy the same space on the report, one under another.
    On one report, put your 3rd graph line, and remove any visible text, gridlines etc, so you basically just have the axes lines and the graph line.
    On the top report, make the background transparent, so both graphs are visible (Chart Expert->Options->Transparent Background).

  • Using same returned data to create datagrid and pie graph

    I am trying to find a good example or information on creating
    charts, initially pie graphs. I will be getting the data from a
    MySQL DB via a HTTPService call to a PHP script. I would like to
    use the same HTTPService call to make a datagrid and build a pie
    graph. My datagrid is working fine.
    All of the examples I have found show the app with an
    internal data source that's hard coded into an array (
    http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDo cs_Parts&file=00001234.html).
    I did search this forum, but it seems most people are just looking
    for dynamic pie graphs and there isn't enough in the entries for me
    to go off of.
    The data returned to the MXML app looks like this:
    <auditdata>
    <riskdata>
    <core>core number here</core>
    <subcore>subcore number here</subcore>
    <mdata>mdata here</mdata>
    <risk1>number here</risk1>
    <risk2>number here</risk2>
    <risk3>number here</risk3>
    </riskdata>
    <riskdata>
    <core>core number here</core>
    <subcore>subcore number here</subcore>
    <mdata>mdata here</mdata>
    <risk1>number here</risk1>
    <risk2>number here</risk2>
    <risk3>number here</risk3>
    </riskdata>
    </auditdata>
    When the data is returned, everything under <riskdata>
    is put into a datagrid. What I'm looking to do in the pie graph is
    this.
    Create a 2 different pie graphs for each riskdata (there will
    only be 2). The first pie graph will be of the three "risks" (where
    their total number equals 100% of the graph). The second pie graph
    would be "core - subcore" and risk1 (where the two values total
    equals 100%of the graph). I hope that makes sense.
    Any guidance would be truly appreciated.
    Thanks,
    Chris

    Does anyone have any ideas on this?
    Thanks,
    Chris

  • When i am trying to create a report(using graph) in Word97 using Report generation Toolkit from Labview it's giving error in word import Module.vi that no such interface is supported could anyone help me out to solve this problem

    Word import Module.vi is trying to call Vb project and VB components thru active X controls when it's trying to call Vb components it's giving the error no such interface found..I am using Labview 6,MSoffice97,Graph8

    Hi Adam,
    It seems that there have been a couple other instances of the same error occurring and the problem is a conflict that occurs with the Office 97 only. Somehow the MS Office type library has been modified and this is causing incompatibilities with MS Office 97. Have you installed any other application on top of MS Office that plugs into MS Office tools – Adobe Acrobat, Visio, Reflection?? If so, you will want to see about uninstalling or reinstalling those utilities and then reinstalling Office 97 to restore the original MS Office 97 type library.
    Also, if you have a newer version of MS Office, I would highly recommend upgrading your computer. It seems that this problem is only with Office 97 and later versions of Office do not have this issue.
    Thanks again for bringing this question up.
    Kileen

Maybe you are looking for