Solved

LabView

Posted on 1997-11-11
3
700 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

630 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