


<?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>Chris Meyer - Mentions &#187; National Instruments</title>
	<atom:link href="http://chrismeyer.org/wordpress/tag/national-instruments/feed/" rel="self" type="application/rss+xml" />
	<link>http://chrismeyer.org/wordpress</link>
	<description></description>
	<lastBuildDate>Mon, 09 Aug 2010 20:53:54 +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>National Instruments DIAdem Text @@ Commands</title>
		<link>http://chrismeyer.org/wordpress/2010/02/national-instruments-diadem-text-commands/</link>
		<comments>http://chrismeyer.org/wordpress/2010/02/national-instruments-diadem-text-commands/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 22:11:15 +0000</pubDate>
		<dc:creator>Waterppk</dc:creator>
				<category><![CDATA[College]]></category>
		<category><![CDATA[LabVIEW]]></category>
		<category><![CDATA[DIAdem]]></category>
		<category><![CDATA[National Instruments]]></category>
		<category><![CDATA[Program Variables]]></category>
		<category><![CDATA[Special Variables]]></category>

		<guid isPermaLink="false">http://chrismeyer.org/wordpress/?p=286</guid>
		<description><![CDATA[If you&#8217;ve ever used NI&#8217;s DIAdem for data analysis you know how useful it is for looking at and analyzing large datasets.  What you may or may not have discovered is the @@&#8212;&#8212;@@ commands that can be used to display channel related texts anywhere in the program. DIAdem helpfully gives you a list of available [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever used NI&#8217;s DIAdem for data analysis you know how useful it is for looking at and analyzing large datasets.  What you may or may not have discovered is the @@&#8212;&#8212;@@ commands that can be used to display channel related texts anywhere in the program.</p>
<p>DIAdem helpfully gives you a list of available commands, but doesn&#8217;t tell you what they display or how to use them.<br />
Program Command: @@ChnPropGet(No,Property name)@@<br />
Formatting: @@ChnPropGet(1,&#8221;Description&#8221;)@@<br />
Output: The 1st channel&#8217;s Description, other input could be Name, Unit, etc<br />
Notes: Make sure to use quotes around the Property name and remember that the channels are counted from the very first channel onwards and found as &#8220;Number&#8221; in the channel information.</p>
<p>Command: @@CD()@@<br />
Formatting: @@CD(1)@@<br />
Output: The 1st channel&#8217;s Units</p>
<p>Command: @@ChD(Line,No)@@<br />
Formatting: @@ChD(2,1)@@<br />
Output: The 1st channel&#8217;s second data point value</p>
<p>Command: @@CL(No)@@<br />
Formatting: @@CL(1)@@<br />
Output: The 1st channel&#8217;s number of points (length)</p>
<p>Command: @@CNoXGet(Channel group number,No)@@<br />
Formatting: @@CNoXGet(2,1)@@<br />
Output: Finds the 2nd group&#8217;s first channel and returns it&#8217;s channel number (counting from the first channel.<br />
Notes: Could be considered translating from relative position of a channel (in a group) to absolute position in the list of channels.</p>
<p>Couple of general notes, you can&#8217;t nest lookups (at least not in the text boxes, so it would be invalid to:</p>
<p><code>@@ChnPropGet(794,"Description")@@</code></p>
<p>and turn it into a lookup:<br />
<code>@@ChnPropGet(@@CNoXGet(15,1)@@,"Description")@@</code></p>
<p>Otherwise it&#8217;s pretty helpful to use these when labeling graphs/etc so you don&#8217;t have to constantly correct things.  DIAdem also builds in lots of string functions like trim/etc, so you can clean things up if necessary!</p>
<p>&lt;Wordpress&gt;  &#8211; I had all these formatted nicely in a table but WordPress ate itself trying to render it, hence the oddball list, sorry. &lt;/Wordpress&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://chrismeyer.org/wordpress/2010/02/national-instruments-diadem-text-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

