Strange Fonts in labview graph's plot legend.

Hello All,
    I am running labview 7.1 on a Windows XP machine and
the default and only language is English (US). Verified this under
Control Panel > Regional Settings.
    When I run a VI, I get strange fonts in the plot
legend. They keep updating as the VI runs. Here is a screen shot of the
plot legend:
I change the font to something I can read, save the VI and run it again
and it automatically changes to this unreadable font again. Any ideas
on what I can do? Thanks.
KB

Is it just the font that is off, or are these actually non-printable characters?
Are you graphing e.g. dynamic data types? Do you possibly have weird names for your signals?
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How to Generate Event on change in Plot Legend for XY Graph

    Hi,
    I have two XY graphs on the front panel and would like to maintain a common plot legend such that any change in the plot legend affects both graphs.
    Objective: I would like any value change in plot legend to fire an event.
    How do I program that?
    I know of value change event for the graph but am unable to find something specific to the plot legend. Other option is to have the user press a "refresh" button that will fire the event.
    Feel free to share thoughts on other elegant methods to achieve the same objective.
    Thanks,
    Gurdas
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

    Hi Sarah,
    Looks like you are talking of exactly what I want!
    I have attached a sample VI to try achieve what I want. But it still has some issues which are:
    1) I am unable to configure a Plot Attribute Change Event. I have used a mouse leave event instead. How does one configure a Plot Attribute Change Event?
    2) Is there no single property which will transfer all the settings of plot legend from one graph to plot legend of another graph? In my sample VI, I have to read each property of the master graph and feed it into the slave graph.
    Kindly note I am using LV FDS 7.1 on Win2000
    Thanks,
    Gurdas
    Message Edited by Gurdas on 03-27-2006 11:51 PM
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu
    Attachments:
    Graph_PlotLegend_Event.vi ‏45 KB

  • Plot legend customization bug in 8.5?

    If someone can confirm this for me, I would appreciate it.
    I have 2 issues which I think may be based on the same problem:
    1.  Take the attached control and insert into a LV 7.1 - 8.2 VI.  The plot legend should have the system box instead of the 3D decoration.  Insert the same control into 8.5.  It changes back to the default 3D decoration.  This doesn't appear to happen all the time, as this control properly inserts itself into 8.5.
    2.  The customization of the plot legend is not working properly.  Take any of the attached controls, or use a standard Waveform Graph.  Customize it.  Go into customize mode.  8.5 has taken away the old method where you can simply right click on a decoration of a sub-control and replace it.  But, you can select the sub-control and go to Edit->Customize Control, then replace the decoration.  You can see this works with the Cursor list and axes list.  However, when you select the plot legend, and go to Edit->Customize, LV doesn't do anything.  No error beep, no nothing.  So the plot legend cannot be customized.  I see this behavior for charts, grpahs, and XY plots.
    Message Edited by Matthew Kelton on 11-05-2007 02:47 PM
    Attachments:
    Waveform Graph lost plot legend customization.ctl ‏26 KB
    Waveform Graph kept plot legend customization.ctl ‏12 KB

    OK, I will post more pictures.
    So, I try to customize the standard waveform graph in LV, but right-clicking on the plot and select Advanced-> Customize or Edit->Customize Control form the menu.  Go into Customize mode.
    In 8.2 and before, you used to be able to just right-click on the decoration for the plot legend and replace it with something from the clipboard, etc.
    In 8.5, this functionality has been removed.
    However, you can select the item and go to Edit->Customize Control (I show it here for the cursor legend, as it works).  You get a new control window.
    (Continued in next post)
    Message Edited by Matthew Kelton on 11-06-2007 03:23 PM
    Attachments:
    cursors customize.png ‏15 KB
    customize dec 8.2.png ‏12 KB
    customize dec 8.5.png ‏11 KB

  • Waveform graph plot legend in labview 8.5 won't respond to arrow keys?

    I heard labview 8.5 fixes most of the problems that plague 8.2, so I recently installed it to try it out and see if it is worth the effort of another upgrade.  Messing around today, I found an issue that wasn't related to the installer itself.
    The plot legend on a waveform graph doesn't appear to respond to arrow keys for precise placement.  It doesn't matter whether auto-size plot legend is turned on or off.  When I want to place a plot legend very precisely, just like with any other labview control I like to use the arrow keys to get things perfectly aligned.  I want to make the plot legend perfectly in the corner of the graph but its very hard to get it placed right with just the mouse.  In labview 8.5 it seems like plot legends no longer respond to arrow keys.
    Can anyone confirm this or know of a way to precisely place the plot legend in labview 8.5?
    -Devin
    I got 99 problems but 8.6 ain't one.

    Ben,
    I checked the snap to grid hypothesis. Even when activated the arrow keys still allow an accurate positionning of the objects at pixel level.
    That's so nice that I changed my setup. I now have a reasonnably large spaced grid (50 pixels) with an invisible grid (contrast adjusted to zero). That should make object positionning and dimensionning much faster than before.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Automatically labeling plot legend using XY Graphs?

    I want to plot:
    Time Amp
    1       2
    2       4
    3       9
    How do I get the legend to automatically say Amp, instead of Plot 0? I went to property node -> legend and I don't see any option
    that would read the "column" header and label the legend accordingly.
    In my example, the X array (Time) and Y array (Amp) are fed into Bundle which is then fed to the XY Graph input. The X array (1,2,3) and Y array (2,4,9)
    obviously carry no information about their respective column names (Time, Amp). So, the legend must read this information separately, but I don't know
    how to feed this information to the plot legend. 
    Solved!
    Go to Solution.

    You simply need a property node for "plot.name". You have only one plot, so the following is sufficient (of course you would replace the string diagram constant with whatever you read from the column header in the file)
    (If you have several plots, you would do it in a loop, setting the active plot from the iteration terminal, first, then writing the name)
    Since this is an xy graph, I would actually hide the legend and simply label the two axes according to their header. This can be done in a similar way with property nodes. See if you can figure it out.
    (Of course if the labels never change, enter them once manually and they will be saved with the VI. No code needed.)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    SetPlotName.png ‏3 KB

  • How do I programmatically change the plot legend names on my xy graph?

    I have a need to change the names/labels on my XY Graph's Legend at run time.  This is because plot 0 is not always the same set of data.  I have searched high and low for a couple days now to no avail.  The closest thing I've seen is overlaying a string over the plot legend, but I would prefer to do change the property of this box.  Any help would be appreciated.

    Hello Ben,
    with waveforms this also works for me fine. So where is the pitfall? (if always all works fine, one don't really gets experience)
    greets, Dave
    P.S. @ J.B. I used the Code Capture Tool from the Starware Thread, this made me so fast. If I could do, I would give it five stars each time I use it.
    Btw. would it be possible to programmatically give ratings with LV? Here it should be used. Thanks again to tst & the others
    Message Edited by daveTW on 06-14-2007 09:13 AM
    Greets, Dave
    Attachments:
    Example_FP.png ‏5 KB

  • Rotate Plot Legend of XY graph

    Is it possible to rotate the plot legend so the letters of the plot names run from bottom to the top rather than across the operator interface?
    The names for my plots are bigger and I need to show at least four plots at the same time. Putting scales to the right/left/above or below without rotating may cause a shorter XY graph! 
    Any ideas for me?
    Regards
    K Waris
    Solved!
    Go to Solution.

    Hi,
    I don't know if there is a native way to do it, but you can "cheat" to do that:
    You can move the array where the legends are, or even make the array grow into lines instead of column.
    Is the idea ok for you?
    Giuliano Franchetto
    Student at the l'Ecole Nationale Supérieure des Mines de Saint-Etienne, cycle ISMIN (FRANCE)
    Attachments:
    up to dowm legend.vi ‏17 KB

  • Changing Graph Plot Legend

    I have no problem changing a normal graphs plot legend with a property node, but I'm trying to display three different sets of data on one graph.  I tried doing it using a plot reference with the Plot Legend and using Caption Text.  They should be settable when the VI is running, but the way I was trying to do it I got a reference error (1055 Reference Invalid).  Setting either the Plot Legend or Caption Text would be acceptable if I could just figure it out.
    I'm trying to display 32 spectrums, but only use 8 graphs and have the name of the particular channel change.  Doing this without doing an FFT the channel name gets brought into the graph, but when I use the Power Spectrum VI I don't have the Spectrum Info wired into anything.  So, I'm bringing my original channel name array over and trying to do an iteration to pick the correct plot reference and channel name.
    I've extracted only the part of my code for this question, so hopefully it is easy to look at what I'm doing.
    The first VI and SubVI are functional.  The second SubVI is where I was attempting to change the Caption Text.  I've tried other things too, but I just wanted to show one way I was attempting to do it.
    Solved!
    Go to Solution.
    Attachments:
    Part of Analyzer - Displaying Graph Legend.vi ‏1432 KB
    Calc Channel Indices 1_35.vi ‏27 KB

    I don't have the SV add on so I can't check out your main program. I looked at your sub vi and you're doing more code than you need to. Take a look at my example, I've put your 8 graphs into a cluster then used an array of references along with arrays for your chanel indecies. Maybe it can give you some ideas for your program.
    Attachments:
    Calc Channel Indices 1_35 mod.vi ‏766 KB

  • Plot legend

    Hi,
    I use a case structure to display or hide a plot to a xy-graph. It is the 4th plot of the graph, so the plot legend automatically gives its name as Plot 3. Then I change the name to what I want it to be. But after I hide this plot, and then bring it to display, the plot legend go back to Plot 3 again. How I can assign the name to this plot permanently?

    Hi,
    You're not making the name invisible. You're creating a new plot.
    Doing a quick and strange thing (cause i got to dinner), you can solve your problem with the changes that I'de made.
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL
    Attachments:
    Plot%20Legned%20Example[1].vi ‏23 KB

  • Plot legend disappear

    Dear friends,
    I am using Labview 8.2.1
    Recently I came across a strange behaviour of XY Graph. Some times the Graph Plot Legend, Palette just disappear from the tab in which i am using this graph. I am attaching a picture of this.
    This seems to be a bug. Please suggest any fix.
    With regards
    Shourya
    Solved!
    Go to Solution.
    Attachments:
    Graph plot legend palette etc disappear sometimes.JPG ‏89 KB

    Dear friends,
    Thanks for your replys.
    Aeastet - I could not attach the complete code as it is very lage and distributed in many Vi's. However I would like to inform that I am certainly using Local Variables and Property nodes to set somethings on graph. For local variable I just connected History to constant to make the graph blank in the begining. I am attaching photos of all of them for your referance.
    Vaibhav -  Same as above
    Gaurav - I could not open the VI sent by you as it is in the newer version of LV. However please tell if you have done something to correct the problem.
    Attachments:
    Local vaiable Page.JPG ‏10 KB
    Property Node Page1.JPG ‏37 KB
    Property Node Page2.JPG ‏8 KB

  • Aligning Boolean Control to Plot Legend

    Any ideas on how best to align an array of tick boxes against a plot legend?
    I have a 1D array of Boolean controls and I want to use them to enable/disable the plots on a XY graph but I'm having problems getting the controls to line up with the legend text.
    I've tried using element gaps in the array but there seems to be little control of the gap that is used. I've also tried creating a custom control and modifying the control height but I still can't get an exact alignment of the control to the legend text. I've also tried using different fonts for the legend text but it doesn't help.
    I don't really want to use individual controls and would prefer to continue using an array if possible but I can't help thinking I'm missing something obvious!?
    I've attached and example of the problem and would welcome any suggestions....

    Sorry, apparently the resize operation does not survive a save operation. Weird! It looks just fine until closed and reopened.
    Here's an approach that actually works: Just use a plain boolean button and import the appropriate checkbox graphics into the true and false cases, again using the control editor.
    See if this suits your needs!
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    LegendExampleMOD2.vi ‏29 KB

  • How can I limit the vertical size of the plot legend?

    Hi all,
    in my program I use a waveform graph and its plot legend.
    My problem is that the vertical size of the plot legend increases out of my frame and screen if I add too many plots to the graph!!!!
    Is there a possibilty to limit the vertical size of the plot legend and/or to use a vertical scrollbar in the plot legend?
    I use LV 8.2.1 .
    Thanks
    daHans

    You can write to the "Active Plot" property node. The example given in the thread I linked to before shows using this. Did you take a look at that example?
    I'm only suggesting the alternative of an "Active Plot" control if you're trying to give the user the ability to manipulate one of the plots (like color, point style, etc). If you have a lot of plots, and the plot legend is too big, you can provide a numeric control where the user selects the plot, and then additional controls to set the properties for that plot. Not as intuitive as the plot legend, but if that's what you've gotta do, that's what you've gotta do. Attached is a simple example (LabVIEW 8.20).
    Attachments:
    plot.vi ‏21 KB

  • Plots legend arrangement

    Hi all,
    I am design my software front panel.  I have a problem about plots legend. The defaut arrangement is in vertical direction as attachment shown. I want to arrange the plots legend in horizontal direction. I searched  Labview help and did not find the solution. Would you give me some clue? Thanks in advance!
    Lang.D
    帖子被Mechtest在 03-03-2010 07:09 PM
    时编辑过了
    Solved!
    Go to Solution.
    Attachments:
    Plot legend.png ‏5 KB

    Placae the Graph or chart on the front panel and then pull the plot legend horizontally....(when you click on the plot legend and drag the highlighted part of the legend horizontally so that multiple plot legends can be seen.Pull them vertically if you want to see them in vertical position)
    Guru
    Regards
    Guru (CLA)

  • Customize plot legend

    Hello all, I am trying to customize a plot legend. Changing the color to transparent gets me only to the point where the pseudo-3d effect of the surrounding box is gone. How do I get rid of the hole around the plot sample in the legend? I want it to look like a simple plot with, at most, a box around the entire legend. Thank you very much.

    Hello asche,
    I justed tested it:
    I can make everything transparent, so that you only see the text and the line of the legend...
    I only used the color tool to do so.
    Oh wait: to remove the box around the line style of the legend you have to make the border of the
    graph display transparent. It seems to use the same setting: graph fore- and background is the same
    like legend plot style... I made a picture to show this behaviour.
    So it seems that NI has to change a setting in LabView for the next version...
    Best regards,
    GerdW
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    Graph_legend_transparent.png ‏8 KB

  • Plot legend overlapping text

    I have an xygraph (from silver controls palette) (LabVIEW 2012 (SP1 12.0.1f5). I have encountered a problem where the plot legend text overlaps with plot graphic icon image. I don't know the cause of it but it always starts at my boss's end and the only solution that I have is to replace the xygraph with a new one (by right clicking the graph and selecting replace and then a new xygraph from the silver controls paltete. Is there a solution to this problem (autosize legend is turned on).
    This is how it should be (and this is how it starts)
    But this is how it ends up (after inderterminate time)
    Any fixes?
    Thanks in advance

    Right-click on the graph and go to Advanced->Customize.  You will now have the control editor open.  Click on the wrench in the toolbar.  It should now look like tweezers.  You can now move individual peices around.  This is how you can switch the legend text and icon.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for