graph xy multiplot

I have a question for multiplotting a XY Chart.

I deleted some of my vi to have view more inside. The XY graph I want to generate are P1 and P2 as X and Y and each parcel is a stream. I can't get right.

To work quickly, I put 2 slides in to represent these 2 pressures P1 and P2. Could someone help me please.

Hello Michel,

For completeness, it is actually even simpler than what I explained in the previous post, if you want the chart to be updated for every new point. Indeed, as the temporary array is equal to the final, you have nothing to do in the loop For external.

To make it clear for you, see the example in the image below:

Warning: The example Code is provided as is. It has not been tested or validated as a product for use in a deployed application or system, or for use in dangerous environments. You assume all risk for use of the Code and the use of the Code is subject to the license terms of Sample Code which can be found at: http://ni.com/samplecodelicense

Tags: NI Software

Similar Questions

  • Average values for separate sets of data graph XY multiplot

    Hello

    I'm using Labview 2010 and I'm a bit of a novice, unfortunately.

    So I am currently trying to get average values of the three plots I have on a multiplot XY Chart. I thought the best way to achieve this would be to use the express VI of statistics, but when I try to wire the data I need for this I can get statistics for a set of data and not the other two.

    I don't know how the separately on data sets, as it is not a table.

    If anyone can help me, it would be much appreciated. Sorry for the probable simplicity of the question.

    (The program is basically an ODE Solver, which then displays pressure at different places in a bioreactor).

    In the small LOOP where you have data of y for each parcel in the form of a 1 d table, add a "mean.vi" in the math palette: statistics. AutoIndex the output on the edge of the loop to get a table 1 d containing three ways.

    (In addition, a lot of your code could be considerably simplfified. You can [i] connect directly to the structure of the case and a case of '0' and the other, by default. Better would simply initialize the shift, no means required register. Index table is resizable, so you don't need to a single instance on the lower right corner. Wouldn't be easier to just get the latest column and it wire back the entrance inside the structure cases via the feedback node? No need to "subset of table to replace").

    You have forgotten to attach a Subvi, so we can't really test.

    EDH is a quick project:

  • Graphic multiplot XY: bug in LabVIEW?

    I started a chart XY simple concession with this array of points, a point being a cluster that contains an x value and a value of y. It worked fine until I wanted to a multiplot XY Chart.

    According to the detailed help of the XY graph, it must accept an array of clusters of plots, where a parcel is an array of points. A point is a cluster that contains an x value and a value of y.

    Everything what I try, it does not work. I've included this example where I got a cut wire.

    The example also shows the other option to display the graph XY multiplot and it works but then I have to redo a lot of coding.

    Thanks for helping me!

    I found the solution and as a thank you for the attention, please find two ways to display multiplots on the XY graph.

  • How to determine the strict reference to the table of waveform

    Hello

    I want to change the properties of a waveform by programming. I used to get all references maps of waveform a function of range in my script VI VI. Then I typecasted references to more specific class (strict-single track) after this trial I was able set properties such as data history. Everything works fine but if I add a graphic that is multiplot, that this approach does not work.

    The problem is that in the table of references, there is reference to a graph in multiplot waveform, and this reference is not possible typcast to the more specific category (strict-single parcel).

    My question is: how to determine if the reference in the table is matching the proper waveform (single or multiplot) charts.

    In the VI attached is a code that demonstrates my problem.

    Thanks a lot for the replies

    Jan

    Thank you for advice. VI point 2 from your answer, I created and it works. The solution is attached.

    If I understand it correctly. I need to know the type of chart to come.

    My first idea was to create a VI in Drop that initializes all the graphics of VI on chart type independently.

    But this solution is fine because I will only use graphics-single plot and multiplot(two elements).

    Thank you

    Jan

  • How to change the style of point of the last lot on multiplot XY graph programmatically?

    Hi all

    I have a multiplot XY Chart.  I want to change the style of the last plot point by program.  Any way to do it?  I tried and it looks like only the first property parcel is changeable by program.

    Thanks for any help.

    Anne

    ergwser wrote:

    Hi all

    I have a multiplot XY Chart.  I want to change the style of the last plot point by program.  Any way to do it?  I tried and it looks like only the first property parcel is changeable by program.

    Thanks for any help.

    Anne

    Nodes property can be resized by dragging down on them.

    resize the property node you re using and use a "Conspiracy Active" property to set the index of the plot of the plot you wan to act on.

    Also note that property nodes are running up and down, so the "active conspiracy" must be above the property where you specify the point style.

    Ben

  • Multiplot XY graph

    Hello

    I have a few questions about the graph XY. Please see the attached schema.

    Basically, at each iteration, the program will generate a set of X - Y data and I wanted to trace all sets X - Y data within a chart. If I draw the graphic 'XY' function inside the loop for example, it will show only a little bit, but if I put the chart of "X - Y" outside the graph, it will display all the parcels at once at the end is possible he show a plot?

    the second question is I want to show the legend of land as the applied bias, how can I control the legend of the plot? I am using Labview 2010. I right click the X - Y graph, and then click Create--> property node, I do not see a property of legend of the plot.

    Thank you

    Joyce

    property nodes run at towards the bottom. You must set the active plot before you set the caption. See attachment.

  • Great Multiplot XY graph very slow to update the changes in the line of visibility/colour/width

    Hi all

    I have a problem that is interesting for you all. I'm trying to update the features of large graph XY (3600 points given for each of the 160 different storylines, all on a graph) by reference and it goes very slowly.

    What I've implemented is a system where mousing over other indicators and buttons "will highlight" certain groups of plots by intrigues a thickness of 2 instead of 1. Similarly, clicking on other buttons will change the color of the plot or toggle the visibility of certain parcels. This implementation, I have a Subvi, which contains a reference to the xy graph, and in a loop for each parcel of land for active, applies the changes I want to see done. The problem is that it takes more than a minute to fill in for an update! I'm supposed to be traced new points of every second, and mouseovers and button clicks may occur several times in a second, so it is obviously unacceptable.

    I noticed that as I'm a loop in all plots of 160 in the Subvi, the XY graph is updated, one plot at a time. My question is: is it possible to prevent the update until all changes have been made in the chart? Or maybe a way to apply all the changes at the same time, rather than use a loop for?

    I discovered that if I simply drag a property node graph xy HUGE and all at once instead of make a loop for, the changes appear immediately as you wish. Is it really what I have to do to get the results I want? It is incredibly long and unmanageable to have a node gigantic property will be all the steps of the loop being applied at the time.

    Help is greatly appreciated!

    -Aaron

    Two things you should consider:

    (1) reporter Panel updates.  The value True before the loop and false afterwards.  Considerably from the things speeds as this place.

    (2) no way you can see 3600 points on a graph.  With this number of plots, I would consider the decimation of the data in order to reduce the number of items displayed.

  • Multiplot XY graph properties

    Hi, inside a loop, I am gaining two curves (y1 and y2), with the same x axis. I want to draw together in the same graph xy, in real time. So I group them separately (x, x, y1, y2), then the outputs go to buffer functions chart xy, and finally, I build an array that is connected to the xy graph. Everything works, but the two curves have the same properties. Data are stored in different columns, as I can see in the worksheet file, but in the graph, they appear with the same plot.

    Any idea. It is difficult for me to reach the VI here as Labview 6 is in another OLD computer without internet access

    Thank you

    Antony

    Found the solution: you have to put a BUNCH of TABLE BUILDING after the two xyBuffers before the XYgraph.

    It works

  • The multiplot XY graphs & Data Types

    Currently working on four tracing data sensors of pressure on a XY plot, but up to this impossible. In addition, I do not know if I use the correct data type.

    As you can see in the image below, my code is taking measures of the DAQ Assistant and proceeds to divide the data into four signals before taking their average. My predecessor was thought to build a matrix of these signals of four split with what I suppose is the timestamp. The problem is that only one set of data being plotted right now. I tried to change the order of things that I use a cluster as my data type, but I always feel to get an error.

    Recently I saw this webpage https://decibel.ni.com/content/docs/DOC-5129 for more help, but imitating the way they don't seem to work for my code.

    Can anyone help?

    All I see are 1 d arrays. A matrix in LabVIEW is special data type used for... you guessed it, matrix calculations. Do not use it interchangeably with table.

    The main problem is that you send a single cluster in the XY graph, which means a single parcel. What you want is an array of clusters. The clusters will be a beam of table 1 d of timestamps and D 1 table of measures. But it is the hard way to do it, and this means you need to keep all your data as the tracks of the loop, with a lot of unbundling, build tables and rebundling. Crossrulz wrote a great nugget on How to use a sporadic data graphic , which makes things much easier, because the chart holds the story for you. Take a look at this post, and if you want to have several plots, you can just make a table of the waveforms, as I did below. Where you see the 'random number' dice, you will put your unique measurement data you acquire every time as the iteration of the loop. You can test the program by running and clicking on the Add Point"" button.

  • (Multi ^ n) draw graphs of waveform

    I'm using LabView 8.2 and I need a graph of waveforms non-sinusoidales twenty bunk on this one (actually two waveforms taken ten times each, so - what counts, but no, I can't just average to them).  With the help of table build to make a standard multiplot with Express waveform graph does not, however, apparently because the VI express can handle only two waveforms at the same time.

    Suggestions?

    Hi DJDDA,

    right click on "table of generation" before the chart and select "concatenate entries.

  • color unique plot for all parcels in a multiplot screen?

    Hello

    I'm plotting say 100 pitches in a multiplot view. Is there a way to trace all of this in a single color?

    Currently, I draw all and then go and change the color of each. The problem with this is that sometimes, the color change does not occur quite fast and a range of colors are visible on the tracks before all traces settle on the unique color.

    Thank you

    As long as you know the maximum number of locations, you may have, you should be able to set up the colors for all the plots in advance.   You can do it manually, but if there is a large number of plots, you probably still want to make the configuration programmatically.  To start, you init the number of plots in the graph or table. otherwise, the number of sites is defined by the data.  To do this, view the legend of the plot.  For a large number of plots, right click on the legend of the plot and select the index control so that you can manipulate it as an array.  You can put the index advance to '99' and click the init table command plot with 100 items.  Now you can set the color for all 100 locations programmatically.  Once installation is complete you can copy the control to another VI and/or save the VI / control with all the properties that they are, so you won't have to do during every execution of the actual program.

  • The XY graph Plot.LineWidth Property node problem

    Hello!

    I have a loop, where I repeatedly putting curves in a XY Chart. In the first iteration of the loop, after the first corner appears on the graph (I send data from the graphical indicator), I use a Plot.LineWidth Property node to align the thicker. However, in the next iteration, when the second plotted curve appears on the graph, and the property node is pulled again, the second curve remains thin. I guess what I've done wrong, that this property node defines only the first curve? How can I set the width of the line of all the curves of the XY graph on the same value? When I directly on the properties of XY graph, I can set the width of the curve, but only one by one...

    Suggestions how set the widths of the ground on a specific chart XY?

    Thank you!

    If it is a multiplot XY, you must set each plots properties by using the property activeplot (index of the new lot), then by setting the thickness.

  • How to disable the legend of a graph of cursor?

    Hi all

    in my application, there is a graph with a multiplot slider with his legend.

    The user moves the cursor and plot values are shown in the legend but I want to avoid the user to remove the existing cursor or create a new one using the legend of cursor.

    It is possible to disable the execution of the legend of the cursor menu? I tried but without success. It seems that the only way is to create a legend of slider with values of the plot.

    You have an idea?

    Thank you all

    A way to hack would be to put a rectangle of decoration on this part of the graph and the transparent color.

  • How the tables of data collected from a certain time three multiplot loop

    Hello.

    In my project, I'm trying to multiplot three data tables that is to say, two tables against a single Berry. I managed to platting two separate parcels, but I can't combine the two plots in a single. so please help me with this problem.

    PS - I want that the graph of V P to be combined with the graph of VI. (I added Orange to wave in V I graph using paint to illustrate)

    Bundle allows you to create your XY plots (X in the first element array, array of Y in the second) and then use table build to an array of clusters that contain your XY plots.

  • About Grapher

    Hi, I tried to graph of the entire greater function Grapher. However, I discovered that I can't put 'int' as a valid command.

    Here is the image that shows what it looks like on calculator TI-84.

    So, I was wondering if there is another symbol that can replace "int" to Grapher?

    Enjoy it!

    Use Floor. In other cases, click Help, and then view the built-in definitions.

    (144660)

Maybe you are looking for

  • Difference between all mails & Inbox?

    Hi, I'm mew to THunderbird and even Linux OS. I have configured my gmail account in Thunderbird, but most of the emails have been downloaded in all mails. Later, when the value of the filter for synchronization... the same messages have been copied t

  • How do you take a payment information

    How do you take a payment information

  • How many characters can I store in Firefox/Thunderbird v 9?

    I have 3o Personas in my Firefox and Thunderbird, and I want to put more whenever I have add a new, another is removed I don't seem to be able to store beyond 30 personas why this phenomenon happens?

  • Don't buy used Mac - no iApps for free?

    Hey everybody, My question may be stupid, so I apologize in advance but If I buy a Mac of opportunity I get applications like iMovie etc. for free?Thanks for the explanation or instructions to solve my problem.

  • Cannot Ping PIX 525 inside interface

    Hi, I can not ping the interface e1 of a new 525 PIX running V6.35. I configured the address e1 and tried, but I can't ping the laptop connected directly to it, or vice versa... ACL has added to what icmp any an and the IP a whole and applied the e1