02-08-2013 02:24 PM
Hi,
I have some simple code for a gauge I need that changes the Min & Max Scales based on the current input value. For example, my Min/Max is 0 to 180, but when my input exceeds a value of 70, I want my Min/Max to be 60 to 180. However, I want to use a custom gauge (pictures) so I need the picture of my gauge to flip from one showing 0/180 Min/Max to one showing 60/180 Min/Max. I am not sure how to do that. Any ideas? Thanks in advance.
Solved! Go to Solution.
02-08-2013 02:50 PM
My initial suggestion would be to make the gauge housing transparent and put it on top of a picture ring control. Use the picture ring to toggle the picture and use the gauge to give you the needle/scale/etc.
If you need to reuse it and want to keep the block diagram clean then this might be a good time to wrap it up as an XControl.
~Simon
02-08-2013 03:15 PM
Simon,
Thanks. Works like a charm.
JC