Problems with XY Graph "forgetting" plot properties
I am having trouble with an XT Graph in my loop.
The graph has 10 plots which at any time can have anything from 0 to ~1000 points, often some plots will have significantly less ploints than others. There is a user selectable option to display all points or just the most recent set.
My problem is that I want the graph to reflect the input data by plotting a single point at the time of an update, so I have a string of points rather than a line.
When I right click the graph and go into properties, I change the point style to solid circle and turn off line interpolation. I then click save these values as default, and save the vi.
However, once I run the vi, the graph always reverts plots 1 to 9 (not plot 0, this stays as I want it) to have no points displayed and line interpolation on.
Has anyone had this problem before? Ho did you fix it?
I know it can be fixed, as I had this probelm a few months ago on a similar vi and after weeks of struggle I solved it, however I just cannot remember how I did it.
Thank you for any help, at the moment I can't post any code. Note that the data the graph shows is all perfectly fine, just the plot properties are being forgotten.
Solved!
Go to Solution.
HI DarraghCorrigan,
In relation to the problem expressed in your initial post:
"once I run the vi, the graph always reverts plots 1 to 9 (not plot 0, this stays as I want it) to have no points displayed and line interpolation on"
This is due to a bug in the LabVIEW software whereby any changes that are made to the plot properties (e.g. to change the colour of a plot) will not be retained, except in plot 0 which is unaffected. Our R&D department are currently investigating this problem so that it can be fixed in future version of the software. The recommended workaround for this problem is to pragmatically set the plot settings at the beginning of the code using property nodes.
As I understand it, this is not the main problem that you are experiencing. If you set up the properties for a plot (using some of the described property nodes) which is subsequently removed or rewritten on an XY Graph, my understanding is that there is no way that LabVIEW can remember and retain these properties.
As you rightly suggested, one way of conveniently overcoming this problem would be to set default plot properties so that when you remove/rewrite a plot and then add it again, it will always default to those properties. Unfortunately, it is not currently possible to do this though it has been recommended as a product suggestion so it is a feature that is under consideration for implementation in future releases of LabVIEW.
I think the issue you need to be addressing is the fact that you are at some point resetting the graph by sending an empty array to it such that all of your properties are lost. If you can find and remove this section in your code, you should be able to overcome your problem.
I hope this helps.
Best Regards,
Christian Hartshorne
NIUK
Similar Messages
-
I have a problem with nokia c700 (forget the secur...
I have a problem with nokia c700 (forget the security code). I can't open my phone and can't check my imei... bored. Please help me restore my security code. Thank you so much.
Life is fun!There is no other way than to get it reset thru' Nokia Care . A proof of ownership (Bill / Invoice) may be asked ...
-
I have attached with my message the report I try to print. It is a Labview 6 vi.
I had no problem with Labview 5. But with Labview 6, the plots are shopped (all the rest of the report is correct). What is printed is not what I see.
The graph is intentionnaly built very large, then rescale to fit page, in order to improve the print quality of the plots. I repeat it, it worked fine with Labview 5.
Thanks if you can help.
Lionel.
Attachments:
Print_of_large_scale_graph.vi 284 KBHi Lionel,
I experienced a similar problem days ago: re-compiling a vi from LV 5.1 to LV 6.0.2 its front panel could not be printed anymore; no error, just a blank sheet.( The mass compile procedure did not reported any error).
The only way to get out from this headache was to re-build the vi in LV 6.0.2, I simply selected all its diagram and copied it in a new vi, saved it and I got print-outs!
Try it.
Good luck,
Alberto -
Problem with colour used in plot legend
Hi I have problem setting the colour for lines at Plot 0 and 15
Here's attached. I am using LV 7.1 Not sure if it carries bug
regards
Clement
Attachments:
plotlegend.vi 27 KBHi Clement,
Did this occur after you had been using the plot and changing properties programatically? Do you have ideas on how you arrived at this? It looks like all the plot properties are set up the same.
Regards,
Clint M
National Instruments -
Problems with 3D graph application redistribution
Hello wireworkers,
i wonder if
someone encountered problems with distribution of application that
uses 3D graph objects. I've created application that uses NI 3D graph
component and created installer with "Enable 3D graph support"
check box enabled. However after installing this application on the
windows machine without Labview two problems appeared: 1) "Error
loading control. A newer version needed. The default settings for the
control will be used." and after it 2) "You have 30 days to
evaluate the Measurement Studio ActivX control..." and something
like that. I don't get it. Why some newer version is required? and
what with that evaluation period?
Have any hints???
Thank you in advance and Merry
Christmas to everyone.
Alex
www.xinstruments.com
Custom Software for Industrial Automation
www.hdrconverter.com
Picture processing made easyHi Alex,
I tried the process you described on my machine using LabVIEW 7.1 and could not reproduce the behavior. If you can clarify the version you were using that will be helpful. I will have to clean a test machine and try it again without LabVIEW installed, and get back with you if the problem appears. In the meanwhile, I found the following KB which, while not referring to the exact same problem you are describing, does address the evaluation message issue. You can try to follow the steps at the end of the KB, and let me know if that worked.
http://digital.ni.com/public.nsf/websearch/1E1FB3C19E8E0A9986256F8D0077D0E6?OpenDocument
Regards,
Aluma G.
National Instruments -
HI!
I have a problem with my program. With this program i want to load a datafile and to display the data from the file on the xy-graph. i want to display 1,2,3 or 4 graphs on the xy-graph. The problem is, when i want to display only two graphs and i push the "... laden" button, a popup will open and ask me for the 3rd ord 4th graph, but i want only display two graphs.
The program should display the data, when there is a path added in the path-element (the white,red,blue or grenn one).
The second problem is, when i start the program and push the "...laden" button and no path added, a popup will open and aks me for files, but the popup should not open!
Could somebody help me???
TNKS
best regards,
peter
Labview 7.1 on Windows 2000
Attachments:
program.zip 30 KBHi,
The function you're using to open the file is automatically asking for a file name when you call it with an empty path connected to the file path input.
So, if you don't want to get the data when the path is empty, you should not call that function.
I've changed your vi to show you.
Hope it helps,
Paulo
Attachments:
Vergleich_XY.vi 93 KB -
Problem printing 3D graph surface plots
I have a LabVIEW vi that I have written that uses 3D graph surface plots. The front panel and 3D plots look great on the monitor. However, when I use the file > print option to print a snap shot of the front panel the 3D surface plot graphs are missing. All of the other controls and indicators print correctly, but the surface plots are missing completely. Any ideas on what may be the cause?
Hi JM,
Do you have Report Generation Toolkit? If so, this looks like it may be related: http://digital.ni.com/public.nsf/allkb/981C98819DBB89FE862569610046CFB8?OpenDocument.
Let me know if this helps.
Thanks,
Dan Richards
Certified LabVIEW Developer -
Printing problem with PDF graphs from preview
Whenever I print PDF files from preview or from safari, some graphs print incorrectly, although they are displayed correctly on the screen. This only happens with black and white figures and either a negative image with the black and white are reversed is printed or the background of the graphic just prints as a black box. Colour elements are unaffected. This doesn't happen when printing the same files using Adobe Reader or Adobe Professional. Any suggestions for tweaking this, or am I going to have to start using the Adobe plugins instead?
Please try it on Adobe Reader version 10.1.0 , Please note that this forum is for Adobe Reader on android and not for PDF Viewer.
-vaibhav -
Problem with WebStart & applicaton parameters or properties..
Ok. I have a WebStart application which is supposed to be launched from a website only (not offline-allowed - even though you seem to be able to launch it offline! grr) and the application needs to take TWO parameters from the website. I am currently using Properties to accomplish this. The website (using Enhydra) dynamically generates a .jnlp file that specifies the correct properties. I can confirm this by DOWNLOADING the .jnlp file and viewing it in notepad. However, when WebStart actually runs this, it's caching the very first JNLP my app was ever launched with, and using THOSE parameters. My question is.... WHY AND HOW DO I MAKE IT STOP. ^_^ This is just another twist in my way-too-complicated-and-painful quest to simply pass some parameters to my application. (another other suggestions on how to simply pass two strings are also appreciated.)
Thanks,
-xanatosHi,
the short answer is leave jnlp.href empty and Web Start won't reload/cache you startup file.
For more details check out the Unofficial JNLP/Web Start FAQ at http://www.geocities.com/vamp201/jwsfaq.html
- Gerald -
Problem with the graph when making DRILL DOWN
Hello
Hierarchy properties when I go to graph
And does DRILL DOWN
At least once time, the graph gets stuck and when I change a parameter, a grapch is stuck
Attached Link
http://youtu.be/3kE3F_Vz2SQ
Does anyone have an idea?
BEST REGARD
GADIHi Shivkumar,
If you right-clic on the time scale you can set the time/date format, I assume this is the way you should follow to add the "day of month in the time stamp.
Hope this help
Message Edité par TiTou le 03-06-2006 09:47 AM
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
Attachments:
Clipboard01.png 20 KB -
When I add a Waveform Graph into the Front Panel, the Block Diagram Window shows it as DBL instead of the usual indicator for the Graph. How can I solve this problem?
Attachments:
Question.vi 9 KBI don't see what the problem is. The default waveform graph type is an array of doubles and that's what your diagram has. If you create a waveform data type and wire it to the indicator, it will change the graph's icon.
-
Hi Experts,
i am using obiee 11g and i build a report using bar graph view.
here problem is in horizontal axis some of my values are missing alternative values are only showing in.
Bars are showing but labels for that corresponding bars are not displaying .
pls help meIncrease the width of the graph something 1000 or so.
-
Hallo
I want to build a XY Graph ( Voltage vs. Current) . Is there anyway to build the Graph without using FOR Loop but only WHILE Loop.
The problem is when I use WHILE alone , I'll get just a point on my Graph .
to Understand what i mean plz take a look on the attached LV
Thank you
Toni
Attachments:
Unbenannt 2.vi 79 KBthank you for your replay
I tried to do like you told me but it dosn't work on my LV , I don't know where is the Problem
can you help me plz
Toni
Attachments:
Messung.vi 177 KB -
Problem with bar graphs in Crystal Report
Hi All,
I am currently working on bar graphs and i am facing problem displaying trend in the graph when there is no data for any particular date.
My X-axis has date and y-axis has data.
I want to display all the dates on x-Axis which is selected by the user.
E.g. User has selected fromDate and ToDate as 1st Aug to 10th Aug and I have Data as follows
08/01/2008 abc
08/03/2008 xyz
08/05/2008 klm
Currently my graph just shows data for 1st,3rd and 5th of August.
I want my Graph to show all the dates from 1stAug to 10thAug on x-axis and it should not only show data where it is but also a blank where data is not present
Please help. Thank you.Hi Tenzin
Following are the steps from where you can change the division of the axes:
Right click on the report.
Go to 'Chart Expert' -> 'Axes' tab.
Select the Manual option under 'Number of divisions'.
Change the settings so that you can get each date on the axis.
Hope this helps you.
Please let us know if you have any further queries.
Regards
Ashwini Yadav -
I'am having problem with a graph property node by using format & precision
I would like to display an amount of data in a waveform graph and to choose the X scale to display absolute time (whitout date information) or scaled decimal value.
Absolute time is a must because the scaling should reflect the acquisition time and not only a value in hour, minute and second.
Using the property node I can choose between 10 differents formats (0-Decimal, 1-Scientific, 2-Engineering, 3-Binary, 4-Octal, 5-Hexadecimal, 6-Relative Time, 7-Time and Date, 8-SI, and 9-Custom).
Format 7 - Time and Date should be a good choice but LabVIEW set automatically system time AND system date without any possibilities to change anything.
Trying format 9 - Custom ends everytime with error 1077 (invalid property value).
Any help to explain me how to use the format Custom or to give me a solution to switch between time (no date) and decimal scaling is appreciate.
ThankIn addition to the Xscale.Format property node, you also need to set the XScale.FormatString (see a little below the Format entry).
Use %<%.0X>T as format string.
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Maybe you are looking for
-
Advice on what plan to signup for MYFICO score for mortgage
I had mortgage lender pull scores in April im around 600 on all 3 reports need about 40 pts ive sinve done some work...got two pfd on collections opened a CC, reports the last two months i know..so my question is i want to monitor my ficoscores but i
-
The page says "File not found" Firefox can't find the file at chrome://tavgp/content/html/tabswelcome.htm. How do I change the website that loads when I click File-New Tab?
-
So first of all this is my first time here and I am very sorry if I forget anything or do anything wrong. I looked for this question and was not able to find it. I would appreciate any help that anyone can offer. Here is some of the information I am
-
I have a question regarding the MacOSXUpd10.5.1 update file. I recently begun to see LOGIN error message come up at start up.. I'm not sure how to get rid of that. I also had issues with my iTunes and decided to run DiskUtility and ran permission rep
-
Do resources in template pages always appear after those in content pages?
Hi everyone. I want 'jquery162.js' in template.jspx appear before the scripts in content.jspx, what should I do? /template.jspx : <?xml version='1.0' encoding='UTF-8'?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http:/