<?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; Parameter</title>
	<atom:link href="http://www.speedvi.com/tag/parameter/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>A Strange Problem When Calling External DLL with LabVIEW</title>
		<link>http://www.speedvi.com/everything-labview-related/problem-with-dll-in-labview.html</link>
		<comments>http://www.speedvi.com/everything-labview-related/problem-with-dll-in-labview.html#comments</comments>
		<pubDate>Mon, 02 Feb 2009 04:16:43 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[LabVIEW]]></category>
		<category><![CDATA[DLL]]></category>
		<category><![CDATA[Parameter]]></category>

		<guid isPermaLink="false">http://www.speedvi.com/everything-labview-related/problem-with-dll-in-labview.html</guid>
		<description><![CDATA[Currently I am using a third-part MIL-STD-1553 card in one of my projects. The vendor of this card provides only a DLL file as the driver for it which is build with Visual C++. To control this card in LabVIEW, I have to use the Import Shared Library wizard in LabVIEW to build all the [...]]]></description>
			<content:encoded><![CDATA[<p>Currently I am using a third-part MIL-STD-1553 card in one of my projects. The vendor of this card provides only a DLL file as the driver for it which is build with Visual C++. To control this card in LabVIEW, I have to use the Import Shared Library wizard in LabVIEW to build all the VIs that corresponding to every functions in this DLL. After that, I used these VIs in my program to control this 1553 card. Everything is fine with the card initialization and reset function, but when it comes to send data function, a strange problem happens.</p>
<p>The problem is as follows, when I use the send data function as in the manual provided by the vendor, set special values to parameter A and parameter B, and run this function after that, there is no responses. But with the demo program provided by the vendor which is in Visual C++, call this function as in the manual, everything is fine. At last, I try to set the special values to the parameters that follow A and B, for example, if A is the first parameter, then assign the value that should be assigned to A to the second parameter. After this operation, everything is fine now. I don&#8217;t know what is the reason to this strange problem. It seems that the parameters of this VI which is converted by LabVIEW are not correctly corresponding to the function parameters in the DLL.</p>
<p>I don&#8217;t know what caused this problem to happen, maybe someday I can find it out.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>November 19, 2008 -- <a href="http://www.speedvi.com/everything-labview-related/problem-with-dll-import-in-labview.html" title="Problem with DLL import in LabVIEW">Problem with DLL import in LabVIEW</a> (0)</li><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 22, 2009 -- <a href="http://www.speedvi.com/everything-labview-related/build-a-tri-state-led-indicator-in-labview.html" title="Build a Tri-State LED Indicator in LabVIEW">Build a Tri-State LED Indicator 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>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></ul>]]></content:encoded>
			<wfw:commentRss>http://www.speedvi.com/everything-labview-related/problem-with-dll-in-labview.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
