<?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; Label</title>
	<atom:link href="http://www.speedvi.com/tag/label/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>Mon, 30 Jan 2012 19:05:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to Change a Control or Indicator&#8217;s Label Programmatically in LabVIEW</title>
		<link>http://www.speedvi.com/everything-labview-related/how-to-change-a-control-or-indicators-label-programmatically-in-labview.html</link>
		<comments>http://www.speedvi.com/everything-labview-related/how-to-change-a-control-or-indicators-label-programmatically-in-labview.html#comments</comments>
		<pubDate>Tue, 30 Dec 2008 15:56:00 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[LabVIEW]]></category>
		<category><![CDATA[Change]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Indicator]]></category>
		<category><![CDATA[Label]]></category>
		<category><![CDATA[Programmatically]]></category>

		<guid isPermaLink="false">http://www.speedvi.com/everything-labview-related/how-to-change-a-control-or-indicators-label-programmatically-in-labview.html</guid>
		<description><![CDATA[<a href="http://www.speedvi.com/everything-labview-related/how-to-change-a-control-or-indicators-label-programmatically-in-labview.html" title="How to Change a Control or Indicator&rsquo;s Label Programmatically in LabVIEW"></a>What I want to do in one of my LabVIEW program is: There is a numeric control and I’d like to change the Label of it programmatically. In this program, I create a property node for the Label Text and &#8230;<p class="read-more"><a href="http://www.speedvi.com/everything-labview-related/how-to-change-a-control-or-indicators-label-programmatically-in-labview.html">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.speedvi.com/everything-labview-related/how-to-change-a-control-or-indicators-label-programmatically-in-labview.html" title="How to Change a Control or Indicator&rsquo;s Label Programmatically in LabVIEW"></a><p>What I want to do in one of my LabVIEW program is: There is a numeric control and I’d like to change the Label of it programmatically.</p>
<p>In this program, I create a property node for the Label Text and change this to a writable node. And I wire a constant into this property. But when I run this program I get error message like this “Input unit is not compatible with the current unit”. It is weird,&#160; the input is string as the property needs. </p>
<p> <span id="more-19"></span>
<p>So, I searched the LabVIEW official website and get that I won&#8217;t be able to change the value of the owned label programmatically.&#160; But there are a way to get around it as follows:</p>
<blockquote><p>In LabVIEW, you cannot change the value of an Owned Label during run-time. An Owned Label is a label that belongs to a control or an indicator. For instance, when you move the control/indicator, the label will move with it. The Owned Label is the <strong>Label</strong> item for the control/indicator in a property node. These items can only be changed during development because it is used as the identifier for the control/indicator throughout the executing VI. Trying to change an Owned Label using property nodes will produce error 1073.</p>
<p>An easy way to change the &quot;label&quot; for a control/indicator would be to use the <strong>Caption (Visible Items»Caption)</strong> to identify the control/indicator instead of the <strong>Label</strong>, which is the Owned Label. You can change a <strong>Caption</strong> at both run-time and development-time. Remember to make the <strong>Caption</strong> visible and the <strong>Label</strong> invisible first if you just want to see one &quot;label&quot; for the control/indicator.</p>
</blockquote>
<p>So, after I change this LabVIEW program as it says, everything works. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.speedvi.com/everything-labview-related/how-to-change-a-control-or-indicators-label-programmatically-in-labview.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

