Multiple is plotted on the XY graph (by iteration)

Hi all

I wrote a program that allows me to chart the theoretical data and change it in real-time to see how it changes the plots.  Currently, I have all the equations in a for loop and have the berries each iteration XY are clusterted together and auto-indexé to the edge.  If I have that then feeds the XY graph it works perfectly and I can draw several lines by iteration.  (See FirstPlot.vi)

So the problem I have is when I want to be able to draw three different lines at each execution of the loop FOR.  Because the last line is the addition of two other equations, it would be nice to look at the other two equations on top of the final line.  So if you look at the first VI, he draws the same line over and over but changes according to the value of 'i '.  In the second VI (SecondPlot.vi), if you look carefully, it will draw all the components of the line, including the original line, but only the last value of 'i '.  I want to be able to draw the line and its components on the same graph for each value of the 'I '.  Any suggestions?

I've actually never used 2010.  We stopped the upgrade to 8.6 due to budgetary constraints, then I changed my job and finally upgraded to 2012.  I heard 2010 has had many problems.

Tags: NI Software

Similar Questions

  • Multiple and different axis-related channels are on the same graph

    Hello

    I searched the forums and google trying to find out how to trace my 48 channels in a single chart and according to the plots of units he value axis 1 of 4.

    I have 48 channels all of them share the same time base axis.

    48 channels are mixed of flow, pressure, Temp and other bag. The units are located in the 'Units' property to the string.

    I would have 4 axis to account for my 4 units and hold all 48 channels to draw on the same graph, aloted to the axis of sorts.

    Thank you I have maybe for what is right, as it is a small segment of my script script. Help, advice or information would be greatly appreciated. I am struggling to find documentation to know where to start with this.

    Best wishes

    KR

    Hi KR,.

    After talking to my colleagues, I think that you can now have a solution to this, but for the benefit of third parties, the solution is to use "Related curve" scaling in the axis system display 2D of the pane window VIEW. To have this feature enabled you must be using n or n axes systems.

    More information can be found here: http://zone.ni.com/reference/en-XX/help/370858M-01/dlgview/dlgview/view_scaling_manual_dialog/

  • data is plotted on the graph of absolute time delay

    Hi all

    I'm plot data on a graph of absolute time and I find 2 hours difference between the data displayed by the debugger (left) and data on the graph (X - SCALE AUTO).

    The time saved in ptTime, was acquired by using the function 'time' and the PC has Amsterdam, Berlin, Rome as time zone.

    Here, under a screen shot that implemented the code, the debugger and the result.

    The debugger is also showing the version in good time!

    Can anyone suggest me how to process data in order to have the same result on the debugger window and on the graph?

    A big thank you and best regards

    Sergio

    Question: in the CVI debugger show you, the time_t variable appears as a double, while its definition in 'time.h' is ' typedef unsigned int time_t; "so I am a little confused.

    Response: I did something nonsense in this screenshot: I took a variable of type double (it happened to be a UIDateTime, actually) and configured the debugger to format as if it were a time_t variable. The formatted values that the debugger shows me, therefore, are not valid, of course. But I just wanted to show the time_t format, because it corresponds to what you have in your screenshot, and I was already suspicious that you use time_t variable to pass to the curve.

    Furthermore, if you are not familiar with the way in which you can change the formatting in the debugger, this is how you do it:

    Usually, the debugger can automatically pick the best format to use, based on the data type of the variable (for example, with variables of time_t). But in this case, what the debugger calls a variable "Date Time" is all just a double. The debugger cannot assume that you want to display all your double variables as a 'Date Time', and so you need to replace yourself.

    Question: I was not able to find UIDateTime using the ICB type, this is the value returned by GetCurrentDateTime(double *)?

    Response: There is really no such thing as a type of data "UIDateTime". I've been a bit remiss with my terminology. Unfortunately, when you're dealing with dates and hours, there are several possible representations of these quantities in the world of C, and it is important that you use the correct the intended variant you use for. In this case, the chart controls expect that you pass the time format used by the library of user interface, that is, one that is returned by the GetCurrentDateTime or MakeDateTime functions. The underlying C for this representation of the time data type is simply twice, and so it is not a good name to refer to it. That is why I used UIDateTime, but I should have been clearer than that.

    Question: Y at - it a function to convert time_t values UIDateTime values

    Response: Yes. You can use the functions of the programmer's Toolbox following two, in exactly this order:

    CVIAbsoluteTimeFromCVIANSITime (time_t ansiTime, CVIAbsoluteTime * absTime);

    CVIAbsoluteTimeToCVIUILTime (CVIAbsoluteTime absTime, double * uilTime);

  • How can I draw several plots by using the XY graph during execution?

    Hello

    I want to draw several plots in the graph XY to the means of execution user will select the number of plots that he wants to draw, depending on this value, I have to get these values and use table generation and then I give to graph XY.

    During execution, but how to do this?

    Please help me in this regard.

    Kind regards

    Herald

    Why start a new thread?

  • 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.

  • Change the color of the points plotted on a linear graph

    I was wondering if anyone knows how to change the color of the points plotted on my line graph (1e) to make it look like the 2nd. I want to emphasize the points plotted on top like the other online. Also, how to make tick marks on the x - axis as the second chart?  If someone could help me that would be great

    -Elise

    JavaScript:;Screen Shot 2016-01-26 at 10.03.12 PM.pngScreen Shot 2016-01-26 at 10.03.22 PM.png

    You need to copy segments of track of the chart, and then paste in place. Then the color what he read.

    With regard to the tick marks: find out how to enter your data for the Illustrator graphic function.

  • Multiple channel for the XY graph

    Im trying to draw a table 1 d in the y-axis and sometimes in the X axis. When I probe values since the wire connecting the XY graph, I see the values also perfect that I need them. But I do not see the values on the graph.

    Able to do the same thing with a waveform graph, but a chart XY im gives me a few more flexibility and benefits...

    Thank you

    Gokul Krishna S

    Hi Eureka,

    There's a Subvi, that you do not attach with this VI, and I can't run it.

    Part of your problem is that your x axis has a single value rather than an array of values.  If you right-click on your chart and select Properties, then go to the locations tab, you can change views of marker.  If you do something larger than a single pixel, you should be able to see it on the screen.

    Please also take a look at This example of community to the XY graphs.

    Thank you

    Lisa

  • missing samples in the waveform graph

    Hello world

    When processing a file .wav into pieces, I noticed that there are missing samples on the waveform graph where two pieces must be met for the display. What could be the cause of this? Any help appreciated. Thank you!

    Milan

    Your method of reading in pieces in a for loop is create a table 1 d of waveforms with the tunnels of automatic indexation.  It is as well as what you have the data appear in different plots.  I don't know if that's what you want.

    But if this is the case, the problem is that you get to the last point of the first plot, and the first point of the next parcel is a different value.  Because they are two different plots that you do not get the line to join them, as you do between points that are part of the same plot.

  • Tracing data from two locations on the block diagram on the same graph

    Hello world

    I'm trying to plot data from two distinct processes on a chart.  These processes occur in the order.

    I have developed several solutions, which none produce the result I want.  What I want is for the data to trace in real time each process is running.

    The two processes are functionally identical - one loop "for".  With each iteration of these loops, data is produced and traced.

    The data are plotted in real time, which means that each reference appears on the chart as soon as it is produced.

    However, I am not able to get the second process data on the same graph in the same way.

    The closest I got combines the graphic with a local variable.  This allows the data for the two processes to draw in real time, but the second set of data replaces the first.

    I have attached a very simple test VI showing my problem.

    Any help with this would be greatly appreciated.

    Thank you

    You can do something like this. Is the second process just a continuation of the first? If so, it becomes even easier and you can just to keep construction of the table in the second loop.

  • The Subvi display plot in the main VI while Subvi is inside another Subvi

    Hi all

    I followed the procedure described by mysticfree to display a Subvi plot in the main VI: http://forums.ni.com/t5/LabVIEW/show-graph-that-is-created-in-a-subvi/td-p/672249

    I want to do nested way: main VI runs a Subvi called sub_A tracks sub_A. other sub - VI, called sub_B in it. sub_B generates a trace. I want to display this conspiracy in my main VI.

    I tried to apply the same principle to this problem, but sub_A does not send trace information to mainVI until sub_B is finished.

    I'd appreciate any suggestions to solve this problem.

    I have attached the VI.

    Thank you.

    The solution to this problem is available in the following discussion:

    http://forums.NI.com/T5/LabVIEW/show-graph-that-is-created-in-a-subvi/m-p/2390892#M741487

  • How to send an email to multiple recipients and keep the list future emails?

    How can I send an email to multiple recipients and store the names of future emails?

    Are you using an e-mail application to send and receive your emails?

  • How to stop multiple self-switching to the address bar every time I open a new tab and try typing something anywhere outside the address bar?

    How to stop multiple self-switching to the address bar every time I open a new tab and try typing something anywhere outside the address bar? As something just wants me to use this integrated search when you type something non-Web-address in the address bar and press to enter. And the most ridiculous thing is that happens repeatedly on as every second, as I just got off the address bar and start typing again, but still he passes me in the address bar, then 3, 4 times like that. And the result is that I don't see the address of this page.

    I think that its has something to do with my AVG Antivirus, because it started the same time a Nation AVG started to appear in each new tab I opened (and which is irritating as me, I've read here on support.mozilla.org and it seems that the only solution is to completely reinstall Firefox, but I don't want to lose all my settings) but when I type something in the address bar and press enter It opens the search results in Google.

    Please try to help me, I love Firefox but I have to switch to Chrome until I fix this.

    Thanks in advance

    First of all, please update Firefox 32. 22 is no longer support is not safe. So, let us know if you still have this problem. Update Firefox to the latest version

  • I can't save my multiple tabs so that the closing of Firefox

    I am unable to save my multiple tabs so that the closing of Firefox. I even tried to reinstall and restart firefox in safe mode by using the following command "firefox-safe-mode", but even that did not help.

    I tried to look for any option in the tools, but did not.

    Help, please.

    4.0b11 Firefox automatically saves your session when you close it. When you open it the next time you should get a hyperlink on your homepage for the Restoration of previous Session or you can make it through history > restore previous Session.

  • read the multiple analog inputs at the same time

    Hi all

    I use USB-6001 and want to develop an application to multiple tasks in C++. I try to read several analog inputs at the same time, but got some errors. To put it simply, I copy one of the sample code to read in analog data in a channel, and then turn it into function. Then I call this function to thread with the names of different poles (for example Dev1/ai0, Dev1/ai1) and I come across this error:

    "The specified source is reserved. The operation can not be specified such complete"code of State-50103

    I have search the forums, this may be because I use the hardware timing in this function, and this material timing cannot be used simultaneously by multiple tasks. I may have to put all the lines, I want to read in a single task (such as Dev1 / ai0:1). This way I can read two lines at the same time. However, when I try this, I encounter another error:

    Status code "buffer is too small to contain the data read" - 200299

    So here is my question, what should I do if I don't want to read the multiple analog inputs at the same time? Is the thing that hard time cannot be used by several true task? If I have to read several lines to a single task, how to set the settings?


  • several land 3D on the same graph

    Hello

    I use the 3D library CW graphics.

    I would to draw 3D curves on the same graph: is it possible?

    To draw my curves, I use: CW3DGraphLib__DCWGraph3DPlot3DMesh (graphHandle, NULL, xVt2, yVt2, zVt2, CA_DEFAULT_VAL)

    Thank you...

    Adeline

    OK, it's great that I found that it did not work!

    I had to add in some places:

    CW3DGraphLib_CWPlots3DItem (plotsHandle, NULL, CA_VariantShort (1), & plotHandle);
    CW3DGraphLib_CWPlot3DSetMultiPlot (plotHandle, NULL, VTRUE);
    CW3DGraphLib_CWPlots3DItem (plotsHandle, NULL, CA_VariantShort (2), & plotHandle);
    CW3DGraphLib_CWPlot3DSetMultiPlot (plotHandle, NULL, VFALSE);

    Ciao ciao

    Adeline

Maybe you are looking for