02-04-2010 12:52 PM
Hello all,
Very simple question here. I want to swap sides for the scale on my Front Panel Tanks and more specifically DSC vessels like Pressurized Tank.
This is very easy to do with a Waveform Chart or Graph but seems to be impossible with Tanks and Vessels.
This would be very handy, especially for DSC processes where I'm trying to mimic process flow on the Front Panel and pipes could enter tanks from different sides.
Thanks!
Solved! Go to Solution.
02-04-2010 01:19 PM
You should be able to swap the sides programmatically using property nodes>>scale>>position>>left. To create a property node right click on the vessel indicator and select create property node. You will have to experiment to get it where you want it. The only problem is the indicator numbers will be between the vessel and the tick markers. Note that you will need to change the property node to write.
Hope this helps.
02-04-2010 01:31 PM
Hi GovBob,
Thanks a lot for your idea!
Yes, I had already tried that and I noted what you did: that the indicator numbers are now between the vessel and the tick markers, making a look a bit unnatural. Additionally, if I ever change the Front Panel position or size of the tank, then I have to rewrite the position of the scale. I could, of course, read the
position of the tank itself first and then add on an offset and write it to the scale position, assuming that the tank always stayed the same size.
It seems a bit of work to do and I wondered if there wasn't a solution already available that I was overlooking.
Might I suggest to the LV developers that adding the "swap sides" to tanks and vessels would be a very handy property addition?
Thanks again!
02-04-2010 01:40 PM - edited 02-04-2010 01:49 PM
02-04-2010 02:07 PM
Great idea!
I went ahead and posted it
http://forums.ni.com/t5/LabVIEW-Idea-Exchange/idb-p/labviewideas/tab-name/most-recent
Thanks!
02-04-2010 02:19 PM - edited 02-04-2010 02:23 PM
02-04-2010 02:23 PM
You may have forgotten to attach it?
02-04-2010 02:24 PM
02-04-2010 02:27 PM
Fantastic!
Thank you very much for your help!
02-04-2010 04:53 PM
Okay, I'm trying to do the same thing with other tanks from the DSC palette but am having little success.
Might I humbly ask how you customized that tank so that the scale shows up on the right? It seems that you didn't just place a scale from another object there beside the tank because I can change scale properties of the tank and the scale on the right changes.
Many thanks again for your help!