Changing XY graph to multiple plot freezes labview

Hi,
I have a 0-dimensional XY graph which is part of a fairly big VI which I want to change to a mulitple plot version. However, when I wire an array of XY-data clusters instead of just an XY data cluster LabView 2014 freezes and crashes:
LV freezes when i wire the lower 1-dim version.
There are mulitple VI references, Property nodes and Events in use from this graph. Usually this change is trivial, but for some reason it won't work here? Any ideas? Could it be a property node or VI reference that becomes incompatible when the dimensionality is changed?

There's not much that we can do to help without knowing what all you do with your code. It might be a property node. Might be a specific setting you have.
I can make the code in your screenshot all day and not have a problem, so it's specific to either your LabVIEW install or your code.
Your first step towards figuring this out is find all references, property nodes, and invoke nodes for this graph and pinpointing the problem. Remove each one-by-one, starting with the ones that have something to do with Active Plot or multiple graphs, until the freeze no longer happens. Then send a detailed bug report to NI to fix it for future versions.

Similar Messages

  • Reeal-time 3D graph with multiple plots

    Hello,
    I realise this is a very complicated question and I would appreciate any healp anyone could give. I am trying to:
    1- draw a 3D graph with three plots (plots are from coordinates read from XL)
    2- do it in real time, so that only one point from each plot shows at a time (the previous points disappear)
    Can anyone help me out? I looked at Sarah's advice and I got as far as the program that I have attached. I have also attached an XL sheet with random values (actually I didn't have any luck attaching two files).
    I would appreciate any response!
    Thank-you,
    Confused
    Attachments:
    3D graph.vi ‏127 KB

    IBAHKA wrote:
    Could you look at this new and improved (yet not perfect program) and help me out?
    Issues:
    Why do the axis all change and why aren't the points drawn all at once? ALso, is it possible to retain in memory and plot more than one point from each plot at once?
    The axis are changing because you didn't ask for constant scales. Just right-click on the 3D graph indicator and go to CWGraph3D/Properties... There a pop-up window will give you access to a number of settings. Explore. You will find how to allow the user to pan/zoom/rotate the graph, and to disable autoscaling...
    The points are not drawn all at once because you pass them one at a time!!! To plot several points at once, you have to build an array with the proper number of points (initialise first) then you can rotate the array after plotting, and replace the first point at the next iteration.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • How to add multiple plots programtic​ally to XY graph.

    Hello,
         I am new to Labview.My code is reading Voltage value from no. of Power supply & storing in 1D-array of string. No. of power supply will depend upon user selection. Now I want to plot all these Voltage's value to XY graph,in which X is time stamp at which  value is read & Y  is Voltage value.
            Please suggest me a solution to add multiple plots programtically according to the no of power supply, so user can have a one XY Graph with multiple plots of  Voltage's value of each Power supply.

    Better hide from the front panel. In my projects user used to had 6 plot at the maximum. Before plotting I used to ask how many parameter you want to plot. All the time I used to plot 6 plots only but visible according to parameter selection done by user.
    Here is what I used to do
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet
    Attachments:
    Plot.jpg ‏215 KB

  • Constraining the algorithm for assignment of multiple plot colors

    I would like to know if there is some way to modify the algorithm that
    LabVIEW uses to automatically assign different colors when a graph
    displays multiple plots. In particular, given the default background
    color (black), it appears that black is never used for a plot color.
    However, if I programmatically change the background color to white,
    for example, I would like the plot color assignment to not use white. I
    would also like to know if it is possible to constrain the plot color
    assignment to a single color a priori, without having to go back and
    explicitly assign the colors of each plot via the property node in a
    loop.
    Thanks.
    Lyle

    I think you will have to create your own plot color assignment function to do this.
    You can set the color of each plot by using the active plot property (index of the plot you want to change) and then set the plot color property (just expand one and the same property ndoe to set both at the same time).
    You can then make that function check the background color and choose a color table that fits. If this is in a built application you would run this function when a color change is detected, if it's in the development environment you need this feature make the function ask for a VI and plot name (so that it can get a reference to the plot) and put it in your projects folder. That way whenever you need to set the plot colors differently you just select this function from the Tools menu of LabVIEW. An easier alternative though would be to just create the different graphs you need (with the colors for all plots already defined correctly for that background etc.) and save them as custom indicators...
    MTO

  • Using LabVIEW to Generate an XY Graph of Multiple, Indexed Plots?

    Hello,
    I have written a LabVIEW Program (using 8.2.1) to characterize FETs using GPIB instruments. At it's most basic level, the program sets a voltage across the Gate-Source terminals of the FET, sets a voltage across the Drain-Source terminals of the FET, reads this second voltage, and then reads the Drain-Source current. The Drain-Source voltage is then increased, the current read, and so on. In this manner, the Drain-Source voltage is swept from 0V to some defined maximum (dependent on the FET being tested) and an array of data (I_{DS} vs. V_{DS}) is generated. The Drain-Source is then reset to 0, the Gate-Source voltage is increased, and the entire process is repeated.
    My problem is this: I need to generate a single Graph  (I think it should be XY, but not entirely certain), that plots all of these IV curves (each curve for each Gate-Source voltage) and indicates the Gate-Source voltage for each curve (in an indexed legend of some sort). Does anyone have any suggestions about how I should do this? My program is entirely based on For Loops and Sequence Structures. If you need a screen shot or want me to upload the program, please let me know. Fair warning, though: I am a LabVIEW novice so while the program functions correctly, it is not the prettiest in the world.
    Thanks for any help you can provide.
    Michael
    P.S. I searched the forums and didn't find this question already posted. If, however, it was and I just missed it, could someone direct me to it? Thanks.

    Vincent, Jon, and Andrew:
    I still need some help. I used the 3524.vi Example for the XY Graph: x-array, y-array definition to generate the kind of multiple plot xy graph that I needed. My problem now is I would like to re-index the plots so that they are labeled according to the Gate-Source voltage I am applying. Each curve has its own, distinct Gate-Source voltage and I would like to label each curve with its Gate-Source voltage. Currently, the plots are labeled in the legend: Plot 0, Plot 1, Plot 2, ... Plot n.
    How should I go about doing this (is there even a way to do this)?
    Again, any help would be greatly appreciated.
    Michael
    P.S. I have attached a copy of my program to this message. As I said, it isn't pretty, but it works so far. Hopefully this will help you in forming your suggestions.
    Attachments:
    FET Characterization Program (V2).vi ‏100 KB

  • How to Send Multiple Plot XY Graph from LabVIEW to Microsoft Excel

    The link below describes exactly what I would like to do, however the link to the solution/work around does not work.
    Has anyone got an alternative solution?
    http://digital.ni.com/public.nsf/allkb/CFD30D5E9C01AB5386256CFB0082AF3E

    Please check the link again as it seems to be working fine now.
    How to Send Multiple Plot XY Graphs from LabVIEW to Microsoft Excel:
    http://digital.ni.com/public.nsf/allkb/CFD30D5E9C01AB5386256CFB0082AF3E
    The standard Excel Insert Graph.vi cannot insert multiple XY Graphs to Microsoft Excel, so you will need to use the Report Generation Toolkit for Microsoft Office.  You will find a link to an example program at the bottom of the page.  I have also attached it below.
    Attachments:
    example.zip ‏35 KB

  • Turn off a single plot of a multiple plot waveform graph

    I have a multiple plot waveform graph (4 plots). I want to turn off one of the plots, say plot 2. Is this posible from the graphs property node? The property node seems to only give a reference to plot 0. I am using labview 7.
    Cheers,
    Wayne

    I think you can use "active plot" together with "plot.visible"
    property node to control which one you'd like to display. By default,
    the property node refers to plot 0, but you can change to plot 1 or
    other plots by changing active plot property node. You can search
    "Plot" in LabVIEW Help if you'd like to know details.
    Good luck,
    Jian
    On 18 Feb 2004 03:28:49 GMT, [email protected] (Computerman74)
    wrote:
    >>
    >>I have a multiple plot waveform graph (4 plots). I want to turn off
    >>one of the plots, say plot 2. Is this posible from the graphs
    >>property node? The property node seems to only give a reference to
    >>plot 0. I am using labview 7.
    >>Cheers,
    >>Wayne
    >>
    >>
    >>
    >>
    >>
    >>
    >
    >I would love to know if this is possible. I have been trying to figure i
    t out
    >myself.
    >There is a way to turn a single array off and that is what I am doing for now
    >untill this is possible. The plot is still there but reads zero when tunred
    >off. It would be cool to have the abillty to turn off a single plot.
    >I have tryed all the property nodes with no luck. The answer may be in the
    >array size but I can't seem to control that either.
    >For now you can use wire all 4 channels using the comparison select. Use a
    >constant of 0 And wire up a swtich. When the input is false the output is zero
    >in effect making the plot inactive but it still there.

  • How does one change XY Graph Plot.Style property defaults OR Change the Properties od Individual Plots?

    I have an XY graph with a variable (known) number of multiple plots. Because the number of plots can vary, the plot style is sometimes not what I want. I'm trying to use a property node in a for-loop to change the Plot.LineStyle, Plot.PointStyle, and Plot.Fill/PtColor properties for each of the plots in an XY graph. However, perhaps because the names are not static, the colors do not seem to be updating as I'd like, and I'm really unsure as to why this is happening. Strangely, the LineStyle and PointStyle do seem to be updating as I'd like.
    Please see the attached ScatterColors.zip file which contains the main VI in question (SplitInGroupsScatterByOrder.vi) and two sub-VIs on which it depends. Thanks in advance for your help
    Solved!
    Go to Solution.
    Attachments:
    ScatterColors.zip.zip ‏32 KB

    Hello Pierre,
    This dynamic color feature is still not present in 2009, much less 6.1. I have linked a discussion forum post here that discusses in detail a work around for addiing this functionality. While you may not be able to open their example VIs, the theory is described; such that, you may attempt to replicate in 6.1. 
    Hope this helps. 
    Patrick Corcoran
    Application Engineering Specialist | Control
    National Instruments

  • Multiple Plots & Scales On 1 Graph

    Hi
    In one waveform graph how we can plot two data with different y-axis i.e.. Multiple plots in one graph
    thanks

    Hi Husssey,
    "right-click" is your friend!
    - Right-click the Y axis and select "duplicate axis" to create an additional Y axis. Now right-click that new axis and select "swap side" for your convenience...
    - Show the plot properties. Right-click the plot and select your "Y axis" to attach the plot to...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Combining multiple plot data into a single graph.

    This is my current data structure:
    1D array of...  (contains 6 plots, each with their own x and y arrays)
    A cluster of two elements
    1D array of I32
    1D array of DBL
    A cluster of two elements
    2D array of DBL  (y points for multiple plots)
    1D array of I32  (x points for the multiple plots)
    I need to combine these into something suitable for throwing at an XY-Graph.  This operation will need to be done three times (for three different graphs), where only the 2D array of DBL is different for each graph (all three 2D arrays are located in the same cluster along with the shared 1D array).  What is the best way of doing this?
    The 1x6 array of clusters contains plots 0-5 for each graph.  Is there a way to hide these plots from the graph's legend?
    Never say "Oops." Always say "Ah, interesting!"

    J.Mamakos wrote:
    I need to combine these into something suitable for throwing at an XY-Graph.  This operation will need to be done three times (for three different graphs), where only the 2D array of DBL is different for each graph (all three 2D arrays are located in the same cluster along with the shared 1D array).  What is the best way of doing this?
    Sorry - this was actually a bit wrong/incomplete.
    Graph1 includes one 2D array of DBL against the 1D array of I32.
    Graph2 includes elements 2-3 of the 1x6 array, and also one 2D array of DBL against the 1D array of I32.
    Graph3 includes elements 4-5 of the 1x6 array, and also one 2D array of DBL against the 1D array of I32.
    This is how I'm doing it at the moment, but am I missing a trick here?  Is there a better way?
    As for my question about hiding any plots (on the legend) that came from the 1x6 array, is this even posible?
    Either that, or is it possible to hide a graph whilst leaving its legend showing?
    Or can one show/hide a graph's label in run-time?
    Never say "Oops." Always say "Ah, interesting!"

  • How can I change the legend of a plot in an excel chart using LabView?

    Hi,
    My question is:
    I create a chart in Excel with LabView7 using ActiveX. There are 4 plots in one chart. How can I rename the legend (the name) of each plot with LabView?
    Thanks.
    Michi

    Use the SeriesCollection(1).Name function. In LV, wire up the following:
    _Chart into Method SeriesCollection (index = 1 to 4)
    Cascade into Variant to Data (wire type Excel.Series)
    Wire Series into Property Name, Write the string
    Michael Munroe
    www.abcdefirm.com
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • Plot X-Y graph with multiple y values on same x axis

    Dear all,
      I have written some vi on a small part of my application. Basically, every 20 sec, I will acquire a set of readings (array) consisting of 10 data points known as T1. So at every timestamp, there should be 10 datapoints plotted on the same timestamp. Then 10 sec later, another timestamp with again 10 datapoints. I wanted the data to be plotted and updated every 20 sec and continue till I stop the program. At the end, I hope to see 10 horizontal lines.
      I face some problems now and hope someone can help me on this? The problems are how do I plot the 10 datapoints at every interval of 20 sec. How do I also keep on updating the data? I know I need to build arrays but I am not sure how to do it.
      Someone who knows please kindly help me on this as I have been trying but to no avail.
    Solved!
    Go to Solution.
    Attachments:
    plot.png ‏69 KB

    Dear All,
    I have tried the program again. But there is still some problems.
    How do i create the time interval of plotting the 10 datapoints every 20 sec interval. Meaning how can i plot 10 datapoints at one timestamp and another 10 datapoints another 20 sec later?  Right now it seems that if i introduce a delay of 2 sec, the graph will be plotted 2x10= 20 sec later. However i want the scan rate to be 20 sec. If i set the delay at 20sec, then i will have to wait for 20x10=200 sec right? Is there a way to make it plot every 20 sec interval interval but not 2 sec scanning rate?
    Right now, the x-y graph will refresh itself after 10 loops. However i also want to keep the previous datapoints (plots) in the previous timestamps also and it should be continuing since i started the program . How do i modify the program as i think i need to use build array function and shift register somewhere.
    Can anyone assist me on that? Thanks! 
    Kudos! Thanks!

  • Multiple plots in graph-How can I select which plot appears before the others

    I am displaying two plots in a graph and one plot tends to cover the othe one. How can I make the hidden plot appear in front of the other one?

    the above paragraph is illustrated in the attached image.
    Joe
    Attachments:
    Snap1.gif ‏3 KB

  • XY Graph overlay multi plot with different colors

    Hi,
    I want to do a cyclic X-Y plot in a for loop and plot the graph for each cycle in different colors.
    I want a plot like XYgraph2 but with different colors and probably even without that tracing line. How do i modify my diagram?
    Thank you for your time and efforts.
    SUCHIT
    Suchit Shah
    Graduate Student
    Electrical & Computer Engineering,
    Northeastern University,
    BOSTON
    MA 02115
    Certified LabVIEW Associate Developer
    Solved!
    Go to Solution.
    Attachments:
    block dia.JPG ‏45 KB
    front dia.JPG ‏122 KB

    Hi all! This is my first post
    My name is Francesco and I'm programming a keithley for measure some FET
    using labview 8.6. I plot my output data on a XY graph but I have several curves,
    one for each value of Vgs. Looking in your forum I've found the code
    MultiplePlots.vi (21 kb) posted by Darin.K about a month ago that use Multiple
    plots and it is perfect for my goal because with this I can plot every curve with a
    different color. The only problem is that I like to plot my data in real time.
    The code, however, use a Loop with N=50, accumulates the values on the edge
    and plot at the end of the Loop the entire line.
    My question is if someone can explain me how to modify the code to plot the line
    point by point, so in real time and not at the end o the loop because I need to see
    the current values during the measurement and not only at the end.
    I think that I need to move the XYgraph inside the loop. I try but without lucky.
    Can anyone help me?
    thanks and sorry for my very bad english.
         Francesco

  • Acquiring Analog Input from Multiple Channels in Labview

    Hello,
    i am working on a VI where i need to acquire signals from multiple channels in Labview using NI-9129.Initially i want to acquire contineous input signals (voltage and current) and display it on the graph.
    Having looked at forum and Labview examples i tried to make an initail VI but i am not sure if the setup i made needs any modification to serve my purpose.I am fairly new to Labview software.
    All i want is
    1.To acquire conteneously current and voltage 
    2.Display current and voltage individually on the graph.
    3.Perform some basic calculations like MAXIMUM,MINIMUM and AVERAGE values of voltage and current.
    4.Log the data into  excel file
    I have attached the VI i made so far.i need abit of advice if i am moving in the right direction or not.
    Thank You for having a look at my question.
    Attachments:
    Voltage-Current VI.vi ‏81 KB

    Engr_tech wrote:
    i think i already have the tdms for  data logging.as far as the tdms data logging is concerned,when i enable the logging mode to "read and log" the data logged inside the excel sheet would be seperate for current and voltage.?
    Is it practically possible to acquire data from 4 different channels and plot them.if yes,then am i right to assume that all i need is to modify the current VI for four channels having all of them in parallel.
    Yes, you are logging directly to a TDMS file.  This is definately the best route for data logging from a DAQ.  The currents and voltages will show up as different channels in the same group.
    To add more channels, just add them to your DAQmx task.  The logging will handle it with no issue.  Your calculations will also a little work to add the extra channels.  Same for the graphs, since you are using seperate charts.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for

  • FIND doesn't find my pattern

    Hi all, I'm using function FIND `##` IN l_text MATCH OFFSET l_off. to search the pattern '##' in string l_text. But the function fails and returns sy-subrc = 4. The pattern '##' is definitely included in l_text. What am I doing wrong? Regards, Domini

  • Returning String data through argument

    I need to write a method to call the following method: int myFunc(char *buf, int code); Where I need the return value integer and I also want to get back the char * as a string. I am thinking the most straightforward thing to do would be: public nati

  • Evaluate_Analytic function not working with VPD enabled

    Experts, One of the column formula has evaluate_analytic function in the report. The report works fine with no errors when Virtual Private Database is not checked in the Physical Layer's datasource object, but the same report fails with the below err

  • Final cut pro x not opening in yosemite

    I am running OS X Yosemite version 10.10 on a Mac Book Pro with Final Cut Pro X version 10.1.3.  Every time I try and open Final Cut it crashes as soon as it opens.  I have removed the app by placing it in trash and reinstalled the app with the same

  • Getting started: Splitting video, simple titles/credits

    I'm a brand-new owner of Adobe Premiere Elements. I'm a huge fan of Adobe products, though, and am an experienced Photoshop user. What I need to do is very simple: 1) Split approx. 30 minutes videos into  2-3 parts (10-15 minutes in length, depending