04-28-2011 12:25 PM
I would like to use the 2D Compass indicator, but many of the settings do not save when you save the VI, including the color and size. It seems to reset itself the next time I load the VI. How do I make the my setting sticky??
Thanks
Jeff
04-29-2011 12:28 AM - edited 04-29-2011 12:28 AM
Hi Jeff,
The 2D Compass is built on normal XY graph by XControl. It does not support saving frame color since XControl can not access its XY graph frame color by G code. One workaround is to change the color in the XControl facade (<LVROOT>\vi.lib\Math Plots\2D Math Plots\2D Compass\2D Compass XCtrl\Facade.vi)
The resize problem is a bug in the 2D Compass. Thanks for reporting the bug to us.
04-29-2011 08:54 AM
Thanks, I will try that to change the color. Is there a workaround to be able to change the size?
05-02-2011 10:16 AM
Hi jtw131,
While you may not be able to have your changes stick when you save you VI, you can easily set up some property nodes that control the size and color. Here's a picture of my block diagram that show the property nodes I used to control these properties as well as the VI (saved in 2010 SP1). I was able to set the color of the plot as default (see picture), but when I reopened my VI, I also experienced that the size was different than the value that I saved. Hope this helps.