04-21-2012 03:40 PM - edited 04-21-2012 03:49 PM
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
04-21-2012
04:09 PM
- last edited on
12-29-2024
02:34 PM
by
Content Cleaner
04-21-2012 04:32 PM
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.)
04-30-2012
08:29 PM
- last edited on
12-29-2024
02:35 PM
by
Content Cleaner
@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,
C
05-01-2012 05:59 PM
05-02-2012 11:00 AM
05-03-2012
03:58 PM
- last edited on
12-29-2024
02:35 PM
by
Content Cleaner
Thank you, I'll look at this.
I'd found: https://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://forums.ni.com/t5/Example-Code/Multi-state-LED-Indicator-using-LabVIEW/ta-p/3524017 Using something called a color box.....
cayenne
05-03-2012 04:33 PM - edited 05-03-2012 04:35 PM
later versions have a round color box But, as shown below there are a few issues
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
05-03-2012 04:40 PM