12-21-2015 09:37 AM
Hi Hatef,
on LV2014SP1 I can confirm there is a difference in graph appearance (gridlines) when the x scale is flipped vs. not flipped.
In "not flipped"-mode I get nice gridlines for (nearly) any increment I like. When x scale is flipped I get gridlines seldomly…
I tested using these values:
- x scale range from 5 to 125
- increment in the range of 10 to 40
12-21-2015 02:06 PM
The grid lines are one thing that appear and disappear for some values. But it is odd that reading back the properties that are just set gives different values for the normal vs. invert node versions of the same graph. It is not clear what the "start" value means in this case. It seems to be calculated incorrectly given the beginning and ending axis values.
It used to be that the invert mode was automatic if you inverted the axis begin and end values. When this was formalized into the "invert" mode property it seems that the "start" value for gird lines was not adapted correctly.
It is a "minor cosmetic" bug. But it is hard to work around without going and duplicating all the graphics of graphing.
12-21-2015 04:43 PM
thank you for all friend that answer me and confirm that there is a bug that should be fix
indeed i face with this bug when I am starting to writing one monitoring system for a power plant and in their standard and index data should be show in trend with 7 grid and inverted mode so I start to make a vi to convert labview graph to trend and then i face with this bug now i want to know how we can announce national instrument about this bug? and how Much does it take to fix it I really need to solve this bug for doing my project ?!!
with best regard,
Hatef
12-21-2015 05:06 PM
You get a CAR number (or not) from a benevolent NI engineer, and then you wait. And wait. And wait...
See for instance:
http://forums.ni.com/t5/LabVIEW/Graph-Autoscale-Bug-Feature/m-p/2223860
http://forums.ni.com/t5/LabVIEW/Intensity-Chart-Display-refresh-Bug/m-p/1702574
http://forums.ni.com/t5/LabVIEW/3D-Graph-log-scale-quot-feature-quot/m-p/1516608
In other words, better learn to live with this bug.
12-22-2015 02:34 AM
I can only second that : don't expect this feature / bug to be fixed anytime soon. And try to find a workaround. A hint, to my experience, is to avoid setting all the axis scale properties at once with the XScale.Range cluster. Try instead to set the individual elements in a specific order. I think changing the min and max always triggers an "optimization" of increments, even if you don't want that. Acually, even when you get the desired scale aspect, and even if you disable autoscale, writing data to the graph later WILL affect the scale divisions (increments), no matter what the data are.
I wasted tons of hours years ago (it was LabVIEW 8.something) to get exactly what I wanted in a non-inverted scale. Here is the code I wrote at the time, in case it could help you :
Good luck !
Vincent
12-22-2015 08:23 AM
Even if it gets assigned a CAR (Corrective Action Report) that CAR gets assigned priority and verification. Then it will be assigned a target to get fixed. That target may be deferred depending on the severity, number of people impacted and if there is a workaround. For example a waveform chart bug reported late last century has been indefinitely deferred as being a major rewrite effort for very small return. Bug fixes come out about 1/year (in February) with a new release fixing some bugs every August.
I suggest you look at a workaround. One would be a adding the vertical lines as another data trace in your data.
12-22-2015 11:19 AM
thank you for all friend you get involve with issue and answer me It seem that I have to forget using invert mode for graph for my project and talk with costumer about it I hope they accept that this is not my weak to do it and this is software bug that may national instrument fix it in future
01-04-2016 01:28 AM
hi every body again
I decide to make CAR (Corrective Action Report) for this bug. but I do not know how to make it any body could help about it ?!
01-04-2016 02:26 AM
01-04-2016 03:54 AM
What is your means Dennis about request one