02-10-2013 07:34 PM
The notation for a valve is two triangles with the points touching. I want to show valve images as boolean indicators--red=closed and green=open. Is there a way to alter the standard shape of the normally rectangular or circular indictors to match the double triangle. I know you can achieve this result by using the triangular shapes and blocking out the part of the rectangular boolean that doesn't look like the double triangle shape. I don't want that since I find it tough to group the shapes.
Solved! Go to Solution.
02-11-2013 01:34 AM
You have similar controls and indicators already available in the DSC toolkit.
Or one solution you could try is to use custom controls, make your two image in a software such as paint.
Select the control you want to customize (in you case a boolean) and with right click Make Type Def then Open Type def.
Copy your image for one of the state in the clipboard and select Import picture from clipboard and the state associated with you image from the right click menu
Do the same again for the other state.
You can also find more info about custom controls in the LabView help
I hope this answers your question
02-11-2013 01:54 AM
Certainly, following the steps mentioned by didje007, you can create a control like the one shown below.
02-11-2013 08:39 AM
I did it. However, sometimes when I right click a control it allows me to customize and other times not. Right now I can't figure what I did to allow the customize function or not.
?
02-11-2013 08:44 AM
If the control is linked to a custom control, you won't be able to customize it any more (but you will be able to change the templates it is derived from) So you may see open type def insterad of make type def.
Is what you see?
02-11-2013 08:50 AM
I'm not sure what was going on. Maybe something with V2010. As soon as I tried it on V2012, everything worked as advertised. ??
Thanks, This opens up a ton of possibilities.