Graphical evolution Plot legend

I have no problem to change a legend of normal graphics plot with a property node, but I try to show three different sets of data on a graph.  I tried to do a reference of the parcel with the legend of the plot and using the text of the legend.  They should be definable when the VI is running, but the way that I tried to do, I had a reference error (1055 invalid reference).  Defining the Plot legend or legend text would be acceptable if I could just understand.

I try to view 32 spectra, but only use 8 graphics and the name of this particular channel change.  This without a the name of the channel FFT gets presented in the graph, but when I use the power of the spectrum VI I don't have the info from spectrum plugged into anything.  So, I'm bringing my original table of channel name more and try to iterate to take the reference name and the correct pitch channel.

I only extracted the part of my code for this issue, so I hope it's easy to watch what I'm doing.

The first VI and Subvi are functional.  The second Subvi is where I was trying to change the text of the legend.  I tried other things too, but I just wanted to show a way I was trying to do.

I do not have the OAS add on so I can not check your main program. I looked at your sub vi and you do more code that you need. Take a look at my example, I put your 8 graphics in a cluster then used a table of references and tables for your index of chanel. Maybe this can give you some ideas for your program.

Tags: NI Software

Similar Questions

  • the plot legend disappear

    Dear friends,

    I'm using Labview 8.2.1

    Recently I came across a strange behavior of the XY graph. A few times the chart Plot legend Palette just disappear from the tab in which I use this chart. I enclose a picture of this.

    This seems to be a bug. Please suggest any fix.

    Regarding

    Magalie


  • Graph plot legend colors Signal not updated when mixed with the property node

    Hello

    We try to put the colors of the trace of a graph of Mixed Signal using a property node. Although we can change the color of the data in the field correctly, the colours of the plot in the legend do not change until some apparently unrelated operator action is performed (for example, to resize the window or by double-clicking a field name).  Waveform to XY charts don't seem to have this problem.

    Anyone know a work around?  I think I saw a similar topic on the forums earlier, but I'm sorry that I am unable to find it now

    See attached vi.

    Thank you

    -john

    I should probably have joined the last post of VI, but I have has been a thread of error between the two loops.  I also deleted the text you had so I could see the I need to press the button.

  • WPF graphics, display plot marker (with contact information tooltip) on the mouse event

    Hello

    I need display the coordinates of the point of the field when the mouse pointer is positioned top/close to him.

    I already display a ToolTip with coordinates using the code in this LINK (works equally well for graph).

    However, it is not easy to see where the field is selected, especially when you have more than one land close to eachother.  Is there a way to display some sort of a 'marker '?  A bit of as Signal Analyzer?

    Thank you.

    If you want to display a target and the label next to the value as a user moves the mouse over a graphic, a possibility would be to use SetRelativePosition on a slider.

    If you want to just use a marker in the chart and keep the label in the ToolTip, you can set the relative position of a Visual in the Children collection:

    XAML

        

            

                

                ni:Cursor x:Name="cursor" />

                

                Ellipse x:Name="marker" Width="10" Height="10"

                         Stroke="Black" StrokeThickness="2"

                         niPrimitives:RelativePanel.RelativeHorizontalAlignment="Center"

                         niPrimitives:RelativePanel.RelativeVerticalAlignment="Center"

                         />

            

        

    Code

        private void OnPlotAreaMouseMove( object sender, MouseEventArgs e ) {

            IPlot plot = graph.AllPlots[0];

            Point screenPosition = graph.GetPlotAreaPosition( e );

            Point relativePosition = graph.ScreenToRelative( screenPosition );

    // Option 1

            cursor.SetRelativePosition( relativePosition );

    // Option 2

            PlotValue nearestValue = graph.FindNearestValue( plot, relativePosition, query );

            if( nearestValue != null ) {

                graph.ToolTip = string.Format(

                    "Nearest value is at ({0},{1}).",

                    nearestValue.Value.Cast( ).ToArray( ) );

    Point nearestValuePosition = nearestValue.GetRelativePosition( );

                RelativePanel.SetRelativeHorizontalPosition( marker, nearestValuePosition.X );

                RelativePanel.SetRelativeVerticalPosition( marker, nearestValuePosition.Y );

            }

        }

  • The graphic evolution of waveform details updated?

    Hi all, hope everyone is having a wonderful July 4.

    -Very well, so I'm new to labview and find my things around simple things well enough, but not having never taken an interest programming, Im a little behind in the logic of the machine, so I thought I would ask here.

    EDIT: using labview 2009.  Vision package

    The research that I do is to analyze the electron Speckle Pattern Interferometry (ESPI) images and their fringes to observe weaknesses points/potential fracture in different materials and others.  I made a simple VI which allows me to draw a line on the image the ESPI and exit of the intensity of the light to a waveform chart to make it easier to objectively determine the size of the area (area where the fracture is more likely to occur) plastic.

    What I would like is to be able to draw or first set the coordinates of the line, then somehow, be able to move vertically - using just my mouse or a digital controller - and have the graphic waveform updated in real time, as I do.

    Any suggestions?  Ive attatched my programs, one called "line.vi" uses digital input to determine the coordinates of the line.

    Also, since I did not sem to be able to set the bitmap images, Ive uploaded a sample of image here http://img594.imageshack.us/img594/3566/espiimage.png I don't know why imageshack converted into a PNG image if

    Thank you all

    Hi itschad,

    have you read the context-sensitive help for the chart? Here we show what kind of data you connect to draw more than one line on the graph of some...

    "Does a weird issue where once I select the line, the intensity profile keeps itself adding time and time again on the end of the table, so a table that could have initially 100 datapoints, stop of is longer and longer."

    That's how cards work. They keep a story (that you disable constantly). You can set the size of the history buffer. If the default value of 1024 points, it's too much for you, you can cut it to 100 - it is just a right click away... Otherwise, you must use a graph as a graph plots only the points that are currently wired to him (it does not keep a history of previous values).

  • How to set the size of plot-legend with properties?

    Hello

    in the screeenshot I create 10 plots that are displayed in a xy chart.

    According to the number of plots of the legend is updated.

    How can we set the legend is highest of 5 plots and other plots 5 (or more) is visible if you are using the scroll bar?

    Thank you

    Solved.

    Name of the property is under: legend + size + high

  • Draw text on the graphic waveform Plot

    I need to understand how to draw text on a waveform graph during execution. This could be a text box, a picture of the text, a label and an additional plot with text... etc.

    Yes, I know a graph would be better than this, but need to use a graphic for my application.

    The graph is updated every second, and new data are added to the history of the ranking. (Which means that the chart bigger every second) So if I draw the text above or behind the table, I'll have to update their location every second. I'll have to use card to XY Coords in an event, (mousedown or mouseup) to place the text (or image of the text) in the field where the user clicked.

    Step 1 to resolve this problem is to find first class, learn how to draw or text on the plot of the graph area.

    Does anyone have ideas of how this could be accomplished, or some ideas of a sneaky work around to make this work?

    Example:

    Unfortunately, graphics (graphic and graphic waveform XY) have support Annotation and slider, exposed programmatically through properties, but the array of waveform is not.

    What you could do is to place an indicator of 2D image that corresponds to the size of the chart above.  Make the value of the image that you draw be transparent and just print the text with transparent backgrounds.  However, I do not know the considerations on the performance of it - many times user interface elements, overlap (portions of even transparent) can cause problems of performance due to forcing redesigns... then again maybe a graph is always be redrawn in any case.

  • Waveform multiple graphics "bunk plots" with limits

    Hello world

    Here's my problem, currently I have 4 waveforms 'associated' with the "Build Array" function and connected to a waveform graph.

    I use the option "stacked plots" in order to have 4 curves with only a category axis.

    What I want to do is add a line of upper limit for each curve.

    Thank you very much in advance for your answers!

    Hi GoD_AsS,

    Use the classic palette tables. Make their border/background transparent and using a decoration as "frontier" for all 4 of them...

  • Graphical evolution of waveform changes during execution

    Hello

    I'm just started learning Labview graphical programming. It's so interesting that text-based programming.

    The first issue is of course acquire analyze and display. But on the screen how to change the X axis and Y, scale of the axes during execution values.

    Maybe you should b a little more clearly what kind of values you want to change. (range, offset, multiplier, etc..)

    For example, to change the interval-y, yscale user property...... minimum or maximum range. The interval-x is a little more complicated, because you're dealing with a graph, when the x offset the changes automatically the history buffer is updated.

    Of course you must also make sure to disable autoscaling, else it will be for the next update.

    You can also change the formatting of the x axis. at the moment you show zero decimal digits. Also an axis 'style' with a few values more would be better.

  • Graphical evolution type at run time (by selecting the type of graph in drop dowm)

    Hello
    Currently I'm showing a chart bars. I want to have an option that the user can select the type of graph in a drop down. For example if he chooses the pie and pie chart is displayed. Is it selects the graphic line and graphic line is displayed. But I don't want to provide the button 'Edit' for the user.
    No idea how I can make?

    Thank you

    Issa Khan

    Hello

    Use view selector

  • Graphical evolution of positions programmability

    Is there a way to change chart position based on a State of your VI? For example: I want to spend two charts based on a type of test. The cards are of different sizes. I know I can just wire the cards in my code, but what changes should I make labels and others? Are there property nodes to change the name of the maps?

    As far as I know that the VI must be in edit mode to change the label name. You can use the nodes property to read and write the real position that your chart is currently and to set where you want it to be. This can occur during execution. If you want to programmatically change the names of the cards, you must have something like a second VI which runs and changes your main VI when it is closed and changes the names there by property nodes and other. It's a huge (but fun) pain.

    You can even stack the cards on top of the other and just change that is visible (it's probably the best way to do what you describe). It is also something else you could do perhaps use an indicator of string to contain the name of your chart.

    anyway I hope this helps!

  • Can I detect a change of name of plot event in a legend of the plot?

    I want to update a configuration file, if a user changes the name of a conspiracy in the plot legend.

    Events, I see plots are: value change, the change of range autoscale, plot attribute change and change of range of scale.

    Change of attribute plot doesn't seem to understand anything like on behalf of the parcel, and others obviously do not contain this info either.

    Is it possible to recover this event?

    Thank you.

    Jordan

    First of all, remember that there is no simple way to encode anything, so I can offer a possible solution for you, but it certainly isn't the only one.

    LabVIEW has no property to check if the name has been changed through a structure of the event, but you can create your own LabVIEW can read events. I found this really good which may help you. Read this and mess around with it and see if it gets you anywhere: Creation of user events

    Once you get to trigger the appropriate, then its just get this deal to update the file you want.

    Another possible workaround solution that isn't ideal, is to create a chain control and who have to be on top of the name of the parcel. You would be able to produce then an event in this chain, change the value.

    I hope this helps.

  • How to create a graphic band with difference Y-scales

    There is a plethora of examples for charts and graphics including maps of mixed signals.  Maybe I'm missing the point, but I can't find what I want.  I would like to draw two different wire signals from the time signals are separately autoscaled on axis y.   This is an example of sketeched attached hand.   I need to plot the results of a device under load in Lbs and show the comparison of a sensor of moving in inches.  Is this possible?  I prefer not to use the stacked plots.  I use LV 2009 SP1.

    Thank you

    Dave

    An image is quite difficult to debug. Assign you the Red plot to scale by clicking on the legend of the plot. Your chart has no visible plot legend.

  • active route graphic XY property settings not working not

    I put the xy chart mapped properties manually, and they seem to work. However, when I try to set them in the program they go back to manual settings. What is going on?

    I went to the chart and fact plot legend visible and extended a parcel to 3. This is what I did. Now, it seems to work correctly. It's been a long time that I had to really know fancy with a chart, but I don't remember having to do this. My memories of graphic properties were that they were a little more dynamic.

  • Stupid or Smart error in LV2010 bar plot?

    A new feature for LV2009/LV2010 is error bar plot. But I have the following problems for this new and I was wondering if someone can help me to solve it:

    1: I can't directly copy error bar plot in ppt or word file.

    2: I can first export of the plot of bar of error in an image file, then import it into the ppt/Word file, but a big problem, it's the plot legends are lost. The legends of the plot are essential to a conspiracy which several cureves information. and I can't find a way to solve it.

    Grateful if someone can give me some solutions how can I copy/import the plots including the legends of tracing error bar in a ppt/Word file. Thank you

    Alex

    You can use the Get Image and save it to .png (.gif or .jpg):

    EDIT: Note that, because of the way extracts work, the code snippet included a control reference. You can simply create the method directly from the command by right-clicking and selecting create-> node invoke-> get Image.

Maybe you are looking for

  • Iphone6 & mini iPad can't send Hotmail

    Hi, I have tried everything to fix this, deleted account, changed the password and checked the settings without result! Does anyone know of this problem and how to fix it? See you soon Dangerduck

  • Make messages by default SMS app when not on wifi

    Hi all. I just had a question about iMessage. I have a 6 s iPhone running iOS 10.0.1. I have no data. I love the new iMessage, and I would like to try it out, so yesterday I turned on iMessage. However, I was in a place with no WiFi, and one of my fr

  • I want a new Apple ID but I'm afraid of losing things

    Hello I want to clean new start with a new ID and e-mail of any new but I bought a lot of music and an app. I changed my ID before Apple and was somehow able to listen to music I bought on my phone. So I was wondering if I wanted to remove my current

  • Firefox Inspector not to focus on the element by click on inspect.

    The new firefox for developers is out, I downloaded and used as your primary browser.However, I discovered that the Inspector not to focus or show the direct element that I inspected. He just open the inspector window & show the tag of the whole body

  • Write to spread generates file of journal of type unknown file in windows 7.

    Hi all, I use the Vi 'Write in a spreadsheet file' for writing data in text files. These data can be read by any text editor, such as Notepad in MS, or excel. The problem is that Windows detects these files as being of an unknown type, and I have to