Jump to content


Photo
- - - - -

2011 graph problems

bug 2011 graph

  • Please log in to reply
6 replies to this topic

#1 JoeQ

JoeQ

    More Active

  • Members
  • PipPip
  • 33 posts
  • Version:LabVIEW 2010
  • Since:1986

Posted 09 July 2012 - 01:06 PM

It looks like a new feature was added that allows you to select which data sets are to be displayed on a graph. I have manually done this with many of my programs and saw this was going to be a real time saver. If you enable autoscale Y and switch between data sets, the autoscale does not work. You have to add a property to detect the change and then force a refresh. Still it's cleaner than what I was doing, but wish it fully worked. To enable this feature, just right click on the label and make it visible.

graphselect.jpg

Also noticed that if I dynamically change the labels on a digital graph using properties, that these do not get updated until I stop the program or drag it off the screen. The only work around I found was to turn off the graph then turn it back on. You can reproduce this problem without coding anything. Beware if you try and play with the digital graph properties that you save your work first. You may get something like this:


graphattrib.jpg

#2 JoeQ

JoeQ

    More Active

  • Members
  • PipPip
  • 33 posts
  • Version:LabVIEW 2010
  • Since:1986

Posted 18 July 2012 - 03:22 PM

I did open a case with NI about this new feature. They were able to replicate it easy enough but I am sorry to say they will not fix it. They did offer other work arounds.

#3 Val Brown

Val Brown

    The 500 club

  • Members
  • PipPipPipPipPip
  • 702 posts

Posted 18 July 2012 - 07:10 PM

I did open a case with NI about this new feature. They were able to replicate it easy enough but I am sorry to say they will not fix it. They did offer other work arounds.


What were the other work arounds?
All of my objects are byval

#4 JoeQ

JoeQ

    More Active

  • Members
  • PipPip
  • 33 posts
  • Version:LabVIEW 2010
  • Since:1986

Posted 18 July 2012 - 08:23 PM

They just used a node to force a redraw when the graph is touched. Their other option was to just keep refreshing the graph as part of a main loop. IMO, it would be best if they would make all the properties work the same.
redraw1.jpg

Edited by JoeQ, 18 July 2012 - 08:25 PM.


#5 JoeQ

JoeQ

    More Active

  • Members
  • PipPip
  • 33 posts
  • Version:LabVIEW 2010
  • Since:1986

Posted 08 August 2012 - 06:27 PM

I had opened a case with NI about this problem and they said they would not fix it. No big deal as there are a few work a few work arounds. I just downloaded 2012 to try out and now the first check box of a graph no longer is selectable! Really! So I guess the next work around is to not use the very first graph and hide the first checkbox or something similar.

#6 ShaunR

ShaunR

    LabVIEW Archetype

  • Members
  • PipPipPipPipPipPip
  • 2,224 posts
  • Version:LabVIEW 2009
  • Since:1994

Posted 08 August 2012 - 06:50 PM

Have you got a CAR number?
A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort. (Herm Albright 1876-1944).

Founder and general mischief maker on www.labview-tools.com.
SQlite aficionado and websocket zealot.
If it 'aint in LabVIEW, then you 'aint got a clue!

#7 JoeQ

JoeQ

    More Active

  • Members
  • PipPip
  • 33 posts
  • Version:LabVIEW 2010
  • Since:1986

Posted 09 August 2012 - 01:01 PM

That case was closed out but I have entered a new case with them. Using a seperate checkbox to enable the graph will work. You can just lay it over the top as long as things don't move in your panel.