<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SPEED VI &#187; LED indicator</title>
	<atom:link href="http://www.speedvi.com/tag/led-indicator/feed" rel="self" type="application/rss+xml" />
	<link>http://www.speedvi.com</link>
	<description>Everything about Virtual Instruments, Computer-based Measurement and Control, Automation...</description>
	<lastBuildDate>Thu, 28 Jan 2010 14:54:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Build a Tri-State LED Indicator in LabVIEW</title>
		<link>http://www.speedvi.com/everything-labview-related/build-a-tri-state-led-indicator-in-labview.html</link>
		<comments>http://www.speedvi.com/everything-labview-related/build-a-tri-state-led-indicator-in-labview.html#comments</comments>
		<pubDate>Sun, 22 Feb 2009 14:28:34 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[LabVIEW]]></category>
		<category><![CDATA[LED indicator]]></category>
		<category><![CDATA[Tri-State]]></category>
		<category><![CDATA[VI]]></category>

		<guid isPermaLink="false">http://www.speedvi.com/everything-labview-related/build-a-tri-state-led-indicator-in-labview.html</guid>
		<description><![CDATA[When using the default LED indicator in LabVIEW in my test projects, I found that the two statuses of it is not enough. For example, we can use a LED with red False status to indicate test failed and green True to indicate test passed, then what we can do with the LED before the [...]]]></description>
			<content:encoded><![CDATA[<p>When using the default LED indicator in LabVIEW in my test projects, I found that the two statuses of it is not enough. For example, we can use a LED with red False status to indicate test failed and green True to indicate test passed, then what we can do with the LED before the test finish? The test result is still unknown, red and green are not proper. In this situation, we need a yellow Unknown status with the LED indicator.</p>
<p>The following is how I build a tri-state LED indicator:</p>
<p>First create a new VI, place a enum control and a LED indicator on the front panel as below:</p>
<p><img title="VI&#39;s front panel" style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" height="94" alt="VI&#39;s front panel" src="http://www.speedvi.com/wp-content/uploads/2009/02/image.png" width="204" border="0" /> </p>
<p>Then edit the enum’s properties as bellow:</p>
<p> <span id="more-45"></span>
<p><img title="Enum properties" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="214" alt="Enum properties" src="http://www.speedvi.com/wp-content/uploads/2009/02/image1.png" width="505" border="0" /> </p>
<p>And here is the diagram of this VI:</p>
<p><img title="VI&#39;s diagram" style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" height="350" alt="VI&#39;s diagram" src="http://www.speedvi.com/wp-content/uploads/2009/02/image2.png" width="535" border="0" /> </p>
<p>This VI can be called by other VIs. We can use it to make LED indicator to display three colors for three different states.</p>
<p>This VI can be downloaded here: <a href="http://www.speedvi.com/wp-content/uploads/2009/02/tri-state-led.vi">Tri-State LED Indicator</a>.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>July 10, 2009 -- <a href="http://www.speedvi.com/everything-labview-related/move-up-and-down-tree-control-sub-items-programmatically-in-labview.html" title="Move Up and Down Tree Control Sub-items Programmatically in LabVIEW">Move Up and Down Tree Control Sub-items Programmatically in LabVIEW</a> (0)</li><li>April 20, 2009 -- <a href="http://www.speedvi.com/everything-labview-related/transfer-more-than-text-message-in-queue-between-loops-in-labview.html" title="Transfer More Than Text Message in Queue Between Loops in LabVIEW">Transfer More Than Text Message in Queue Between Loops in LabVIEW</a> (2)</li><li>March 16, 2009 -- <a href="http://www.speedvi.com/everything-labview-related/how-to-create-linked-list-in-labview.html" title="How to Create Linked List in LabVIEW">How to Create Linked List in LabVIEW</a> (0)</li><li>March 8, 2009 -- <a href="http://www.speedvi.com/everything-labview-related/a-note-about-using-database-connectivity-toolset-in-labview.html" title="A Note about Using Database Connectivity Toolset in LabVIEW">A Note about Using Database Connectivity Toolset in LabVIEW</a> (0)</li><li>February 16, 2009 -- <a href="http://www.speedvi.com/everything-labview-related/ni-announcing-the-labview-2009-platform-beta-program.html" title="NI Announcing the LabVIEW 2009 Platform Beta Program">NI Announcing the LabVIEW 2009 Platform Beta Program</a> (0)</li><li>February 2, 2009 -- <a href="http://www.speedvi.com/everything-labview-related/problem-with-dll-in-labview.html" title="A Strange Problem When Calling External DLL with LabVIEW">A Strange Problem When Calling External DLL with LabVIEW</a> (0)</li><li>January 16, 2009 -- <a href="http://www.speedvi.com/everything-labview-related/access-different-access-database-files-programmly-in-labview-with-database-connectivity-toolset.html" title="Access Different Access Database Files Programmatically in LabVIEW with Database Connectivity Toolset">Access Different Access Database Files Programmatically in LabVIEW with Database Connectivity Toolset</a> (2)</li><li>January 13, 2009 -- <a href="http://www.speedvi.com/everything-labview-related/a-way-to-improve-user-experience-in-complicated-applications-in-labview.html" title="A Way to Improve User Experience in Complicated Applications in LabVIEW">A Way to Improve User Experience in Complicated Applications in LabVIEW</a> (5)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.speedvi.com/everything-labview-related/build-a-tri-state-led-indicator-in-labview.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
