<?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>VI Geek &#187; DAQ</title>
	<atom:link href="http://www.vigeek.com/category/hardware-used-in-virtual-instruments/daq/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vigeek.com</link>
	<description>My Way to Be A Virtual Instruments Geek</description>
	<lastBuildDate>Thu, 01 Jul 2010 06:36:30 +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>A Note about DAQ Assistant and 200279 Error in LabVIEW</title>
		<link>http://www.vigeek.com/2009/07/a-note-about-daq-assistant-and-200279-error-in-labview.html</link>
		<comments>http://www.vigeek.com/2009/07/a-note-about-daq-assistant-and-200279-error-in-labview.html#comments</comments>
		<pubDate>Fri, 17 Jul 2009 07:00:45 +0000</pubDate>
		<dc:creator>Ralph</dc:creator>
				<category><![CDATA[DAQ]]></category>
		<category><![CDATA[LabVIEW]]></category>
		<category><![CDATA[VI Software]]></category>
		<category><![CDATA[DAQ Assistant]]></category>
		<category><![CDATA[Loop]]></category>
		<category><![CDATA[Queue]]></category>

		<guid isPermaLink="false">http://www.vigeek.com/2009/07/a-note-about-daq-assistant-and-200279-error-in-labview.html</guid>
		<description><![CDATA[Just a few days ago, I created a simple LabVIEW program which read about 32 channels at 2KHz and display the data and write the data into file. The program is quite simple, so I used DAQ Assistant and Measurement File Express VI to read and write the data in one loop as the following [...]


Related posts:<ol><li><a href='http://www.vigeek.com/2009/09/a-better-way-to-access-variables-in-complex-programs-in-labview.html' rel='bookmark' title='Permanent Link: A Better Way to Access Variables in Complex Programs in LabVIEW'>A Better Way to Access Variables in Complex Programs in LabVIEW</a> <small>In some LabVIEW programs, we need to access the value...</small></li>
<li><a href='http://www.vigeek.com/2010/02/how-to-run-several-instances-of-a-vi-at-the-same-time-in-labview.html' rel='bookmark' title='Permanent Link: How to Run Several Instances of a VI at the Same Time in LabVIEW'>How to Run Several Instances of a VI at the Same Time in LabVIEW</a> <small>Sometimes, it needs to run several instances of a VI...</small></li>
<li><a href='http://www.vigeek.com/2010/03/how-to-ignore-cr-lf-ascii-codes-in-serial-receive-with-labview.html' rel='bookmark' title='Permanent Link: How to Ignore CR LF ASCII Codes in Serial Receive with LabVIEW'>How to Ignore CR LF ASCII Codes in Serial Receive with LabVIEW</a> <small>In one of my recent LabVIEW projects, my application needs...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Just a few days ago, I created a simple LabVIEW program which read about 32 channels at 2KHz and display the data and write the data into file. The program is quite simple, so I used DAQ Assistant and Measurement File Express VI to read and write the data in one loop as the following graph&#160; shows: </p>
<p> <span id="more-62"></span>
<p><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="DAQ Assistant and write file" border="0" alt="DAQ Assistant and write file" src="http://www.vigeek.com/wp-content/uploads/2009/07/image.png" width="327" height="124" /> </p>
<p>But when I run this LabVIEW program, there is always a 200279 error. I studied this error and found out that because I am trying to write file in the same loop which I am acquiring data, and the write to measurement file Express VI takes a lot time to open the file, write to it and then close it. Because of it, there comes the 200279 error.</p>
<p>The solution is either using basic file I/O functions to open the data file before the loop and close the file after the loop and write file in the loop or using a producer/consumer architecture to move the write file VI into another loop and transport data through queue between these loops. </p>
<p>At last, I created another loop and moved the write file VI into it. And after I changed the LabVIEW program’s architecture, there is no more 200279 error. It’s better not put other VIs in the DAQ loop.</p>


<p>Related posts:<ol><li><a href='http://www.vigeek.com/2009/09/a-better-way-to-access-variables-in-complex-programs-in-labview.html' rel='bookmark' title='Permanent Link: A Better Way to Access Variables in Complex Programs in LabVIEW'>A Better Way to Access Variables in Complex Programs in LabVIEW</a> <small>In some LabVIEW programs, we need to access the value...</small></li>
<li><a href='http://www.vigeek.com/2010/02/how-to-run-several-instances-of-a-vi-at-the-same-time-in-labview.html' rel='bookmark' title='Permanent Link: How to Run Several Instances of a VI at the Same Time in LabVIEW'>How to Run Several Instances of a VI at the Same Time in LabVIEW</a> <small>Sometimes, it needs to run several instances of a VI...</small></li>
<li><a href='http://www.vigeek.com/2010/03/how-to-ignore-cr-lf-ascii-codes-in-serial-receive-with-labview.html' rel='bookmark' title='Permanent Link: How to Ignore CR LF ASCII Codes in Serial Receive with LabVIEW'>How to Ignore CR LF ASCII Codes in Serial Receive with LabVIEW</a> <small>In one of my recent LabVIEW projects, my application needs...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vigeek.com/2009/07/a-note-about-daq-assistant-and-200279-error-in-labview.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
