04-24-2009 06:46 PM
I need to create a LED indicator that will indicate the Pass/Fail condition of a device. Green if it has passed, red if it has failed and no light if there is no condition set yet. The program will run some test and Pass/Fail the unit based on results of the tests. As well as this the user needs to be able to fail the unit by pressing the LED. I've created a program and attached it below.
The program works like I'd like it to but this is my first official LabVIEW VI and I was looking for some input/suggestions/comments or criticisms. What I've come up with seems a little convoluted, is it? Or is there some control already built into LabVIEW that I missed.
Any input is appreciated.
Thanks,
Kevin
Solved! Go to Solution.
04-25-2009 03:30 AM
Hmm, where to start... 😉
Congratulation to your first working program! Now it's time to get rid of 90% unecessary code and correct some beginner mistakes.
Here's a quick draft. See if it makes sense. Modify as needed.
04-27-2009 09:47 AM
altenbach,
Thanks for the reply. This is exactly the kind of input I was looking for.
Kevin
07-18-2018 08:25 AM - edited 07-18-2018 08:40 AM
Attached is my contribution for a tri-state indicator.
It is a radio button with three overlapping buttons each having the off color as transparent.
Net result is:
0 = red (i.e. fail)
1 = green (i.e. pass)
2 = undecided bland dark color (default value)
I used the classic radio control because it is easy to hide the boundary by making transparent.
07-18-2018 02:32 PM
I've done that too.
Here's something a little fancier.