Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

LabView

Posted on 1997-11-11
3
Medium Priority
?
705 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 400 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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

704 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