Solved

LabView

Posted on 1997-11-11
3
685 Views
Last Modified: 2013-12-03
If there is a LabView expert available, I have a question:  I am new to LabView.  I need a "LED" object which can be "lit" in any one of three colors.  It seems that only two colors are available: "background" and "foreground".  I have tried attaching a "node", but do not know how to "wire" to that node.  Help Anyone? - Norm
0
Comment
Question by:normpos
3 Comments
 
LVL 2

Accepted Solution

by:
JensUniweb earned 100 total points
ID: 1408324
It was a long time since I used LabView. But what I remeber a led has only 2 states, "on" or "off". But you can set the "on" color and the "off" color. That way you can simulate a three(3) state led.
0
 

Author Comment

by:normpos
ID: 1408325
Thank you.  I appreciate your help.  -- Norm
0
 

Expert Comment

by:JavierRuiz
ID: 24608487
I know this question is waaay old, but there may be someone new who wanders here with the same problem.

The newest versions of LV allow two answers:

Easy one - That'll do: Use a Color Box
Hard one - Exactly what you wanted: Use Property node


The Easy one:

Right click on the front panel. In the Numeric panel, there's a Framed Color Box; place it and you can resize and deform it. Right click on it and click Change to Indicator.
Then on your Block Diagram, you can place Color constants (found in the Dialog & User Interface section) inside case structures, to set the color of that box to whatever you want.

The Hard one:

Place the regular LED you want. Find it in the Block diagram; right click and choose Create > Property Node > Colors.
Right click on that thing to Change to Write.
You can then programmatically change the color of the led (you still have to set it on and off). Check the Help for that one, it's a cluster of two arrays I think.




0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question