LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Best method for multi-state indictors

I am working on a display in LV 7.1 with DSC that requires very specific indicators. The indicators are of specific shapes, text, or a combination of shapes and text.  I need to be able to change the color, text, text color, etc based on acquired data.  I have got some of the indicators to work as custom booleans that I change the color and text with property nodes while other indicators work better as picture controls.  I have also explored activeX controls, where I created the object in VB6 and made it am ocx object that I can call form LV and do everything I need to with that.  The drawbacks are the picture on my custom boolean keeps resizing on me and they will not work in all cases, the picture rings will have 100 pictures in it and will be a nightmare to update in the future, and I can not create all my required shapes in VB6 for my activeX control, IE triangles and complex shapes. 
 
Attached, hopefully, are some examples of some of the states i need for my indicators.
 
Thanks,
AJL
 
 
0 Kudos
Message 1 of 3
(2,650 Views)

 

 

Here are the examples.

 

Thanks.

0 Kudos
Message 2 of 3
(2,642 Views)

The forums does not accept bmp's.

I have done what you are asking a number of times and with your stated req's and LV version, you will have to go with a Pciture control.

XControls would help you but you would have to upgrade to develop them.

THe Pciture Control Thread has a set of links to threads that mention how to exploit the Picture Control.

In post #49 of the Railroad thread I posted code in LV 6.1 that uses the picture control to render custom track plan.

Have fun, and post any examples you develop that could hel pothers in similar situations.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 3
(2,635 Views)