General using polynomial Fit VI with waveform graph

Hello gurus,

I would like to ask how to use general polynomial Fit VI with waveform graph no GraphXY.

Waveform graph gives me an array of values not X, Y, I think, what do I do?

Thanks in advance

Hi Omar,.

I changed the example Labview embedded to use the general polynomial Fit VI with a waveform graph.

But why don't you use a X-Y-Graph?

Tags: NI Software

Similar Questions

  • Overload CPU display with waveform graph

    My sample code (yahoo.vi) presents the 2D DBL in size of 30, 000 * 2 table.

    Whenever the 2D table was displayed with waveform graph, I found there were big delay (around seconds) by CPU overhead but the time was very short.

    Once this has happened, the computer (8108 PXI double heart, 4G of memory, 32-bit win7) has been slow to exploit something.

    Is it bug or problem comes from the computer? or do you have a solution?

    labmaster

    My version of LV is 2009.1 (service pack installed)

    You need to transpose the table! (or right click on the chart... convert table)

    You are graphing 30000 plots with two points each (hard!) instead of 2 plots with 30000 points each (easy!).

    (Imagine you would display the legend of the plot with 30000 plots, it would be a mile high!)

  • How to use offset and multiplier in waveform graph?

    Hello

    I m using a waveform graph and I wanted to update its the x axis scale depending on the value of the multiplier. Also how this

    shift multiplier formula n works (deltaX) * X + X 0? What is delta X and X?

    Kind regards

    vijtin

    Hello

    X 0 is the offset, and X is the multiplier.  If the graph will start at an offset issue and will be aa at the time value delta multiplier.

    for example

    If you have these X-values normal: 0; 1; 2; 3; 4; 5 and a multiplier of 2 and 5 ofset you would get the result on the X - as = 5; 7; 9; 11; 13

    Hope this helps

  • you use an image behind the waveform graph?

    Well guys, I want to know if its possible in LabVIEW.

    I know I can put an image predefined waveform graph so still when I run my program I see that image.

    But now I want to use a picture inside the graphical waveform... like a logo or something related.

    Is it possible? If so, how can I do that?

    Thank you

    How about you, making the transparent graphic background and put the image you want behind it?

  • Possible bug with waveform graph

    LabVIEW bug recently while I was going to create a vi to convert grapg labview in trend, I find a little bug graph labview and the roots of waveform that is impossible to solve unless the national instrument correct codes

    bug is that invert mood of the chart if your minimum data are not zero, starting point of the grid is not working well and then you loos your grids.

    anyone else having the same problem? You can find more explain in my LinkedIn Natalie Ford


  • How can I display only a part of the scale in the waveform graph

    This is the first time I try to use the waveform graph, since now, I used the table of waveform.
    The reason why I moved to the chart, it's that I need cursors.

    I have 2 problem

    the first: in the diagram, the graph moves when I add a new data and the scale of the x-axis stay the same size, in the right size I always saw the new data. How can I do that with waveform graph?

    Second: How do I say Labview to the day I click on the graph, I need that because when move graphic I lose the day, and to make I need to zoom out, I drag the imprecateurs.

    All this must be done programmatically. The LabVIEW graphic accepts tabular data, not only as the table and the graph doesn't have the ability to retain the previous points, like the story of a graph. You will need to retain previous values and then continually update the graph with the old and new values to get a shift register "chart as behavior. Cursors should be written programmatically re of each iteration, since you rewrite the entire graph.

  • How to calculate the equation of dataset using 'Fitting VI' (non-linear or polynomial fit)?

    I have the datasheet of a NTC (thermistor negative Coefficient) and I want to calculate the most approximate equation

    that describes its behavior. The table has values of temperature and resistance. If the resistance of the NTC varies according to the temperature it detects. I tried the following:

    -Excel: polynomial adjustment

    -Maple: polynomial adjustment

    -LabVIEW: Polynomial Fit.vi

    I've been doing equations with a not very good approximate parameteres. I suspect that this method 'Polynomial FIT' it is not the best method for this type of data/equation (being a non-linear equation).

    So is - that someone has used the non-linear Fit.vi matching the behavior of a dataset object? If so, can you explain how this VI... I would really appreciate it.

    Thanks in advance and I will wait for your reply.


  • How to calculate the polynomial graphic adjustment of waveform

    Hi all

    I am new to lab - view so would need a little assistance in one of the problem I have right now.

    My problem is: how to calculate the polynomial graph of waveform data adjustment? I need to convert the waveform to XY graph data, and then use the polynomial vi made integrated to calculate the fitting?

    Detail: My problem is that I have waveform graph, I calculate the vertices and the Valley, but because of the noise, my peaks and Valley detection is sometimes not exact, so to smooth the chart that I must apply the polynomial fit.

    If anyone can help me in this, I'll be very grateful.

    Thanks in advance

    Hi Omar,.

    have you seen the suggestion of Lynn above?

    You already have the values of Y (your table). Now, you need build the table of X as indicated, only to replace the value of dt with your spacing from point to point. Somewhere in your code, you know that the value that you have an x-axis indicated in milliseconds...

  • Save the Studio measure waveform graph as a file for reading later

    Hello

    I would like to know if there is an easier way to record data are rendered on a waveform graph (configured as a graphic of the band) to capture incoming data in the code and send copies of it to a file. It would be nice if there was a method to do this, with all relevant metadata stored in the file (color, etc.). Better yet, the file could then be opened in a labview application (for example, a TDMS file) for later review.

    Thank you.

    PS. I use VS2010 and MS 2010.

    So, it looks like you already have all the data points. For metadata that you mentioned, line color, plot colors, point colors, line styles, etc. are all accessible from the properties so if you wish, you can retrieve all that data.

    I think that upon return from t0 is the same compensation history, you can use the ClearData() method.

  • metal theme waveform graph

    Hello

    I use the metal theme to design a façade of Labview.  I would like to plot x, y of the data on a chart, however, there is only a graphic of waveform and waveform Graph available in the metallic theme.  Can you help me in tracing the x, the data is in the curve of waveform in the attached VI?

    Thank you

    hiNi.

    You can customize the graph of the metallic wave and replace it with a XY Chart and set some properties to match the waveform graph

    Or let me do it for you

    Joint back-saved for 2011

    Cross posted at the "Discussion of UI military theme" on the side of the community

  • How to get the individual history of the multiple waveform graph plot

    I have a table of waveform with several plots, which is a cluster as input.

    I want to calculate the average of each of these plots. With simple concession of waveform graph, all I had to do is to use the property in the history of the graph node and pass the history to the generation averaged vi. With the array of multiple locations, I am unable to get the history of each parcel.

    The property of the history of the land multi card node is an array of custers, not quite what I need to calculate the average.

    How to me history of individual plots?

    Thank you.

    unbundle just your datapoints inside a loop like this

  • Two background colors for the same waveform graph

    Hello guys!

    I have a question for you: I am a new user of labview, so please be nice!

    So here's the deal: I just created a thanks 4 thermocouple temperature registration program.

    In real time, I then have a waveform graph 4 curves as soon as I start my program. And in my program, I had a button that allows me to record the temperature in a file for a period of time at a certain frequency.

    So, what I have is: I got my chart of waveform with a black background for example, and once I pressed the button, the background color will be changed automatically to highlight the part of the graph where the record occurs, then the background will return to the black after finished recording. In this way, on the same graph, I could say that registration took place from here to there by looking at the graph. I have two different background on the same graph.

    I don't know how to change the background of a chart using the property node, but is it possible to do what I want?

    I hope I'm clear. Otherwise, feel free to ask me for more details... I might post my vi if necessary

    See you soon

    Well, I know this is not exactly what you want to do, but you can try the following.

    Change the color of the line on the chart when recording occurs.

    You could therefore have a red line, then press on save, then it turns blue, then back to red.

    And when that is confusing since you have 4 different lines on the chart 1,

    You can change to a red line and a dotted red line, for example.

    Would that be acceptable? If so, I can show you how to do this.

  • display constantly accumulating waveform graph

    I read about 1000 points per iteration that I want to show a waveform graph. If I am just a digital picture in table of waveform, it shows a smooth wave sin and it looks at is just by adding new data to the former (a bit like a queue).

    However, if I use a waveform, it replaces the previous data with a new one. I want to see 2 seconds of data at any given time, so just display 1000 points on a corner does not help.

    I tried to join a waveform using the shift register and it shows the result that I want, but overtime, the size of the waveform gets very large and it slows down the system. I could implement a check of size and other things, but it's there

    an easier way to do the input waveform behave a digital table entry?

    I need to use waveforms because I want to stack several locations a TI provides an 'insufficient memory' picture if I use a 2D array.

    Got, it works. Had to change the timestamp on each iteration.

  • Create multiple vertical lines for waveform graph

    Hi all

    I use NI 9234 USB vibration of rotating machinery data acquisition. A simple VI was made for this.

    The next step is the analysis, signals were well displayed waveform, time, FFT, all important values... and so on.

    But I have a problem with multi vertical lines of the waveform graphs, it looks very simple, and I tried many ways but have yet to get it with a good solution.

    Vertical lines are used to display the frequency of breakdowns of machines (such as we post 1 X, 2 X, 3 X,... more harmonics).

    Does anyone have a solution for this problem?

    Thank you very much!!!

    Here's a very quick example (LabVIEW 8.2)

  • Waveform graph lose history

    Hello to you all, useful forum fans!  :-)

    I implements an array of tape showing the values of several parameters in real time, using a waveform graph, but during the race he keeps resetting of the history of the card at irregular intervals.  Unfortunately, because it is for my work, I can't post the code.  I'll do my best to describe the problem and the installation program, however.

    I have a data acquisition loop to read the values in real-time in a table of the floats and stores it in a global variable functional memory data buffer that contains a table 2D of floats, a 'page' of floats by time interval.  This forum works at 50 Hz through the expectation of millisecond Schedule VI.

    I then a chart update the loop running at 10 Hz via forward schedule VI.  This loop reads the data of all samples buffer VI he has accumulated (usually 5, but sometimes 4 or 6) and converts it to an array of waveforms through the VI of waveform build by taking each column of data and by assigning to it, definition dt to 0.02 (50 Hz), and parameter t0 to time less dt current multiplied by the number of samples in the table.  The terminal waveform graph is then set to this table of waveforms.

    Most of the time that it works well, with the new values added the previous values to create a smooth graph of multiple plots with the correct values are displayed.  However, sporadically the chart Flash empty and begin to fill again from scratch.  I can tell is just jump in time (the axis of abscissa) because I can move the axis scroll bar and there is no other data to scroll.

    I in addition to these two loop loops a GUI-structure of the event and a task of State machine loop.  However, I have excluded these two loops ownership history of the graph through inspection and breakpoints.  This is why I can only think that there are conditions or the type of data which, once introduced in terminal results of the graph by adding DO NOT present data as usual.  Empty array is not the answer; I tested with a separate simple test VI, and therefore in the chart, keeping the currently displayed data but do not update new data.

    I would appreciate any idea what any of you have as to the possible causes of this behavior.  I apologize again for not being able to view the actual code, although I can work to establish a similar setup with the data buffer, etc. in a separate VI and after that.  Also, I would like to know if you want me to describe the other logic, settings, or the circumstances for you.

    Thank you very much for your help!

    -Joe

    Whenever I've seen this problem when you use a waveform he chart endded up being a problem with;

    (1) the number of parcels has changed.

    (2) the names of the plot has changed (WF attribute).

    (3) time info Goffy where t0 and dt were inconsistent with what was already posted (new data point a t0 that is earlier than what is already plotted this plot)

    It's a pain to figure out the first time.

    Ben

