Is there a valve control graph in labwindows/CVI like I showed in the attachment ? I want to have a such valve control that it will become green when it is on and red when it's off. If not, is there a way to make one like that?
You could consider using a picture ring creating the appropriate images for the valve open and close, and assigning them the values 0 and 1: simply using SetCtrlVal on the ring will display the correct image. If you use a ring with transparent background and no frame or a transparent one your control will result in the images only without any added element.