LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create and illuminate a multi-indicator?

Hello all!!

 

I'm a complete noob with LV and first post to the forum.

 

I'm hoping I can get some help in form of suggestions or links to examples, tutorials or somewhere to just research info on my problem.

 

ON the front panel, I'm needing to put some indicators, each of  which look like the LED indicator...but have the capability to have 3 or more different states....rather than just the two offered by the boolean LED object.

 

A simple example of something like I'm trying to do, would be a single indicator for a stop light...having different colors and captions/lables  for different states in my code:

 

RED-Stop

YELLOW-Caution

GREEN-Go

 

I'd looked under the graphs->controls palette..and seen a 2d picture control and when rt clicking on that in the block diagram area, I saw the option for Picture Palette Functions, and in there saw options for draw round....etc.  But I'm not sure what to connect this to, or how to control it associated with the 2D picture object.

 

Is that the way I'd have to do this? If so...any suggestions where I could look for an example ?

 

If not this..what would be the best way I should try to look into doing this?

 

Thank you in advance,

 

cayenne

 

PS. I have Labview 2011

0 Kudos
Message 1 of 9
(2,990 Views)

LabVIEW 101

 

And there are plenty of examples included with LabVIEW.

0 Kudos
Message 2 of 9
(2,987 Views)

You could start by voting for my idea about Color LEDs so future generations will have it even easier. 😄

 

(Still, even with the currently available tools, this is not difficult.)

0 Kudos
Message 3 of 9
(2,982 Views)

@nyc_(is_out_of_here) wrote:

LabVIEW 101

 

And there are plenty of examples included with LabVIEW.


Thanks for the link....it was a malformed URL....should be this:

 

http://www.ni.com/academic/students/learnlabview/

 

Thank you,

 

I"ll look around. There. I've got the program, but looking for documentation......this likely is a good start.

 

Thank you,

 

0 Kudos
Message 4 of 9
(2,935 Views)

Thank you, I'll look at this.

 

I'd found: http://forums.ni.com/t5/LabVIEW/Multi-Color-Indicator/td-p/1955109

 

This .vi you linked to...is different than the one on the URL I listed?

 

Again...THANK YOU for all the replies so far.....I'm trying to figure it out...still studying.

 

I've also found this one I'm trying to figure out:

 

https://decibel.ni.com/content/docs/DOC-9244   Using something called a color box.....

 

 

cayenne

0 Kudos
Message 7 of 9
(2,866 Views)

later versions have a round color box But, as shown below there are a few issues

BH.png

 

First it lacks the shading. second it does not size the same as an LED boolean.

 

Well we can fix one of those the shading is easy enough to duplicate.  Just copy the LED color area to clipboard and import it to the color control color area at same size.  A little futzing with sizes and viola'.

 

The attached example uses a shading I prefer but serves to illustrate

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 9
(2,856 Views)

@paul_a_cardinale wrote:

..



Thats a pretty nice vi there pc!


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 9
(2,854 Views)