Maybe you are looking for

  • iPhoto folder deleted items

    I deleted a whole bunch of photos from iPhoto by mistake.  I read that I can get back them in the "Deleted items" folder but can't find it.  I use MacBook Pro with OS El Caitan 10.11.6 2015

  • iMovie expand/extend/stretch the time line

    Hello I am learning to use iMovie and want to magnify or to stretch the horizontal timeline so it's easier to see more time.  Now, I don't want to change the duration of a clip - just the scale that the video may be brought against - the time line. 

  • Impossible to build the project on a Linux (task CAP)

    Hello I want to run my script compilation (with tag Cap ant script) on a linux machine. I have included the file tools.jar - ant - bb in the classpath, but there are also the JDE installation directory. Help me please if someone knows how to solve th

  • Scale of BB! 0 app for Playbook

    Hi all, in excess of what can be described as sillyness, I created a game in webworks for my z10. I used fixed assets to the z10 resolution. now, I decided to port for playbook and obviously changing resolution is a bit problematic. is there a way I

  • Whenever I try to open a session in my Blackberry app world smart blackBerry phones, it gives me error 80003

    HelloI installed the latest version of the bb application world there for a week, so I can't go in app world, says I need to update my blackberry identity until I can get into the world of the app. When I click Yes to update my bb ID it gives me an e