Solved

LabView

Posted on 1997-11-11
3
669 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
Comment Utility
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
Comment Utility
Thank you.  I appreciate your help.  -- Norm
0
 

Expert Comment

by:JavierRuiz
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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 …
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

771 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now