<?xml version="1.0"?>
<rss version="2.0"><channel><title>LabVIEW Bugs Latest Topics</title><link>https://lavag.org/forum/35-labview-bugs/</link><description>LabVIEW Bugs Latest Topics</description><language>en</language><item><title>2025&#x7248;&#x672C;vi&#x91CD;&#x5199;&#x95EA;&#x9000;</title><link>https://lavag.org/topic/59154-2025%E7%89%88%E6%9C%ACvi%E9%87%8D%E5%86%99%E9%97%AA%E9%80%80/</link><description><![CDATA[<p>
	labview 2025版本vi重写会闪退，好像是vi图标改变导致的，vi图标打开编辑也会闪退
</p>
]]></description><guid isPermaLink="false">59154</guid><pubDate>Wed, 22 Oct 2025 08:04:08 +0000</pubDate></item><item><title>VI Hierarchy doesn't show library labels</title><link>https://lavag.org/topic/59030-vi-hierarchy-doesnt-show-library-labels/</link><description><![CDATA[<p>
	The VI hierarchy window is fairly useless. For large projects, it is painfully slow to update. The links between objects don't make the architecture of a project any clearer. It cannot be printed with high resolution as a PNG or PDF file. Etc.
</p>

<p>
	Ignoring these shortcomings, it appears to not behave as expected: when selecting View&gt;&gt;Always Show Labels, collapsed library boxes expand laterally as if to accommodate the library label, but no label is displayed. I am labeling this as a bug, but maybe it isn't.
</p>

<p>
	Similarly, a library is represented by said box with an icon inside. The icon seems to be picked up randomly from one of the VIs in the library. This is not helpful. There should be a way to set a "library" icon (not just a template as defined in the library "Properties" window.
</p>

<p>
	Tested in Windows <abbr title="LabVIEW">LV</abbr> 2021 SP1 64 bit
</p>
]]></description><guid isPermaLink="false">59030</guid><pubDate>Tue, 10 Jun 2025 22:08:01 +0000</pubDate></item><item><title>LabVIEW Build Array Bug #1: Unexpected Array Growth</title><link>https://lavag.org/topic/54162-labview-build-array-bug-1-unexpected-array-growth/</link><description><![CDATA[<p>
	Has anyone ever seen this behavior before?
</p>

<p>
	Build-Transpose-Build sequence resulted in a non-empty array. This appears to be infinitely extendable (i.e. adding more transposes and builds increases the size of the 'Empty' output array)
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="22353" data-ratio="74.69" width="715" alt="image.png.f74fe92b18480d43fbbf2a6031859bdc.png" data-src="https://lavag.org/uploads/monthly_2025_02/image.png.f74fe92b18480d43fbbf2a6031859bdc.png" src="https://lavag.org/applications/core/interface/js/spacer.png" />
</p>

<p>
	- Joel
</p>
]]></description><guid isPermaLink="false">54162</guid><pubDate>Mon, 24 Feb 2025 17:22:27 +0000</pubDate></item><item><title>Std Deviation and Variance.vi outputs erroneous value in corner cases</title><link>https://lavag.org/topic/24073-std-deviation-and-variancevi-outputs-erroneous-value-in-corner-cases/</link><description><![CDATA[<p>
	 
</p>

<p>
	<img alt="image.png.81484b856925cba8e78ed6af26f2014c.png" class="ipsImage ipsImage_thumbnailed" data-fileid="18352" data-ratio="37.38" width="915" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2024_06/image.png.81484b856925cba8e78ed6af26f2014c.png">
</p>

<p>
	Feed an array comprised of non trivial equal numbers (e.g. a 1,000 values of 1.2345) to the Std Deviation and Variance.vi of the Mathematics&gt;&gt;Probability &amp; Statistics palette and look at the standard deviation output using a display format such as that shown below:
</p>

<p>
	<img alt="image.png.c7b6fbef5469382e28207efe65fc0f10.png" class="ipsImage ipsImage_thumbnailed" data-fileid="18353" data-ratio="98.14" width="751" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2024_06/image.png.c7b6fbef5469382e28207efe65fc0f10.png">
</p>

<p>
	 
</p>

<p>
	You will be surprised to see that the standard deviation is non zero and within the range of the precision for the type (~1E-15).
</p>

<p>
	While this might not be an issue in most use cases, it is still not an optimal result, and suggests that the calculation done in the called DLL is not optimal (it probably uses the standard formula, but because of round-off errors, the outcome is non-zero).
</p>

<p>
	I am posting this in the "bug" category, although it is not strictly speaking one, just to warn unsuspecting users (like me), that dealing with floating point numbers comes with its load of gotchas.
</p>

<p>
	 
</p>

<p>
	Here is a snippet to experiment with the phenomenon:
</p>

<p>
	<img alt="602225236_StdDeviationandVarianceBug.png.3e2003f5510f19a1d004e50bf9503762.png" class="ipsImage ipsImage_thumbnailed" data-fileid="18354" data-ratio="46.20" width="526" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2024_06/602225236_StdDeviationandVarianceBug.png.3e2003f5510f19a1d004e50bf9503762.png">
</p>

<p>
	Again the display format of the standard deviation indicator needs to be chosen wisely to reveal the round off error.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">24073</guid><pubDate>Fri, 21 Jun 2024 18:40:50 +0000</pubDate></item><item><title>Units and compound arithmetic bug</title><link>https://lavag.org/topic/23782-units-and-compound-arithmetic-bug/</link><description><![CDATA[<p>
	Another example of tricks with units.
</p>

<p>
	<img alt="1543697150_unitsandcompoundarithmeticbug.png.a90973ee8c9626c4d02e46a75ed446bd.png" class="ipsImage ipsImage_thumbnailed" data-fileid="18209" data-ratio="59.47" width="491" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2024_02/1543697150_unitsandcompoundarithmeticbug.png.a90973ee8c9626c4d02e46a75ed446bd.png">
</p>

<p>
	The above formula works fine. If I want to check the value of the Boltzmann constant by adding an indicator where indicated:
</p>

<p>
	<img alt="image.png.33cd309d8dafb3686f6ddb43bcb993da.png" class="ipsImage ipsImage_thumbnailed" data-fileid="18210" data-ratio="50.61" width="826" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2024_02/image.png.33cd309d8dafb3686f6ddb43bcb993da.png">
</p>

<p>
	Things look fine but they are not:
</p>

<p>
	<img alt="image.png.04000f55689d2c1ddebe7eef384ff19c.png" class="ipsImage ipsImage_thumbnailed" data-fileid="18211" data-ratio="68.93" width="853" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2024_02/image.png.04000f55689d2c1ddebe7eef384ff19c.png">
</p>

<p>
	 
</p>

<p>
	tested in <abbr title="LabVIEW">LV</abbr> 2021 SP1 64 bit
</p>
]]></description><guid isPermaLink="false">23782</guid><pubDate>Thu, 15 Feb 2024 23:35:36 +0000</pubDate></item><item><title>Abort Vi Method Will Generate Vi Mouse Events</title><link>https://lavag.org/topic/1171-abort-vi-method-will-generate-vi-mouse-events/</link><description><![CDATA[<p>Hi everyone</p>
<p>I have a main VI that start a spawn which mission is to execute code after a some delay :clock: (ex:2s). The spawn is start when the "VI:Mouse leave" is triggered.</p>
<p>Now, if the user re enter the VI before the delay :clock: expire (ex: before 2s has elapsed), I do no longer wish to execute the code, so I kill my spawn using VI:Abort.VI method.</p>
<p>As long as I do not kill my spawn, everything work like a charm, but as soon as I kill my spawn, "VI:Mouse leave" and "VI:Mouse enter" events are generated (?!?!!?)  :thumbdown: and I am entering an infinite loop because in "VI:Mouse leave" I generate the spawn and in "VI:Mouse enter" I kill it which generate VI:Mouse leave ....</p>
<p>If someone could confirm this (or even better prove me wrong) that will be great.</p>
<p>System: Win2k with LV7.0</p>
<p>Attached is some code that will demonstrate the issue</p>
<p><a href="http://lavag.org/old_files/post-16-1079896891.zip" rel="">Download File:post-16-1079896891.zip</a></p>
]]></description><guid isPermaLink="false">1171</guid><pubDate>Sun, 21 Mar 2004 20:21:24 +0000</pubDate></item><item><title>LabVIEW 2021 SP1 Known issues</title><link>https://lavag.org/topic/22466-labview-2021-sp1-known-issues/</link><description><![CDATA[<p>
	For those unsuspecting folks who like me are dropping files in a front panel-wide hidden path control to speed up file loading, pay attention to this nasty bug: #<span>1811630 described at </span>
</p>

<p>
	<a href="https://www.ni.com/en-us/support/documentation/bugs/22/labview-2021-sp1-known-issues.html" rel="external nofollow">https://www.ni.com/en-us/support/documentation/bugs/22/labview-2021-sp1-known-issues.html</a>
</p>

<table>
	<tbody>
		<tr>
			<td>
				<h4>
					<span>LabVIEW Appends Extraneous NULL Character to Path When You Drag and Drop a File to a Path Control</span>
				</h4>

				<div>
					<span>When you drag a file from the File Explorer to a Path control or constant, the value of the path will have an extraneous NULL character at the end. </span>
				</div>

				<div>
					<p>
						<span><b>Workaround:</b></span>
					</p>

					<div>
						<span><span>Manually delete the extra character after completing the drag and drop.</span> </span>
					</div>

					<p>
						 
					</p>

					<p>
						It just bit me...
					</p>
				</div>
			</td>
			<td>
				<p>
					<span>Reported Version:</span>
				</p>

				<p>
					<span>LabVIEW 2021 SP1</span>
				</p>

				<p>
					<span>Resolved Version:</span>
				</p>

				<p>
					<span>N/A</span>
				</p>

				<p>
					<span>Added:</span>
				</p>

				<p>
					<span>Jan 26, 2022</span>
				</p>
			</td>
		</tr>
	</tbody>
</table>
]]></description><guid isPermaLink="false">22466</guid><pubDate>Thu, 03 Mar 2022 23:40:29 +0000</pubDate></item><item><title>Three Button Dialog truncates message or adds "Standard" at the end</title><link>https://lavag.org/topic/23548-three-button-dialog-truncates-message-or-adds-standard-at-the-end/</link><description><![CDATA[<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="18062" data-ratio="29.87" width="231" alt="1053884310_ThreeButtonDialog.png.408da50a16974d8edc5dad633733f2e5.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_11/1053884310_ThreeButtonDialog.png.408da50a16974d8edc5dad633733f2e5.png">
</p>

<p>
	Here is the output:
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="18063" data-ratio="31.71" width="350" alt="1985979047_Thisismyshort.png.15d9310ad38a6035d343c475170a12dd.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_11/1985979047_Thisismyshort.png.15d9310ad38a6035d343c475170a12dd.png">
</p>

<p>
	 
</p>

<p>
	No better luck with long messages:
</p>

<p>
	 
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="18065" data-ratio="39.78" width="465" alt="1199346442_ThreeButtonDialog2.png.a73dfe5414fcb7027f2dc06957f68ac3.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_11/1199346442_ThreeButtonDialog2.png.a73dfe5414fcb7027f2dc06957f68ac3.png">
</p>

<p>
	here is the result:
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="18064" data-ratio="9.71" width="1200" alt="1961912664_LoremipsumStandard.png.2b18a8c52187c715cb95c1e37b7ecc1b.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_11/1961912664_LoremipsumStandard.png.2b18a8c52187c715cb95c1e37b7ecc1b.png">
</p>

<p>
	notice the "Standard" added to the text.
</p>

<p>
	Windows <abbr title="LabVIEW">LV</abbr> 2021 SP1 64 bit
</p>
]]></description><guid isPermaLink="false">23548</guid><pubDate>Thu, 02 Nov 2023 02:13:10 +0000</pubDate></item><item><title>Bookmarks in malleable VIs do no show up in the bookmark manager</title><link>https://lavag.org/topic/23385-bookmarks-in-malleable-vis-do-no-show-up-in-the-bookmark-manager/</link><description><![CDATA[<p>
	Observed in LabVIEW 2021 SP1f4 Windows 10 64 bit.
</p>
]]></description><guid isPermaLink="false">23385</guid><pubDate>Thu, 27 Jul 2023 00:08:27 +0000</pubDate></item><item><title>Bug/Documentation Error in Continuous Random VI: Gamma Random</title><link>https://lavag.org/topic/23256-bugdocumentation-error-in-continuous-random-vi-gamma-random/</link><description><![CDATA[<p>
	The Gamma Random generator has two parameter inputs in addition to the number of sample: b and c
</p>

<p>
	According to the help, which I paste here for the record:
</p>

<p>
	 
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="17779" data-ratio="46.18" width="799" alt="image.png.878c44b0fda28fdee8c508c1b15fdf26.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_06/image.png.878c44b0fda28fdee8c508c1b15fdf26.png">
</p>

<p>
	 
</p>

<p>
	b is the scale parameter and c the shape parameter of the Gamma distribution.
</p>

<p>
	However, if you do that, the generated RV are bogus, because it turns out that b is the shape parameter and c is the scale parameter, as defined for instance on Wikipedia:
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="17780" data-ratio="43.64" width="330" alt="image.png.2bb4987d9a0e7af6e99662e1297d9ef2.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_06/image.png.2bb4987d9a0e7af6e99662e1297d9ef2.png">
</p>

<p>
	This can be easily verified by generating a large number of RV and comparing their normalized histogram with the functional form above.
</p>

<p>
	 
</p>

<p>
	Tested in LabVIEW 2021 SP1f3 on Windows 10 64 bit
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">23256</guid><pubDate>Wed, 07 Jun 2023 02:53:23 +0000</pubDate></item><item><title>U32 or SGL?</title><link>https://lavag.org/topic/23056-u32-or-sgl/</link><description><![CDATA[<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="17558" data-ratio="54.97" width="302" alt="image.png.54c8c6641d093f1c11bc6721eecd6943.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2023_03/image.png.54c8c6641d093f1c11bc6721eecd6943.png">
</p>

<p>
	 
</p>

<p>
	No comments and couldn't care less whether it is fixed or not.
</p>
]]></description><guid isPermaLink="false">23056</guid><pubDate>Mon, 13 Mar 2023 03:43:17 +0000</pubDate></item><item><title>Python Node doesn't tolerate warnings (LabVIEW 2021 SP1)</title><link>https://lavag.org/topic/22839-python-node-doesnt-tolerate-warnings-labview-2021-sp1/</link><description><![CDATA[<p>
	Take an Open Python Session Node, pass an error cluster with a non-zero error code (but otherwise status = FALSE and empty Source string), connect the outputs to a Python Node (and use a Close Python Session node if you want afterwards).
</p>

<p>
	Run.
</p>

<p>
	The Open Session Node transmits the warning (so doesn't generate an error) but the following Python Node converts the warning into an error (same code, TRUE status and source = Python Node in Calling VI name).
</p>

<p>
	That is unexpected.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">22839</guid><pubDate>Thu, 15 Dec 2022 02:58:23 +0000</pubDate></item><item><title><![CDATA[Always Copy & Python Node Marshal to Named Tuples collision]]></title><link>https://lavag.org/topic/22802-always-copy-python-node-marshal-to-named-tuples-collision/</link><description><![CDATA[<p>
	The snippet below shows some oddity I uncovered while trying to document a bit of code involving the Python node.
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="17278" data-ratio="93.81" width="226" alt="1742058531_AlwaysCopyMarshalling.png.c37ba9435ec2b19e78a3526a05768b65.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2022_11/1742058531_AlwaysCopyMarshalling.png.c37ba9435ec2b19e78a3526a05768b65.png">
</p>

<p>
	The error constant is just here to provide a cluster input to the node (which is what the "Marshal to Named Tuples" is supposed to handle).
</p>

<p>
	The Always Copy node is here to go around the known problem that the comment arrow will snap to the middle of the wire it is attached to, NOT where the user connects it to the wire (and that of course will never change).
</p>

<p>
	The comments indicate that the first node input (which happens to be the return argument, but that has no bearing o the observed behavior) has been right-clicked and "Marshal to Named Tuples" was used.
</p>

<p>
	By contrast, the second node input has had no modification applied.
</p>

<p>
	The result (surprising to me) of the "Marshal to Named Tuples" option was that the wire broke, as if the node lost its ability to "read" the cluster element names. Obviously no such thing happens when making a copy of anything (you can still hover over the lower branch of the wire with a probe and the Help window will show all 3 cluster element names).
</p>

<p>
	I am erring on the side of calling this a bug, but it might just be some kind of arcane feature of the node which only its author is familiar with (and I don't really whether or not it changes in the future since I am dug in 2021 SP1).
</p>

<p>
	But here it is for every one to gawk at.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">22802</guid><pubDate>Sat, 12 Nov 2022 19:39:32 +0000</pubDate></item><item><title>Profile Performance and Memory - Inaccurate Numbers</title><link>https://lavag.org/topic/15007-profile-performance-and-memory-inaccurate-numbers/</link><description><![CDATA[<p>Any of you ever see something like this?</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_10_2011/post-11742-0-09692200-1317650639.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_10_2011/post-11742-0-09692200-1317650639_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=5508" class="ipsImage ipsImage_thumbnailed" alt="post-11742-0-09692200-1317650639_thumb.p"></a></p>
<p>I'm trying to pinpoint a bottleneck in a new process I wrote, but I'm seriously questioning the results here...</p>
<p>The numbers for those four VIs do not change over the lifetime of an execution, or if I execute the application multiple times within the same instance of the IDE. If the IDE is restarted, some of the VIs will return the same numbers, others not so much.</p>
<p>Also, some of the more reasonable looking large numbers, like the VI which has reportedly been executing for 179 seconds are definitely wrong, as the application had been running for less than a minute.</p>
<p>Some clues as to what might be going on:</p>
<ul><li>These VIs with astronomically large metrics fall into one of two categories: they are VIs which are responsible for spawning asynchronous tasks; or are VIs which contain the main loop for asynchronous tasks. Note the later VIs are reentrant.<br></li>
<li>I can start a new async task, and the new main loop VI will show up in the list a very similar large number.<br></li>
<li>Not all of these async tasks however show up with huge numbers. Some which are always spawned as the application start up do not show this behavior (but others do).<br></li>
<li>These async tasks are launched via the async call by reference primitive.<br></li>
</ul><p></p>
<p>Maybe this is old news with timing reentrant/async methods, or is there something else afoot?</p>
<p>-m</p>
]]></description><guid isPermaLink="false">15007</guid><pubDate>Mon, 03 Oct 2011 14:26:29 +0000</pubDate></item><item><title>Plot Legend Index Display Visibility Property Missing</title><link>https://lavag.org/topic/22500-plot-legend-index-display-visibility-property-missing/</link><description><![CDATA[<p>
	As the title says, you can show and hide the plot legend index display (it is an array after all) in Edit mode, but there is no property to do that programmatically.
</p>

<p>
	Since the NXG style plot legend scrollbar is buggy (see <a href="https://lavag.org/topic/22499-nxg-style-graph-plot-legend-scrollbar-bug/" rel="">this report</a> and the linked thread), providing this index display as a backup for users to navigate the plot list in the absence of a mouse wheel, is not elegant has its visibility cannot be controlled (AFAIK).
</p>
]]></description><guid isPermaLink="false">22500</guid><pubDate>Mon, 11 Apr 2022 18:00:11 +0000</pubDate></item><item><title>NXG Style Graph Plot Legend Scrollbar bug</title><link>https://lavag.org/topic/22499-nxg-style-graph-plot-legend-scrollbar-bug/</link><description><![CDATA[<p>
	The bug has been described a while ago <a href="https://lavag.org/topic/21586-xy-graph-scrollbar-not-working-when-made-visible-programmatically/" rel="">here</a> but might never have been submitted...
</p>

<p>
	It is still present in <abbr title="LabVIEW">LV</abbr> 2021 SP1.
</p>
]]></description><guid isPermaLink="false">22499</guid><pubDate>Mon, 11 Apr 2022 17:55:18 +0000</pubDate></item><item><title>A few Linux bugs in LV2021</title><link>https://lavag.org/topic/22413-a-few-linux-bugs-in-lv2021/</link><description><![CDATA[<p>
	I love that Community Edition is on Linux now. That said, I've run into a few issues with it and I'm hoping someone can help:
</p>

<ul>
	<li>
		LabVIEW has issues with images from other applications in the clipboard. When I have something copied from KolourPaint (an open source MSPaint clone) LabVIEW will often <strong>crash</strong>, sometimes immediately, sometimes not until I try to paste it. (This happens immediately after launching it as well.) From other applications I've tested, LabVIEW appears to ignore the image entirely. If something other than an image was in the clipboard before the image, it'll paste that; otherwise, Paste will just remain disabled as if the clipboard were empty.
	</li>
	<li>
		A lot of times, I'll select a custom control using the "Select a Control..." right-click menu item, and it'll display the outline of the control for a split second, but then it'll go away as if I pressed Esc. <s>I don't recall whether</s> this has happened with subVI's, but it's possible. (edit: it just did, so yes.)
	</li>
	<li>
		Sometimes, often when I drag something on the block diagram, wires will suddenly move to illogical locations. One place where I've noticed this often is with tunnels on the bottom edge of a structure, where the wire will suddenly arrange itself so it connects from the left instead (while the tunnel remains on the bottom.)
	</li>
	<li>
		The audio input/output VI's don't work, instead saying the selected device is invalid. (This does not include the audio file ones, which work as expected.) Trying to place an "Acquire" or "Play Waveform" Express VI shows no detected devices in the dialog, and if I click OK anyway, LabVIEW crashes.
	</li>
	<li>
		Dragging and dropping files into LabVIEW does not work; instead, the files go to the window behind the LabVIEW window.
	</li>
	<li>
		I'm not sure whether or not this is actually a bug, but whenever LabVIEW opens a file dialog, it uses the crude built-in one, like in the Windows version when you select an LLB, instead of the normal system dialog. (If anyone knows of any way to replace the dialog with a custom VI, that would be great.)
	</li>
</ul>

<p>
	I'm using Arch Linux with KDE Plasma, in case it helps.
</p>
]]></description><guid isPermaLink="false">22413</guid><pubDate>Fri, 28 Jan 2022 18:08:53 +0000</pubDate></item><item><title>Unflatten From JSON breaks on NUL characters (LabVIEW 2017+)</title><link>https://lavag.org/topic/22017-unflatten-from-json-breaks-on-nul-characters-labview-2017/</link><description><![CDATA[<p>
	I recently stumbled upon this issue while debugging an application that didn't handle JSON payload as expected.
</p>

<p>
	As it turns out, Unflatten From JSON breaks on NUL characters, even though Flatten To JSON properly encodes them as ("\u0000").
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15779" data-ratio="43.27" width="453" alt="554466342_UnflattenFromJSONbreaksonNULcharacters.png.90294f3d27024f920edd7e9d216070e6.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2021_04/554466342_UnflattenFromJSONbreaksonNULcharacters.png.90294f3d27024f920edd7e9d216070e6.png">
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15780" data-ratio="66.07" width="336" alt="image.png.63b909174282610f26ee9be58d9d38d4.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2021_04/image.png.63b909174282610f26ee9be58d9d38d4.png">
</p>

<p>
	I have confirmed the behavior in LabVIEW 2017, 2019, and 2020 (all with latest service packs and patches), currently waiting for confirmation by NI.
</p>

<p>
	Workaround: Use <a href="https://lavag.org/files/file/294-jsontext/" rel="">JSONtext</a> <span><img alt=":)" data-emoticon="" src="https://lavag.org/applications/core/interface/js/spacer.png" title=":)" data-src="https://lavag.org/uploads/emoticons/default_smile.png"></span>
</p>
]]></description><guid isPermaLink="false">22017</guid><pubDate>Mon, 19 Apr 2021 05:56:01 +0000</pubDate></item><item><title>Return from Maximize and window is messed up</title><link>https://lavag.org/topic/9911-return-from-maximize-and-window-is-messed-up/</link><description><![CDATA[<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">Here is the setup:</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">You have a VI with at least one horizontal splitter.  In each pane you have an object set to fit to pane (scale object with pane).  (for example, a multi-column listbox).</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">The user maximizes the screen.  They then move the splitter bar that separates the upper and lower panes below the previous (un-maximized) bottom of the window.  Finally, they return the window to its previous size (by pressing the un-maximize, or restore button).  The result is a totally messed up window.</span></span></p>
<p><span style="font-family:'Times New Roman';"><span style="font-size:12px;">Is there any way to avoid this?  See attached VI.</span></span></p>
<p><a href="http://lavag.org/old_files/monthly_04_2009/post-2411-1239747456.vi" rel=""><span style="font-family:'Times New Roman';"><span style="font-size:12px;">Download File:post-2411-1239747456.vi</span></span></a></p>
<p><span style="font-family:'Times New Roman';"><span style="font-size:12px;">Before:</span></span></p>
<p></p>
<p style="text-align:left;"><a href="http://lavag.org/old_files/monthly_04_2009/post-2411-1239747462.jpg" rel=""><img src="http://lavag.org/old_files/monthly_04_2009/post-2411-1239747462.jpg?width=400" alt="post-2411-1239747462.jpg?width=400"></a></p>
<p><span style="font-family:'Times New Roman';"><span style="font-size:12px;">After:</span></span></p>
<p></p>
<p style="text-align:left;"><a href="http://lavag.org/old_files/monthly_04_2009/post-2411-1239747469.jpg" rel=""><img src="http://lavag.org/old_files/monthly_04_2009/post-2411-1239747469.jpg?width=400" alt="post-2411-1239747469.jpg?width=400"></a></p>
<p></p>
]]></description><guid isPermaLink="false">9911</guid><pubDate>Wed, 15 Apr 2009 23:41:24 +0000</pubDate></item><item><title>Formula Node Shift Bug</title><link>https://lavag.org/topic/21975-formula-node-shift-bug/</link><description><![CDATA[<p>
	Was there at least in LV2016.
</p>

<p>
	<img alt="image.png.8e6512d62a3fb4cc3e76ebe8115afa55.png" class="ipsImage ipsImage_thumbnailed" data-fileid="15701" data-ratio="96.34" width="382" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2021_03/image.png.8e6512d62a3fb4cc3e76ebe8115afa55.png">
</p>

<p>
	<img alt="image.png.9328acfb937150318976cdaf8965b5c5.png" class="ipsImage ipsImage_thumbnailed" data-fileid="15702" data-ratio="30.56" width="864" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2021_03/image.png.9328acfb937150318976cdaf8965b5c5.png">
</p>

<p>
	Still there in LV2020
</p>

<p>
	<img alt="image.png.2437a550d4e5b732f8533161102b9e44.png" class="ipsImage ipsImage_thumbnailed" data-fileid="15703" data-ratio="30.56" width="864" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2021_03/image.png.2437a550d4e5b732f8533161102b9e44.png">
</p>

<p>
	The corresponding VIs are attached.
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink" data-fileext="vi" data-fileid="15704" href="https://lavag.org/applications/core/interface/file/attachment.php?id=15704" rel="">Formula Node Shift Bug 2016.vi</a> <a class="ipsAttachLink" data-fileext="vi" data-fileid="15705" href="https://lavag.org/applications/core/interface/file/attachment.php?id=15705" rel="">Formula Node Shift Bug 2020.vi</a>
</p>

<p><a href="https://lavag.org/uploads/monthly_2021_03/image.png.fa067772f57b4b3be1e8353ac65afe6e.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="15700" src="https://lavag.org/applications/core/interface/js/spacer.png" data-ratio="91.44" width="397" class="ipsImage ipsImage_thumbnailed" alt="image.png" data-src="https://lavag.org/uploads/monthly_2021_03/image.png.fa067772f57b4b3be1e8353ac65afe6e.png"></a></p>]]></description><guid isPermaLink="false">21975</guid><pubDate>Tue, 16 Mar 2021 23:21:11 +0000</pubDate></item><item><title>Potential memory corruption when (de-)serializing Sets in LabVIEW 2019 SP1 f3 (32-bit)</title><link>https://lavag.org/topic/21918-potential-memory-corruption-when-de-serializing-sets-in-labview-2019-sp1-f3-32-bit/</link><description><![CDATA[<p>
	I discovered a potential memory corruption when using <a href="https://zone.ni.com/reference/en-XX/help/371361R-01/glang/variant_to_flattened_str/" rel="external nofollow">Variant To Flattened String</a> and <a href="https://zone.ni.com/reference/en-XX/help/371361R-01/glang/flattened_str_to_variant/" rel="external nofollow">Flattened String To Variant</a> functions on Sets. Here is the test code:
</p>

<p>
	<img alt="2053102155_LV2019SP1f3(32-bit)PotentialMemoryCorruptionwhen(de-)serializingSets.png.e31ac61a8ef3ee1d71ad471d67565015.png" class="ipsImage ipsImage_thumbnailed" data-fileid="15615" data-ratio="40.39" width="723" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2021_02/2053102155_LV2019SP1f3(32-bit)PotentialMemoryCorruptionwhen(de-)serializingSets.png.e31ac61a8ef3ee1d71ad471d67565015.png">
</p>

<p>
	In this example, the set is serialized and de-serialized without changing any data. The code runs in a loop to increase the chance of crashing LabVIEW.
</p>

<p>
	Here is the <a href="https://zone.ni.com/reference/en-XX/help/371361R-01/lvconcepts/type_descriptors/" rel="external nofollow">type descriptor</a>. If you are familiar with <span>type descriptors</span>, you'll notice that something is off:
</p>

<p>
	<img alt="image.png.36fcb733de6a787b78776e473e0540d9.png" class="ipsImage ipsImage_thumbnailed" data-fileid="15616" data-ratio="11.71" width="427" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2021_02/image.png.36fcb733de6a787b78776e473e0540d9.png">
</p>

<p>
	Here is the translation:
</p>

<ul>
	<li>
		0x0008 - Length of the type descriptor in bytes, including the length word (8 bytes) =&gt; OK
	</li>
	<li>
		0x0073 - Data type (Set) =&gt; OK
	</li>
	<li>
		0x0001 - Number of dimensions (a set is essentially an array with dimension size 1) =&gt; OK
	</li>
	<li>
		0x0004 - Length of the type descriptor for the internal type in bytes, including the length word (4 bytes) =&gt; OK
	</li>
	<li>
		<span style="color:#e74c3c;">???? </span>- Type descriptor for the internal data type (should be 0x0008 for U64) =&gt; What is going on?
	</li>
</ul>

<p>
	It turns out that the last two bytes are truncated. The Flatten String To Variant function actually reports error 116, which makes sense because the type descriptor is incomplete, BUT it does not always return an error! In fact, half of the time, no error is reported and LabVIEW eventually crashes (most often after adding a label to the numeric type in the set constant). I believe that this corrupts memory, which eventually crashes LabVIEW. Here is a video that illustrates the behavior:
</p>

<p>
	</p><video class="ipsEmbeddedVideo" controls="" data-video-embed="">
		<source type="video/mp4" src="https://lavag.org/applications/core/interface/js/spacer.png" data-video-src="https://lavag.org/uploads/monthly_2021_02/2021-02-06_13-43-58.mp4.9dfb1293244241857affe4c9df7b2510.mp4"><a class="ipsAttachLink" data-fileext="mp4" data-fileid="15617" href="https://lavag.org/applications/core/interface/file/attachment.php?id=15617" rel="">2021-02-06_13-43-58.mp4</a>
	</source></video>


<p>
	Can somebody please confirm this issue?
</p>

<p>
	<a class="ipsAttachLink" data-fileext="vi" data-fileid="15618" href="https://lavag.org/applications/core/interface/file/attachment.php?id=15618" rel="">LV2019SP1f3 (32-bit) Potential Memory Corruption when (de-)serializing Sets.vi</a>
</p>
]]></description><guid isPermaLink="false">21918</guid><pubDate>Sat, 06 Feb 2021 13:17:56 +0000</pubDate></item><item><title>Terrible map bugs on IC-317x Linux RT</title><link>https://lavag.org/topic/21897-terrible-map-bugs-on-ic-317x-linux-rt/</link><description><![CDATA[<p>
	Bug described on NI Forum <span>: </span><a href="https://forums.ni.com/t5/LabVIEW/Map-weirdness-on-Linux-RT/td-p/4114641" rel="external nofollow">https://forums.ni.com/t5/LabVIEW/Map-weirdness-on-Linux-RT/td-p/4114641</a>
</p>

<p>
	With video and code.
</p>

<p>
	I would be eternally thankful if anyone could try to reproduce on various Linux RT targets with LabVIEW 2020.
</p>
]]></description><guid isPermaLink="false">21897</guid><pubDate>Thu, 21 Jan 2021 10:53:50 +0000</pubDate></item><item><title>Map containing a class and default control value</title><link>https://lavag.org/topic/21895-map-containing-a-class-and-default-control-value/</link><description><![CDATA[<p>
	Here is a nice one, see <a href="https://forums.ni.com/t5/LabVIEW/class-map-bug/m-p/4114439#M1186673" rel="external nofollow">my post on NI Forums</a>
</p>

<p>
	 
</p>

<p>
	found in LV2019 SP1, if someone could check LV2020, it would be nice.
</p>
]]></description><guid isPermaLink="false">21895</guid><pubDate>Wed, 20 Jan 2021 17:17:21 +0000</pubDate></item><item><title>What can kill a queue?</title><link>https://lavag.org/topic/8366-what-can-kill-a-queue/</link><description><![CDATA[<p>I have run into a very strange problem.  I am getting sporatic occurances of an error with one of my queues.  Here is the error:</p>
<p><span style="font-family:Calibri;"><span style="font-size:12px;">Error 1122 occurred at Dequeue Element in Process GUI Events.vi:34-&gt;Engine 422.vi</span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:12px;">Possible reason(s):</span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:12px;">LabVIEW:  Refnum became invalid while node waited for it.</span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:12px;">The wierd thing is, as far as I know, this can ONLY happen if the queue is destroyed in some parallel process while this VI is waiting for an element to be enqueued.  But, I have searched all the VIs and the only one where the queue is destroyed is in the cleanup VI that comes after this VI and is connected by the error wire.  So, there is no way that cleanup VI could execute before the VI that is waiting.</span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:12px;">I have a sneaking suspicion that there are some latent bugs in the queue feature.  I have a large number of reentrant VIs running and I create a lot of unnamed queues that I pass inside a cluster to sub VIs.  So, there are many many instances of this queue (all unique, supposedly) that exist within each tree of reentrant VIs.  I thought labVIEW used a GUID to name unnamed queues so they could never step on each other, but maybe because I have so many, the 'name' is getting reused?</span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:12px;">Any other ideas?  I am at a total loss.</span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:12px;">thanks,</span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:12px;">-John</span></span></p>
]]></description><guid isPermaLink="false">8366</guid><pubDate>Sat, 30 Aug 2008 21:25:24 +0000</pubDate></item><item><title>Common Error and Fix - LabVIEW caught fatal signal</title><link>https://lavag.org/topic/2691-common-error-and-fix-labview-caught-fatal-signal/</link><description><![CDATA[<p>Many people who are attempting to run LabVIEW on Linux will come accross this error when running LabVIEW:</p>
<p>segmentation fault: LabVIEW caught fatal signal 7.0 - Received SIGSEGV.</p>
<p>Reason: address not mapped to object</p>
<p>The quick fix is described in an NI Knowledge Base entry <a href="http://digital.ni.com/public.nsf/allkb/A2D53C8E0D88380B86256EBD005B31D2" rel="external nofollow">here</a>.</p>
<p>Worked for me! <img src="https://lavag.org/uploads/emoticons/default_smile.png" alt=":)"></p>
]]></description><guid isPermaLink="false">2691</guid><pubDate>Sun, 18 Dec 2005 06:20:24 +0000</pubDate></item><item><title>LV2019 Set IPE Bug (aka. another way to crash LV)</title><link>https://lavag.org/topic/21693-lv2019-set-ipe-bug-aka-another-way-to-crash-lv/</link><description><![CDATA[<p>
	Here is another bug I discovered in LV2019+ which reliably crashes <abbr title="LabVIEW">LV</abbr>. Simply connect a set to the map input of the <strong>Map Get / Replace Value</strong> node on the IPE:
</p>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15143" data-ratio="62.50" width="360" alt="2033016901_SetIPEBug.png.57cb8630036d88efc94eb4a0c4a675fa.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_07/2033016901_SetIPEBug.png.57cb8630036d88efc94eb4a0c4a675fa.png">
</p>

<p>
	This VI is executable in LV2019 SP1 f3, which means that you can actually build that into an executable without noticing.
</p>

<p>
	I have reported this, but there is no CAR yet.
</p>
]]></description><guid isPermaLink="false">21693</guid><pubDate>Tue, 28 Jul 2020 10:23:05 +0000</pubDate></item><item><title>LV2019 Map IPE Bug</title><link>https://lavag.org/topic/21692-lv2019-map-ipe-bug/</link><description><![CDATA[<p>
	I want to share a bug that exists in LV2019+ that results in data being overwritten in independent wire branches when changing maps with the <strong>Map Get / Replace Value</strong> node of the IPE. Here is the code:
</p>



<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15140" data-ratio="49.63" width="409" alt="797140498_MapIPEBug.png.0beabfd0eecbeded6506c8f7d1d8f2a3.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_07/797140498_MapIPEBug.png.0beabfd0eecbeded6506c8f7d1d8f2a3.png">
</p>

<p>
	This should produce two maps
</p>

<ul>
	<li>
		&lt;"key", 0&gt;
	</li>
	<li>
		&lt;"key", 1&gt;
	</li>
</ul>

<p>
	But the actual output is
</p>

<ul>
	<li>
		&lt;"key", 1&gt;
	</li>
	<li>
		&lt;"key", 1&gt;
	</li>
</ul>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15141" data-ratio="104.49" width="178" alt="image.png.4c8a58064b0522e428c38a93566a773e.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_07/image.png.4c8a58064b0522e428c38a93566a773e.png">
</p>

<p>
	As it turns out, <strong>Map Get / Replace Value</strong> breaks dataflow. There are two workarounds for this issue.
</p>

<ol>
	<li>
		Use the <strong>Always Copy</strong> function
	</li>
	<li>
		Wire the <strong>Action</strong> terminal of the write node
	</li>
</ol>

<p>
	<img class="ipsImage ipsImage_thumbnailed" data-fileid="15142" data-ratio="41.11" width="596" alt="428945750_MapIPEBugFix.png.030fc3edf95004d707de79e647e49d47.png" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_07/428945750_MapIPEBugFix.png.030fc3edf95004d707de79e647e49d47.png">
</p>

<p>
	This was reported to NI with the bug report number <strong>#7812505</strong>.
</p>
]]></description><guid isPermaLink="false">21692</guid><pubDate>Tue, 28 Jul 2020 10:12:08 +0000</pubDate></item><item><title>Coerce Cluster (with single variant element) to Variant Bug [974336]</title><link>https://lavag.org/topic/21380-coerce-cluster-with-single-variant-element-to-variant-bug-974336/</link><description><![CDATA[<p>
	[Update: NI Bug <span style="color:#313131;font-size:16px;">974336]</span>
</p>

<p>
	There seems to be a bug in the coercion of data to variant when a cluster contains a single element that is a variant. (<a href="https://forums.jki.net/topic/3091-json-ignoring-single-variant-in-a-cluster/?tab=comments#comment-7443" rel="external nofollow">original post here</a>).
</p>

<p>
	<em>Note: This bug appears to be very old, going as far back as LV2012. This has been reported to NI in the LV2020 Beta forum. I don't have a Bug ID / CAR yet.</em>
</p>

<p>
	<a class="ipsAttachLink" contenteditable="false" data-fileext="vi" data-fileid="14571" href="https://lavag.org/applications/core/interface/file/attachment.php?id=14571" rel="">Coerce to Variant Fail (LV2019).vi</a>
</p>

<p>
	<img alt="image.png.b8805b931592eef2fac725f2bad5cc8b.png" class="ipsImage ipsImage_thumbnailed" data-fileid="14569" data-ratio="88.74" width="870" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_02/image.png.b8805b931592eef2fac725f2bad5cc8b.png">
</p>

<p>
	<img alt="image.png.316e1ac6238ba6519f33248e652f859b.png" class="ipsImage ipsImage_thumbnailed" data-fileid="14570" data-ratio="50.53" width="1134" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_02/image.png.316e1ac6238ba6519f33248e652f859b.png">
</p>

<p>
	 
</p>

<p>
	Note that adding another element to the outer cluster causes the problem to go away.
</p>

<p>
	<img alt="image.png.27a4047c54f9bcc25ac353c2e38b0e95.png" class="ipsImage ipsImage_thumbnailed" data-fileid="14572" data-ratio="88.17" width="845" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_02/image.png.27a4047c54f9bcc25ac353c2e38b0e95.png">
</p>

<p>
	<img alt="image.png.6800cc4226b2f672e5b34afe8be8d6e3.png" class="ipsImage ipsImage_thumbnailed" data-fileid="14573" data-ratio="55.11" width="1136" src="https://lavag.org/applications/core/interface/js/spacer.png" data-src="https://lavag.org/uploads/monthly_2020_02/image.png.6800cc4226b2f672e5b34afe8be8d6e3.png">
</p>
]]></description><guid isPermaLink="false">21380</guid><pubDate>Fri, 14 Feb 2020 16:51:45 +0000</pubDate></item><item><title>Bug Fix for ALL Right-Click Menu Plug-Ins (LV2015 to 2019)</title><link>https://lavag.org/topic/21387-bug-fix-for-all-right-click-menu-plug-ins-lv2015-to-2019/</link><description><![CDATA[<p>
	<strong>Issue:</strong> Customers have noted that every once in a while, right-click operations implemented in G do not work, but when they try to reproduce the issue, everything works fine. Some users have written the issue off to "I must have clicked the wrong thing." But, no, it turns out that there's a rare race condition in the transaction logic for the right-click plugins.
</p>

<p>
	You can fix it by downloading one VI and replacing the version that ships with LabVIEW. Details here:
</p>

<p>
	<a href="https://forums.ni.com/t5/LabVIEW-Shortcut-Menu-Plug-Ins/Bug-Fix-for-ALL-Right-Click-Menu-Plug-Ins-LV2015-to-2019/ta-p/4016064" rel="external nofollow">https://forums.ni.com/t5/LabVIEW-Shortcut-Menu-Plug-Ins/Bug-Fix-for-ALL-Right-Click-Menu-Plug-Ins-LV2015-to-2019/ta-p/4016064</a>
</p>

<p>
	The bug? Don't close your refnum while you're still using the refnum. *head smack*
</p>

<p>
	And for those of you who tell me that refnum programming is easy, I'm adding this as evidence number N+1 that, "Sure, it's easy... easy to screw up." Long live dataflow! <span class="ipsEmoji">🙂</span>
</p>
]]></description><guid isPermaLink="false">21387</guid><pubDate>Wed, 19 Feb 2020 17:01:11 +0000</pubDate></item><item><title>Is there any error in the labview pid example(General pid simulator)?</title><link>https://lavag.org/topic/21333-is-there-any-error-in-the-labview-pid-examplegeneral-pid-simulator/</link><description><![CDATA[<p style="background-color:transparent;color:rgb(53,60,65);font-size:14px;font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal;margin-top:0px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">
	<span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;color:rgba(0,0,0,.87);font-size:24px;font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;" title="">I think you can try this example. Changing K does not change his rise time.</span><span style="background-color:transparent;color:rgba(0,0,0,.87);float:none;font-family:Roboto, arial, sans-serif;font-size:24px;font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal;line-height:32px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;"> </span><span style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;color:rgba(0,0,0,.87);font-size:24px;font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;" title="">And by decreasing the value of K, he becomes more unstable.</span>
</p>

<p style="background-color:transparent;color:rgb(53,60,65);font-size:14px;font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal;margin-bottom:0px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">
	<span style="background-color:transparent;color:rgba(0,0,0,.87);float:none;font-family:Roboto, arial, sans-serif;font-size:24px;font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;">I Hope someone can answer my doubts.</span>
</p>
]]></description><guid isPermaLink="false">21333</guid><pubDate>Mon, 06 Jan 2020 09:47:35 +0000</pubDate></item><item><title>lvlibp on real-time</title><link>https://lavag.org/topic/20966-lvlibp-on-real-time/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	have you came across this one before?
</p>

<p>
	<a href="https://forums.ni.com/t5/Real-Time-Measurement-and/building-lvlibp-on-real-time-does-not-include-version/td-p/3926789" rel="external nofollow">https://forums.ni.com/t5/Real-Time-Measurement-and/building-lvlibp-on-real-time-does-not-include-version/td-p/3926789</a>
</p>

<p>
	KR, Benjamin
</p>
]]></description><guid isPermaLink="false">20966</guid><pubDate>Wed, 15 May 2019 16:24:25 +0000</pubDate></item><item><title>LabVIEW 2017 Dynamic Event Registration Behaviour</title><link>https://lavag.org/topic/20445-labview-2017-dynamic-event-registration-behaviour/</link><description><![CDATA[<div>
	<p>
		Maybe others have seen this but I only became aware of it recently so I apologise if there is already a CAR for it.
	</p>

	<p>
		The following demonstrates a difference in behaviour between LabVIEW 2017 and previous versions (back as far as 2009, maybe further).
	</p>

	<p>
		The VI registers an event when it starts (in the timeout case) and generates a user event when the Increment button is pressed.
	</p>

	<p>
		The expected behaviour is that the counter will increment by one every time the button is pressed. This is the case for LabVIEW versions prior to 2017. In 2017, the user event is never fired, nor is there an error emitted by the generate user event.
	</p>

	<p>
		To get the VI to operate as expected in 2017; change the event refnum <em>tunnel </em>to a <em>shift register</em>. This seems to indicate that the refnum prototype is stomping on the dynamically allocated reference whereas in previous LabVIEW versions it would not. Note also, that when using the shift register, the cases do not need to be "wired through" as would be expected with similar functionality in a normal case statement.
	</p>

	<p>
		<a class="ipsAttachLink" href="//lavag.org/applications/core/interface/file/attachment.php?id=12974" data-fileid="12974" rel="">evnt.vi</a>
	</p>
</div>]]></description><guid isPermaLink="false">20445</guid><pubDate>Thu, 01 Mar 2018 19:05:06 +0000</pubDate></item><item><title>Bug in In Range And Coerce function?</title><link>https://lavag.org/topic/19803-bug-in-in-range-and-coerce-function/</link><description><![CDATA[<p>
	This looks like a bug to me.  Or is it expected behavior using some kind of vector logic?  :-)
</p>

<p>
	When you run the attached VI, both Boolean LEDs should output False, but one is False and the other is True.  I'm running <abbr title="LabVIEW">LV</abbr> 2015 f2.
</p>

<p>
	Thanks.   -Joe
</p>

<p><a class="ipsAttachLink" href="//lavag.org/applications/core/interface/file/attachment.php?id=11635">Bug demo of In Range And Coerce.vi</a></p>]]></description><guid isPermaLink="false">19803</guid><pubDate>Thu, 08 Sep 2016 13:49:45 +0000</pubDate></item><item><title>Scale Increment and the case of the marching plot area</title><link>https://lavag.org/topic/17132-scale-increment-and-the-case-of-the-marching-plot-area/</link><description><![CDATA[<p>I've had a standing defect on one of our products for a few years now where under some situations one of our plots would slowly march off screen on each window resize event. Well I finally tracked this one down. Attached is code to reproduce (<abbr title="LabVIEW">LV</abbr> 2013).</p>
<p> </p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=8547" data-fileid="8547" rel="">Plot area.vi</a></p>
<p> </p>
<p>If you open the VI and run it, then proceed to do multiple window resize events you'll notice the left edge of the plot area slowly marches over. My recommendation is to maximize/restore/repeat a few times to see the effect. Take for example this series of images:</p>
<p> </p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2013/post-11742-0-50554200-1379450755.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2013/post-11742-0-50554200-1379450755.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=8548" class="ipsImage ipsImage_thumbnailed" alt="post-11742-0-50554200-1379450755.png"></a></p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2013/post-11742-0-01351200-1379450768.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2013/post-11742-0-01351200-1379450768.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=8549" class="ipsImage ipsImage_thumbnailed" alt="post-11742-0-01351200-1379450768.png"></a></p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2013/post-11742-0-89662100-1379450781.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2013/post-11742-0-89662100-1379450781.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=8550" class="ipsImage ipsImage_thumbnailed" alt="post-11742-0-89662100-1379450781.png"></a></p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2013/post-11742-0-33049200-1379450798.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2013/post-11742-0-33049200-1379450798.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=8551" class="ipsImage ipsImage_thumbnailed" alt="post-11742-0-33049200-1379450798.png"></a></p>
<p> </p>
<p>The offending code is simple, I'm setting the scale increment on a resize event:</p>
<p> </p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2013/post-11742-0-14787900-1379450867.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2013/post-11742-0-14787900-1379450867.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=8552" class="ipsImage ipsImage_thumbnailed" alt="post-11742-0-14787900-1379450867.png"></a></p>
<p> </p>
<p>If the VI is edited such that the property node is removed the behavior vanishes. I wouldn't expect setting this property to cause the issue, I think I smell a bug in here somewhere. Confirmation?</p>
]]></description><guid isPermaLink="false">17132</guid><pubDate>Tue, 17 Sep 2013 20:52:46 +0000</pubDate></item><item><title>Cool little LV 2013 sp1 bug</title><link>https://lavag.org/topic/18297-cool-little-lv-2013-sp1-bug/</link><description><![CDATA[<p>Did not mean to record the background music with that, but enjoy!</p>
<p><a href="http://screencast.com/t/gfKwlvMcCsHI" rel="external nofollow">http://screencast.com/t/gfKwlvMcCsHI</a></p>
]]></description><guid isPermaLink="false">18297</guid><pubDate>Thu, 19 Jun 2014 21:17:43 +0000</pubDate></item><item><title><![CDATA[Disabled &#38; Grayed Out doesn&#39;t support transparency]]></title><link>https://lavag.org/topic/13185-disabled-grayed-out-doesnt-support-transparency/</link><description><![CDATA[<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_10_2010/post-10515-010034500%201285944393.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_10_2010/post-10515-010034500%201285944393_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=3155" class="ipsImage ipsImage_thumbnailed" alt="post-10515-010034500 1285944393_thumb.pn"></a></p>
<p>The alpha channel is not interpreted correctly when a button is disabled and grayed out.</p>
<p>It should not gray out the part of the control image that is transparent.</p>
<p>Reported to NI. No CAR yet.</p>
]]></description><guid isPermaLink="false">13185</guid><pubDate>Fri, 01 Oct 2010 14:48:15 +0000</pubDate></item><item><title>Flashing windows if caller used to be transparent</title><link>https://lavag.org/topic/4338-flashing-windows-if-caller-used-to-be-transparent/</link><description><![CDATA[<p>Make a VI and in its Window Apperance Properties set it to run transparently (100%). Add some code in the VI to call a SubVI that will display its front panel when you click a button, and add a property node that sets the transparency back to 0% once the VI is running. Run the VI and call the SubVI...notice what happens when the front panel of the SubVI opens - the main VI front panel will flash, making the transision ugly. To see the difference, remove the "Window runs transparently" property, and the property node - and run again. Now you get the normal smooth transition. </p>
<p>The reason why I wanted to make the main VI transparent on startup is because I wanted it to call a splash screen (instead of the splash screen calling the main VI) and the main should then stay invisible (no startup flash either) until the splash screen closes (it would have been great if you could set a VI to open in a hidden state, why have they not added that to the list of options:-(  ). There are ways to work around the problem so its no big deal in this case, however it bugged me...so perhaps its a bug(?):-)</p>
]]></description><guid isPermaLink="false">4338</guid><pubDate>Fri, 24 Nov 2006 14:47:24 +0000</pubDate></item><item><title>Window Bounds With Splitters and Subpanels</title><link>https://lavag.org/topic/18073-window-bounds-with-splitters-and-subpanels/</link><description><![CDATA[<p>Hi all,<br> <br>I'm wondering if any of you see odd behavior when trying to maximize/restore a window that contains a splitter with subpanels. Specifically if the spliter's panes are set to have minimum bounds, then filled with subpanels, some weird stuff can happen if the window is restored from a maximized state that would violate the a pane's sizing restriction.<br> <br>Best demonstrated in a video: <a href="https://www.dropbox.com/sc/raat2m37x1gekl7/qwvo0ldgG_" rel="external nofollow">https://www.dropbox.com/sc/raat2m37x1gekl7/qwvo0ldgG_</a></p>
<p> </p>
<p>m</p>
]]></description><guid isPermaLink="false">18073</guid><pubDate>Fri, 14 Mar 2014 22:27:34 +0000</pubDate></item><item><title>Unexpected Event Structure Non-Timeout Behavior</title><link>https://lavag.org/topic/13970-unexpected-event-structure-non-timeout-behavior/</link><description><![CDATA[<p>Something finally clicked for me during my CLA Summit presentation last week (thanks, Steen, for triggering my brain!).</p>
<p>Here's the issue:</p>
<p></p><div style="margin-left:25px;">Any event for which an event structure is registered, but for which it does not have a case, </div><div style="margin-left:25px;"><strong>resets the timeout of that event structure anyway.</strong></div>
<p></p>
<p>To put it another way, imagine you have a custom event that's wired to multiple event structures.  However, not every event structure actually <em>handles</em> the event (i.e. they don't all have a case for it).  When you fire that event, <em>it will reset the timeout counter for all the event structures, even the ones that don't handle the event</em>.  This means it's possible to have an event structure in your code that never times out, and also never executes an event handler, even though it's got a non-zero timeout value.</p>
<p>This feels like a bug to me for the following reasons:</p>
<p></p>
<ol style="list-style-type:decimal;"><li>We register for Front Panel events <em>by creating event cases for them</em>, and events that don't have cases don't interrupt the timeout.  Why would we not expect User Events to work the same way?</li>
<li>It's virtually impossible to detect when this is happening in your code.  In the attached example, the event structure <em>looks</em> like it should be timing out, and in a complicated application it's almost impossible to tell why it's not.</li>
</ol><p></p>
<p>However, at the CLA Summit there was some room for disagreement about this.  <strong>LAVA, what do you think?</strong></p>
<p><strong>Screencast:</strong> <a href="http://screencast.com/t/qDIKpn9oQnlD" rel="external nofollow">http://screencast.com/t/qDIKpn9oQnlD</a></p>
<p><strong>Snippet: </strong></p>
<p>(note the snippet creation made those crazy non-static property nodes on the stop logic; that's not me <img src="https://lavag.org/uploads/emoticons/default_smile.png" alt=":)"> )</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_03_2011/post-2992-0-27153300-1300131894.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_03_2011/post-2992-0-27153300-1300131894_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=4134" class="ipsImage ipsImage_thumbnailed" alt="post-2992-0-27153300-1300131894_thumb.pn"></a></p>
<p><strong>Code (LV2009):</strong> <a href="https://lavag.org/applications/core/interface/file/attachment.php?id=4135" data-fileid="4135" rel="">Event Structure Timeout Bug.vi</a></p>
]]></description><guid isPermaLink="false">13970</guid><pubDate>Mon, 14 Mar 2011 20:03:36 +0000</pubDate></item><item><title>Error generation preview in Installer Properties caused by Automotive Diagnostic Command Set 1.2.0</title><link>https://lavag.org/topic/17166-error-generation-preview-in-installer-properties-caused-by-automotive-diagnostic-command-set-120/</link><description><![CDATA[<p>The Automotive Diagnostic Command Set (ADCS) in version 1.2.0 when used will prevent the installer to generate a preview, set properties of any application executable, and building the installer, due to a bad linked VI. The installer dialog will just show '&lt;Error generating preview&gt;' in the application details section. I got this issue on a new installation of LabVIEW 2013 and this behaviour has since been reproduced by an NI technician. A bug report has been filled in:</p>
<p> </p>
<pre class="ipsCode prettyprint">CAR 429636</pre>
<p> </p>
<p>There is currently no way to build the installer including the application. It is not possible to add the offending VI to the library, as the library is locked &amp; password protected. My solution was to build an installer for just the additional installers (runtimes, etc..) and to manually copy the application files to the target system. Here is a copy of the issue details from the initial thread that is also linked below. Please reffer to the thread to get more detailed information about the circumstances that causes the issue (and to see some actual pictures):</p>
<p> </p>
<p>-----</p>
<p> </p>
<p>The <a href="http://sine.ni.com/nips/cds/view/p/lang/en/nid/203554" rel="external nofollow">Automotive Diagnostic Command Set</a> in version <a href="http://joule.ni.com/nidu/cds/view/p/id/4145/lang/en" rel="external nofollow">1.2.0</a> does update the compatibility to LV2013 and adds a <a href="http://download.ni.com/support/softlib//embedded%20networks/CAN/addon/ADCS/1.2/readme.htm#NewFeatures111" rel="external nofollow">new feature</a> that causes my problem.</p>
<p> </p>
<p>Add an INI key to the LabVIEW.ini</p>
<pre class="ipsCode prettyprint">NI_Appbuilder_logging=TRUE</pre>
<p>The build log is created <em>next to the <strong>*.lvproj</strong> file</em> and directly shows the problem. Here is the important line of the build log:</p>
<pre class="ipsCode prettyprint">The file at 'C:Program Files (x86)National InstrumentsLabVIEW 2013vi.libAutomotive Diagnostic Command SetDiagnostic Transport.llbOpen Diagnostic on LIN.vi' was expected to have the qualified name 'NI_Automotive Diagnostic Command Set.lvlib:Open Diagnostic on LIN.vi', but has the qualified name 'Open Diagnostic on LIN.vi'.</pre>
<p> </p>
<p>-----</p>
<p> </p>
<p>Notice: I was able to start the build, because the installer has already been configured in LabVIEW 2011 SP1 &amp; ADCS 1.1.0.</p>
<p> </p>
<p>Here is the related topic:</p>
<p><a href="http://lavag.org/topic/17137-error-generating-preview-in-installer-properties/" rel="">http://lavag.org/topic/17137-error-generating-preview-in-installer-properties/</a></p>
]]></description><guid isPermaLink="false">17166</guid><pubDate>Fri, 04 Oct 2013 10:21:38 +0000</pubDate></item><item><title>Windows Aero theme and lockup</title><link>https://lavag.org/topic/17049-windows-aero-theme-and-lockup/</link><description><![CDATA[<p>This is something I experienced some time ago on a project that really put me through the ringer.  We worked with NI R&amp;D for 6 weeks at an elevated support level to finally get to the bottom of the issue.  The symptoms were my front panels (both in code and exe) would become 'detached' from the block diagram.  In other words, the GUI would appear locked while the code behind was actually executing just fine.  CPU was very low (3-5%) on all cores.  For a long-time monitoring application it was especially problematic as the user wouldn't interact with the GUI for long periods of time; the information on the display would simply quit updating and it would be difficult to detect the condition.</p>
<p> </p>
<p>The solution ended up being something out of left field - the Windows Aero theme, which is default for Win 7.  R&amp;D finally stumbled across this and was able to turn the issue on off by changing the theme away from Aero.  I gave a presentation at NIWEEK just recently and it seems I had 3 people in the audience that were experiencing this same/similar issue.  Therefore, I thought I would post this and maybe I could help some others.</p>
<p> </p>
<p>All LabVIEW versions including 2012 are affected it seems.  I was developing in 2010 at the time, but R&amp;D tried many versions to see if it was version-specific.</p>
]]></description><guid isPermaLink="false">17049</guid><pubDate>Tue, 13 Aug 2013 17:40:24 +0000</pubDate></item><item><title>Out of order events is not a bug, sort of</title><link>https://lavag.org/topic/9986-out-of-order-events-is-not-a-bug-sort-of/</link><description><![CDATA[<p>Yair posted an example where events were fired A then B but the event structure was handling them B then A, which contradicts the stated behavior of the event structure that it handles events in the order they occur. </p>
<p><cite>QUOTE (Yair @ Apr 27 2009, 02:37 PM) </cite></p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="9986" data-ipsquote-contentclass="forums_Topic"><div>
<a href="https://lavag.org/topic/10422-active-cell-and-mc-listboxes-and-tables/#comment-62063" rel="">That's the way it should be, definitely. Here's a VI showing an example where they aren't always (which is almost definitely a bug). I'm guessing that this is an issue which has to do with how the event structure handles a timeout when it has user events registered.</a><a href="http://lavag.org/old_files/monthly_04_2009/post-5877-1240863213.vi" rel=""></a><a href="https://lavag.org/topic/10422-active-cell-and-mc-listboxes-and-tables/#comment-62063" rel="">Download File:post-5877-1240863213.vi</a>
</div></blockquote>
<p>If you look at the block diagram, you'll see this:</p>
<p></p>
<p style="text-align:left;"><a href="http://lavag.org/old_files/monthly_04_2009/post-5877-1240863300.png" rel=""><img src="http://lavag.org/old_files/monthly_04_2009/post-5877-1240863300.png?width=400" alt="post-5877-1240863300.png?width=400"></a></p>
<p>You'd expect that the user event would be handled before the control value change event. I followed up on this. It is "regrettable but correct behavior." In other words, not intended behavior but a logical result from the rules of the system, so not really a bug. </p>
<p>When events fire, they are placed in a queue. They record a timestamp of the time they occurred. The timestamp has millisecond resolution.</p>
<p>There are separate event queues for dynamically registered events and statically registered events. In Yair's demo, the user event is registered dynamically and the value change is registered statically, so there are two queues. The event handler looks at each of its queues and takes the earliest timestamp. In this case, the timestamps are identical and the statically registered event wins. </p>
<p>Workarounds: </p>
<p>1. Dynamically register for both the user event and the value change event. [This is the preferred workaround.]</p>
<p>2. Add a millisecond delay after the firing of the user event before firing the value change event to guarantee different timestamps. [This is a hack.]</p>
]]></description><guid isPermaLink="false">9986</guid><pubDate>Tue, 28 Apr 2009 21:40:24 +0000</pubDate></item><item><title>Deleting a key containing values corrupts the installer build specification</title><link>https://lavag.org/topic/16446-deleting-a-key-containing-values-corrupts-the-installer-build-specification/</link><description><![CDATA[<p>Hi,</p>
<p> </p>
<p>I found this bug in <abbr title="LabVIEW">LV</abbr> 2011 SP1 and it was reproduced in <abbr title="LabVIEW">LV</abbr> 2012 by an NI application engineer who filed CAR #385212 for it.</p>
<p> </p>
<p>Basically, if an installer build specification has values under a key that you've created in the "Registry" section and that you delete the key without having deleted all the values before the build will fail.</p>
<p>The solution is either to recreate all the same keys and values and delete each value before deleting the keys or edit the lvproj file with a text editor to remove all the lines corresponding to the values and keys your want to get ride of.</p>
<p> </p>
<p>The error I was getting when the build was failing was : </p>
<p> </p>
<p><em>*** Error: An internal tool or library returned an error. (Error code -21)<br>Error adding registry key:  Name: <strong>name_of_value</strong><br>**************<br>*** Error Details:<br>Error in MDF API function: _MDFBuildDevPart_AddRegKey<br>nmdkAddRegKey returned error code 26051<br>*** End Error Report</em></p>
]]></description><guid isPermaLink="false">16446</guid><pubDate>Mon, 07 Jan 2013 11:01:49 +0000</pubDate></item><item><title>In FPGA VI an error cluster connection to a Boolean input causes crash</title><link>https://lavag.org/topic/16317-in-fpga-vi-an-error-cluster-connection-to-a-boolean-input-causes-crash/</link><description><![CDATA[<p>CAR# 378165</p>
<p>LabVIEW Version 11.0.1f2</p>
<p>In a VI for a FPGA target, if an error cluster is wired to one input of an OR gate that has a Boolean wired to the other input, then in the "generate intermediate files" process that precedes the Xilinx bitfile generation, "stage 1 of 7" (analyzing VI hierarchy) will very repeatably crash while processing the VI. See attached PDF.</p>
]]></description><guid isPermaLink="false">16317</guid><pubDate>Sat, 10 Nov 2012 12:44:34 +0000</pubDate></item><item><title>Generate User Defined Trace Events Crash</title><link>https://lavag.org/topic/16896-generate-user-defined-trace-events-crash/</link><description><![CDATA[<p>Hello All,</p>
<p> </p>
<p>I've found a bug related to the "Generate User-Defined Trace Event" (GTE) which will crash LabVIEW routinely.  The bug has been submitted to NI and they've verified it.  For those of you watching from home, the CAR number is 412912.  I'm using LabVIEW 2012 SP1.  The crash did not exist for me in the 2011 version.</p>
<p> </p>
<p>The crash occurs when you have a string control wired to GTE and that string control is connected to the connector pane of your VI.  If the string control contains text and the Desktop Execution Trace Toolkit (DETT) is listening than we get a crash.  If string is empty or DETT is not listening, then we're all set.  When used only with a numeric control, the GTE does not seem to crash.  The workaround  from NI is to use a property node to read the value of the string control and pass that onto GTE.</p>
<p> </p>
<p>I've attached a sample project which demonstrates the crash and I've included the png of just the workaround below.</p>
<p> </p>
<p>-Keith</p>
<p> </p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_06_2013/post-689-0-41865700-1371153944.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_06_2013/post-689-0-41865700-1371153944_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=8272" class="ipsImage ipsImage_thumbnailed" alt="post-689-0-41865700-1371153944_thumb.png"></a></p>
<p> </p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=8271" data-fileid="8271" rel="">GTE Crash.zip</a></p>
]]></description><guid isPermaLink="false">16896</guid><pubDate>Thu, 13 Jun 2013 20:06:27 +0000</pubDate></item><item><title>Unbundle By Name Changes Selected Field</title><link>https://lavag.org/topic/15805-unbundle-by-name-changes-selected-field/</link><description><![CDATA[<p>Anyone seen behavior like this before? I've seen stuff like this happen before when mucking about with field names in clusters, but never before just by changing what computer I'm opening a VI on.</p>
<p>Here's the code for a VI when it's opened on my main development machine. Note the unbundle by name primitive is selecting the ER field:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_06_2012/post-11742-0-46487700-1339441825.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_06_2012/post-11742-0-46487700-1339441825_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=6755" class="ipsImage ipsImage_thumbnailed" alt="post-11742-0-46487700-1339441825_thumb.p"></a></p>
<p>Now here's the same code opened up on my laptop:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_06_2012/post-11742-0-76325100-1339441857.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_06_2012/post-11742-0-76325100-1339441857_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=6756" class="ipsImage ipsImage_thumbnailed" alt="post-11742-0-76325100-1339441857_thumb.p"></a></p>
<p>Yeah, somehow the unbundle by name prim now selecting the DN field and the corresponding case structure has also mutated its type. Fixing this is dead simple, I just re-select the ER field, but the more important question is <em>why is my source code changing as a function of which computer opens the VI</em>? This scares me...</p>
]]></description><guid isPermaLink="false">15805</guid><pubDate>Mon, 11 Jun 2012 19:15:14 +0000</pubDate></item><item><title>Certain types of clusters fail to send over Datasocket or Shared Variable</title><link>https://lavag.org/topic/16453-certain-types-of-clusters-fail-to-send-over-datasocket-or-shared-variable/</link><description><![CDATA[<p>We found this bug when updating from 2010 to 2012 last week. Certain types of clusters will not update over datasocket or network-published shared variable. You will only get their default data. Here are the conditions that will cause the problem:</p>
<ol style="list-style-type:decimal;"><li>The cluster contains an array of clusters	
</li>
<li>The array of clusters is not the last item in the cluster	
</li>
<li>The array of clusters is empty<br></li>
</ol><p></p>
<p>All three conditions must be fulfilled in order for the bug to appear. An AE was able to reproduce it and it has CAR #385089.</p>
]]></description><guid isPermaLink="false">16453</guid><pubDate>Tue, 08 Jan 2013 17:11:26 +0000</pubDate></item><item><title>Event Structure frames can incorrectly remap to other dynamic events</title><link>https://lavag.org/topic/9514-event-structure-frames-can-incorrectly-remap-to-other-dynamic-events/</link><description><![CDATA[<p><strong><strong><span style="color:#1C2837;"><span style="font-size:10px;">[CAR 148149]</span></span></strong></strong></p>
<p><strong><strong> </strong></strong><strong>Background</strong></p>
<p>There is a bug in the Event Structure where code in frames of an Event Structure can get re-associated with a different/wrong Dynamic Event when the input event reference data of a Register For Events node changes.</p>
<p><strong>Short Video Demonstration of the Bug</strong></p>
<p>And, here's an example VI that you can use to test it for yourself:</p>
<p><a href="http://lavag.org/old_files/monthly_02_2009/post-17-1235239395.vi" rel="">Download File:post-17-1235239395.vi</a></p>
<p><strong>Steps to Reproduce</strong></p>
<p></p>
<ul><li>Open "Dynamic Events Bug.vi"</li>
<li>Cycle through the Event Structure frames<ul><li>Note the contents of the frames for <em>Event A</em>, <em>Event C</em>, and <em>Event D</em>.</li>
<li>Note the cluster constant with user event reference constants for <em>Event A</em>, <em>Event B</em>, <em>Event C</em>, and <em>Event D</em>
</li>
</ul><p></p>
<p>[*]Delete the <em>Event B</em> user event constant from the cluster constant.</p>
</li>
</ul><p><strong>Observed Results</strong></p>
<p></p>
<ul><li>Cycle through the Event Structure frames<ul><li>Note that contents of the Event Structure frames for <em>Event C</em> and <em>Event D</em> got swapped: the contents for <em>Event C</em> are now associated with <em>Event D</em>.</li></ul><p></p>
</li></ul><p><strong>Expected Results</strong></p>
<p>  </p>
<ul><li>The contents of the Event Structure frames for <em>Event C</em> and <em>Event D</em> should remain unchanged (they should not be swapped)</li></ul><p></p>
]]></description><guid isPermaLink="false">9514</guid><pubDate>Sun, 22 Feb 2009 16:32:24 +0000</pubDate></item><item><title>Pt-by-pt VIs Arbitrarily Switching sign</title><link>https://lavag.org/topic/16416-pt-by-pt-vis-arbitrarily-switching-sign/</link><description><![CDATA[<p>I've been troubleshooting some code to find out why I was getting corruption in waveforms when using the Pt-by-Pt VIs.</p>
<p>It seems that it it a problem with the latest lvanlys.dll in the run-time since older installations do not exhibit the problem. It affects all labview versions (from 2009 onwards) and both 32 bit and 64 bit.</p>
<p>This is the result from an installation using lvanlys.dll version 9.1.0.428</p>
<p>And here from an installation using lvanlys.dll version 10.0.1.428</p>
<p>The problem is that the output is switching sign at arbitrary intervals as can be seen in the following table:</p>
]]></description><guid isPermaLink="false">16416</guid><pubDate>Mon, 17 Dec 2012 14:21:35 +0000</pubDate></item><item><title>Set library version returns error 53</title><link>https://lavag.org/topic/15920-set-library-version-returns-error-53/</link><description><![CDATA[<p>I try to change the version of a library or class with the accompanying VI, and this returns an error 53. Can anyone reproduce this?</p>
<p>Ton</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=6916" data-fileid="6916" rel="">SetLibVersion.vi</a></p>
]]></description><guid isPermaLink="false">15920</guid><pubDate>Wed, 11 Jul 2012 17:04:42 +0000</pubDate></item><item><title>Pane Background Image bug</title><link>https://lavag.org/topic/15636-pane-background-image-bug/</link><description><![CDATA[<p>When there are multiple panes on a front panel, the pane background image will return the image of the previous pane when empty.</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_04_2012/post-10515-0-53086300-1333475317.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_04_2012/post-10515-0-53086300-1333475317_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=6554" class="ipsImage ipsImage_thumbnailed" alt="post-10515-0-53086300-1333475317_thumb.p"></a></p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_04_2012/post-10515-0-79943100-1333475420.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_04_2012/post-10515-0-79943100-1333475420_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=6555" class="ipsImage ipsImage_thumbnailed" alt="post-10515-0-79943100-1333475420_thumb.p"></a></p>
<p>EDIT: <strong>CAR NUMBER 347359</strong></p>
]]></description><guid isPermaLink="false">15636</guid><pubDate>Tue, 03 Apr 2012 17:52:52 +0000</pubDate></item><item><title>Simple string searches in the IDE cause LabVIEW 2011 to crash</title><link>https://lavag.org/topic/15611-simple-string-searches-in-the-ide-cause-labview-2011-to-crash/</link><description><![CDATA[<p>Has anyone noticed this on LabVIEW 2011? I know 1 other person who has experienced this. Want to know if it's pervasive. Doing a string search in the development environment of your VIs cause LabVIEW to crash</p>]]></description><guid isPermaLink="false">15611</guid><pubDate>Mon, 26 Mar 2012 19:07:54 +0000</pubDate></item><item><title>Setting a NaN duty cycle can cause subsequent counter updates to hang</title><link>https://lavag.org/topic/15591-setting-a-nan-duty-cycle-can-cause-subsequent-counter-updates-to-hang/</link><description><![CDATA[<p>This one caused me a day of grief.</p>
<p>Turns out an error in the start up logic of one of my applications would request a duty cycle of NaN to a counter output I'm using for pulse width modulation. The problem is the NaN request goes through <span style="text-decoration:underline;">without returning an error</span>. But the next request to update the duty cycle hangs the DAQmx write VI. After hanging, there's no way out, aborting the calling VI leaves LabVIEW in a sorry state.</p>
<p>Example:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_03_2012/post-11742-0-66818400-1332266046.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_03_2012/post-11742-0-66818400-1332266046_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=6509" class="ipsImage ipsImage_thumbnailed" alt="post-11742-0-66818400-1332266046_thumb.p"></a></p>
<p><strong>WARNING: Running the snippet above can leave LabVIEW in an undefined state. Save your work before you do so!</strong></p>
<p>Now obviously a NaN duty cycle makes no sense, but I'd expect DAQmx to be able to handle such requests gracefully, either by ignoring them, or preferably issuing an error.</p>
<p>I've observed this behavior on the USB-6343 device.</p>
]]></description><guid isPermaLink="false">15591</guid><pubDate>Tue, 20 Mar 2012 17:59:18 +0000</pubDate></item><item><title>Bug in Dynamic Event Registration</title><link>https://lavag.org/topic/15272-bug-in-dynamic-event-registration/</link><description><![CDATA[<p>In LabVIEW 2010 SP1 is ok. In LabVIEW 2011f2 NOT ok.</p>
<p>Open and run the attached VI first in LV2010SP1, then try in <abbr title="LabVIEW">LV</abbr> 2011f2.</p>
<p>Greetings</p>
<p>Wolfram</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=5967" data-fileid="5967" rel="">BugReg.vi</a></p>
]]></description><guid isPermaLink="false">15272</guid><pubDate>Fri, 09 Dec 2011 16:51:52 +0000</pubDate></item><item><title>Feedback node crashing bug</title><link>https://lavag.org/topic/15101-feedback-node-crashing-bug/</link><description><![CDATA[<p>I have posted on the NI forum (<a href="http://forums.ni.com/t5/LabVIEW/Feedback-node-crashing-bug/td-p/1749054" rel="external nofollow">here</a>) but didn't get any response sine 5 days.</p>
<p>I have came across a nasty bug that caused Labview 2010 SP1 (Running Win 7 Ultimate x64 bit) to crash without any warning.</p>
<p>To replicate the bug do the following:</p>
<ol style="list-style-type:decimal;"><li>Add a numeric control and another indicator to the front panel<br></li>
<li>Switch to block diagram and add a feed back node<br></li>
<li>Connect the initializer terminal of the feed back node to the output of the control<br></li>
<li>Now do ANY of the following to <strong><span style="text-decoration:underline;">cause</span></strong> the bug:<br><ul><li>Press the run button (which is broken due to not connecting the input of the feed back node) it will turn to a normal run without displaying the error<br></li>
<li>Do an extra action and undo it, the run button will turn from list error normal<br></li>
</ul></li>
</ol><p>	</p>
<p></p>
<p></p>
<p>  </p>
<ul><li>So far the Vi can be saved normally. Now connect the output of the feed back node to the indicator and try any of the followings:<br><ul><li>Save the VI<br></li>
<li>Close the VI<br></li>
<li>Create a new project and select to add the VI to the project<br></li>
</ul><p>This will cause Labview to crash without any notice!</p>
<p></p>
</li></ul><p></p>
<p>When you are at step 4, the bug is there but harmless. Once you combine it with step 5 (connect to indicator), the bug is active and cause crashing. I have attached a snapshot of how the Front panel/block diagram look like before saving (since it can't be saved). Notice how the run button is enabled although the input of the feedback node is not connected.</p>
<p>I have tried to replicate the error on Labview 2009 but couldn't.</p>
]]></description><guid isPermaLink="false">15101</guid><pubDate>Mon, 24 Oct 2011 10:35:42 +0000</pubDate></item><item><title>Interpolate 1D Array Always Coerces Index for Integer Arrays</title><link>https://lavag.org/topic/15059-interpolate-1d-array-always-coerces-index-for-integer-arrays/</link><description><![CDATA[<p>When using the Interpolate 1D Array with an array of integers, I can't seem to keep the index terminal from coercing:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_10_2011/post-11742-0-08101200-1318431352.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_10_2011/post-11742-0-08101200-1318431352.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=5652" class="ipsImage ipsImage_thumbnailed" alt="post-11742-0-08101200-1318431352.png"></a></p>
<p>The coercion persists regardless of what floating type is presented. I see this behavior if the array is any integer type.</p>
<p>Is this intended?</p>
]]></description><guid isPermaLink="false">15059</guid><pubDate>Wed, 12 Oct 2011 15:02:07 +0000</pubDate></item><item><title>Listbox Weirdness</title><link>https://lavag.org/topic/6754-listbox-weirdness/</link><description><![CDATA[<p><span style="font-size:12px;"><span style="font-family:Calibri;">Create a system multi-column listbox.  Fill in several rows with some data.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:Calibri;">Set the properties Active Cell and Edit Position to a row in the middle of the ones you populated.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:Calibri;">Set the value to that same row.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:Calibri;">Set the key focus to true.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:Calibri;">Create a simple while loop to keep the VI running after all these setting are applied.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:Calibri;">Run the VI.  The row you set should be selected.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:Calibri;">Use the up/down arrow keys to move to another row more than 2 rows away.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:Calibri;">Stop the VI</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:Calibri;">Run the VI again.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:Calibri;">Use the arrow keys to move the selection again.  Instead of moving relative to the programmatically selected row that is highlighted, it will jump to the row that was (up/down) from the row you moved to right before you last stopped the VI.</span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:12px;"> </span></span></p>
<p><span style="font-size:12px;"><span style="font-family:Calibri;">Why does it do this?  Why does it remember the last selection you navigated to?  How can I override this so the selection I set programmatically is the one it will move relative to when the use uses the arrow keys? </span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:12px;"> </span></span></p>
<p><span style="font-size:12px;"><span style="font-family:Calibri;">Is this a bug?</span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:12px;"> </span></span></p>
<p><span style="font-size:12px;"><span style="font-family:Calibri;">-John</span></span></p>
<p><a href="http://lavag.org/old_files/monthly_12_2007/post-2411-1198024019.vi" rel=""><span style="font-size:12px;"><span style="font-family:Calibri;">Download File:post-2411-1198024019.vi</span></span></a></p>
]]></description><guid isPermaLink="false">6754</guid><pubDate>Wed, 19 Dec 2007 22:49:24 +0000</pubDate></item><item><title>LV2011: expand hotspot changed?</title><link>https://lavag.org/topic/14865-lv2011-expand-hotspot-changed/</link><description><![CDATA[<p>Using 2011 for the first time seriously, and here's something I haven't seen on the Beta (win7) on WinXP, when trying to extent a 'Bundle by name' or resizing a case, it looks like the hotspot for the 'double arrow' is changed (reduces in size?). Especially for the Bundly by name it's quite hard.</p>
<p>Watch the following screencast to see me struggle with it:</p>
<p>&lt;!-- copy and paste. Modify height and width if desired. --&gt; &lt;object id="scPlayer" width="295" height="225" type="application/x-shockwave-flash" data="<a href="http://content.screencast.com/users/TonPlomp/folders/Jing/media/e0735a7d-d1e6-45b8-9f6d-af40de115bcf/jingswfplayer.swf%22" rel="external nofollow">http://content.screencast.com/users/TonPlomp/folders/Jing/media/e0735a7d-d1e6-45b8-9f6d-af40de115bcf/jingswfplayer.swf"</a> &gt; &lt;param name="movie" value="<a href="http://content.screencast.com/users/TonPlomp/folders/Jing/media/e0735a7d-d1e6-45b8-9f6d-af40de115bcf/jingswfplayer.swf%22" rel="external nofollow">http://content.screencast.com/users/TonPlomp/folders/Jing/media/e0735a7d-d1e6-45b8-9f6d-af40de115bcf/jingswfplayer.swf"</a> /&gt; &lt;param name="quality" value="high" /&gt; &lt;param name="bgcolor" value="#FFFFFF" /&gt; &lt;param name="flashVars" value="thumb=http://content.screencast.com/users/TonPlomp/folders/Jing/media/e0735a7d-d1e6-45b8-9f6d-af40de115bcf/FirstFrame.jpg&amp;containerwidth=295&amp;containerheight=225&amp;content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/e0735a7d-d1e6-45b8-9f6d-af40de115bcf/LV2011Resizehotspot.swf&amp;blurover=false" /&gt; &lt;param name="allowFullScreen" value="true" /&gt; &lt;param name="scale" value="showall" /&gt; &lt;param name="allowScriptAccess" value="always" /&gt; &lt;param name="base" value="<a href="http://content.screencast.com/users/TonPlomp/folders/Jing/media/e0735a7d-d1e6-45b8-9f6d-af40de115bcf/%22" rel="external nofollow">http://content.screencast.com/users/TonPlomp/folders/Jing/media/e0735a7d-d1e6-45b8-9f6d-af40de115bcf/"</a> /&gt; Unable to display content. Adobe Flash is required.&lt;/object&gt;</p>
<p>Anyone else noticed this?</p>
<p>TOn</p>
]]></description><guid isPermaLink="false">14865</guid><pubDate>Thu, 01 Sep 2011 19:46:05 +0000</pubDate></item><item><title>Control Value:Set fails for empty variant values.</title><link>https://lavag.org/topic/14464-control-valueset-fails-for-empty-variant-values/</link><description><![CDATA[<p>For the code below:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_06_2011/post-11742-0-16161600-1309196719.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_06_2011/post-11742-0-16161600-1309196719_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=4698" class="ipsImage ipsImage_thumbnailed" alt="post-11742-0-16161600-1309196719_thumb.p"></a></p>
<p>The invoke node fails with Error 1 on me when I execute the "Variant" case. That is Control Value:Set doesn't seem to be able to apply an empty variant to the control. This strikes me as a bug, or is there some esoteric  reason this is an intended behavior?</p>
<p>LV2010 SP1.</p>
]]></description><guid isPermaLink="false">14464</guid><pubDate>Mon, 27 Jun 2011 17:48:20 +0000</pubDate></item><item><title>[Bug] Saving a Config (INI) File Should Not Replace Original File</title><link>https://lavag.org/topic/14145-bug-saving-a-config-ini-file-should-not-replace-original-file/</link><description><![CDATA[<p>I think I found a bug in "&lt;LabVIEW&gt;\vi.lib\Utility\config.llb\Save Config File.vi" (the Configuration File VIs)...</p>
<p>When saving a config (INI) file, the original file is "replaced" (deleted and then a new file created in its place, <em>as opposed to simply opening and flushing the contents of the original file</em>).</p>
<p>The problem with this are as follows:</p>
<p>1) A user might have write permission on the file, but might not have permission to create new files.  So, attempting to replace the file will cause a file permission error, even when the user has write permission on the file itself.</p>
<p>2) The new file might have different permissions than the original file.  When the original file is deleted, all its permissions/ownership settings are lost.  The replacement file will have default permissions based on the user creating the new replacement file.</p>
<p>Here are some screenshots of the buggy version and the fix for this issue:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_04_2011/post-17-0-53126500-1302740643.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_04_2011/post-17-0-53126500-1302740643_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=4377" class="ipsImage ipsImage_thumbnailed" alt="post-17-0-53126500-1302740643_thumb.png"></a></p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_04_2011/post-17-0-53870900-1302740634.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_04_2011/post-17-0-53870900-1302740634_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=4376" class="ipsImage ipsImage_thumbnailed" alt="post-17-0-53870900-1302740634_thumb.png"></a></p>
<p>And, here's the fixed VI:</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=4378" data-fileid="4378" rel="">Save Config File -- FIXED.vi</a></p>
]]></description><guid isPermaLink="false">14145</guid><pubDate>Thu, 14 Apr 2011 00:34:15 +0000</pubDate></item><item><title><![CDATA[OOP Event Changes between 2009 &#38; 2010]]></title><link>https://lavag.org/topic/14167-oop-event-changes-between-2009-2010/</link><description><![CDATA[<p>Something fundamental seems to have changed between LV2009 &amp; 2010 about Events Refnums and OOP.</p>
<p>This arises from investigating why my code breaks down in LV2010 (LVOOP Event Handler in code repository).</p>
<p>In LV2009, it used to be possible to make an array of events where the event refnum of child classes could be carried on the wire of the parent class event refnum.</p>
<p>This has changed in LV2010 as it is no longer possible.</p>
<p>Digging a little on this issue, I found out that the "equals" primitive has also changed behavior between versions.</p>
<p>It seems that if the datatypes can be arrayed, it should also be allowed to compare them, right?. Granted, it should still return "false" if the refnums are not pointing to the same objects, but why the broken wire in 2009?  This behavior has been corrected in 2010 so it seems that <abbr title="LabVIEW">LV</abbr> recognized that these are of the same type (or at least in a parent/child perspective). So why would it be impossible to make an array to these?</p>
<p>At least, we can still pass a child object on the parent event refnum... and not a parent object on a child event refnum (consistent).</p>
<p>Anyone can confirm that this is a bug and not expected behavior? And obviously, one version has a bug... which one? Both?</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_04_2011/post-10515-0-70206400-1303307528.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_04_2011/post-10515-0-70206400-1303307528_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=4397" class="ipsImage ipsImage_thumbnailed" alt="post-10515-0-70206400-1303307528_thumb.p"></a></p>
]]></description><guid isPermaLink="false">14167</guid><pubDate>Wed, 20 Apr 2011 14:05:56 +0000</pubDate></item><item><title>Library Files Being Modified</title><link>https://lavag.org/topic/13794-library-files-being-modified/</link><description><![CDATA[<p>An issue I've been dealing with for some time is LabVIEW modifying libraries I generate when it shouldn't. This happens to me quite regularly, and was <a href="http://lavag.org/topic/13774-plugins-projects/page__view__findpost__p__82873" rel="">discussed recently</a>. I'm starting a new thread not to derail the old one...</p>
<p>Background: I have a re-use library which defines classes which are extended in other libraries or projects. Often when working on my projects, my re-use library files will be modified despite me having never explicitly done so.</p>
<p>I just got this when I was doing a checkin:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_02_2011/post-11742-0-18293500-1297352615.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_02_2011/post-11742-0-18293500-1297352615_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=3943" class="ipsImage ipsImage_thumbnailed" alt="post-11742-0-18293500-1297352615_thumb.p"></a></p>
<p>At the bottom of the list is a modified file in the LabVIEW.Messaging.2.0 library, which should not have been changed. I was working on classes extending from those defined in the messaging library, but never made explicit changes to the messaging library itself. There is a single offending line in the class file:</p>
<p>Working copy (truncated):</p>
<p><span style="font-family:'Lucida Console';">&lt;Property Name="NI.LVClass.FlattenedPrivateDataCTL" Type="Bin"&gt;%!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!%</span><span style="font-family:'Lucida Console';"><span style="color:#FF0000;">"1</span></span><span style="font-family:'Lucida Console';">5F.3</span></p>
<p>Base copy (also truncated):</p>
<p><span style="font-family:'Lucida Console';">&lt;Property Name="NI.LVClass.FlattenedPrivateDataCTL" Type="Bin"&gt;%!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!%</span><span style="font-family:'Lucida Console';"><span style="color:#FF0000;">!I</span></span><span style="font-family:'Lucida Console';">5F.3</span></p>
<p>Both class files (just the XML, none of the supproting VIs etc) are attached, v10.0f2. Though not in this case, I've also seen dynamic dispatch VIs from the base class become modified as well. Am I the only one that sees this behavior?</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=3946" data-fileid="3946" rel="">classdiffs.zip</a></p>
<p>-m</p>
]]></description><guid isPermaLink="false">13794</guid><pubDate>Thu, 10 Feb 2011 15:59:01 +0000</pubDate></item><item><title>Not A Refnum - Behaving poorly since ?</title><link>https://lavag.org/topic/13354-not-a-refnum-behaving-poorly-since/</link><description><![CDATA[<p>This came by and bit me in the behind again:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_11_2010/post-11742-0-86795000-1289341269.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_11_2010/post-11742-0-86795000-1289341269_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=3434" class="ipsImage ipsImage_thumbnailed" alt="post-11742-0-86795000-1289341269_thumb.p"></a></p>
<p>Basically, that the Not A Refnum primitive returns true for non "native" types of refnums even if they are valid refnums. Why does this primitive even allow refnums to be used when the behavior is at best inconsistent? I swear it should either behave properly or be removed from the palette.</p>
<p>Sorry, venting. I know this is a well documented <span style="text-decoration:line-through;">bug</span> feature, has been so for <a href="http://lavag.org/topic/8889-using-a-semaphore-lock-correctly/" rel="">some</a> time, and the "proper" way of dealing with these refnums is using the Not A X Refnum.vi methods, but seriously? This primitive ends up more often being a source of bugs for me than not. I guess the C-style programmer in me just can't stop thinking of code such as:</p>
<p></p>
<pre class="ipsCode">if (pRefnum){    // Operate}else{    // Panic!}</pre>
<div></div>
<p></p>
<p>Sigh...</p>
<p>-m</p>
]]></description><guid isPermaLink="false">13354</guid><pubDate>Tue, 09 Nov 2010 22:32:04 +0000</pubDate></item><item><title>LabVIEW 2010 in-placeness crash bug</title><link>https://lavag.org/topic/13186-labview-2010-in-placeness-crash-bug/</link><description><![CDATA[<p>[<a href="http://forums.ni.com/t5/LabVIEW/LabVIEW-2010-in-placeness-crash-bug/td-p/1266804" rel="external nofollow">cross-posted to ni.com</a>]</p>
<p>[CAR#: 252210]</p>
<p>[<span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;">Update: I just tested this in </span></span></span><a href="https://lumen.ni.com/nicif/us/evallvmaint/content.xhtml" rel="external nofollow"><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;">LabVIEW 2010 SP1</span></span></span></a><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;"> and it seems to be fixed </span></span></span><img src="https://lavag.org/uploads/emoticons/default_smile.png" alt=":)"><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;">  The CAR Number (252210) is also in the list of </span></span></span><a href="http://zone.ni.com/devzone/cda/tut/p/id/12560" rel="external nofollow"><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;">LabVIEW 2010 Service Pack 1 Bug Fixes</span></span></span></a><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;">.  Thanks NI!</span></span></span>]</p>
<p>I found an odd LabVIEW 2010 bug that will cause a hard crash.  The bug appears to be related to how LabVIEW operates on data in-place and some interaction between clusters, arrays, and the Aum Array Elements node.  It's hard to describe verbally, so I'll just draw you a picture <img src="https://lavag.org/uploads/emoticons/default_smile.png" alt=":)"></p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_10_2010/post-17-017243400%201285951799.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_10_2010/post-17-017243400%201285951799_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=3157" class="ipsImage ipsImage_thumbnailed" alt="post-17-017243400 1285951799_thumb.png"></a></p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=3158" data-fileid="3158" rel="">LabVIEW 2010 CRASH.vi</a></p>
]]></description><guid isPermaLink="false">13186</guid><pubDate>Fri, 01 Oct 2010 16:52:08 +0000</pubDate></item><item><title>[BUG] XControl facade VI ends on first iteration</title><link>https://lavag.org/topic/13483-bug-xcontrol-facade-vi-ends-on-first-iteration/</link><description><![CDATA[<p>Hi,</p>
<p>Lately I came across a weird behavior on XControl. I think I've find out the issue but want to you to confirm the behavior.</p>
<p>As far as I understand XControl execution theory, it's impossible to have facade VI executing only one iteration loop (just TimeOut case called). However I can obtain this on certain condition. This  should not be a problem if data (display state and  Data) was not reseted to default value. Ui refresh code called with these inconsistent data give some really weird behavior (NB: data are not lost, next call give the consistent data...) </p>
<p>Here you can find the step to reproduce the issue :</p>
<p></p>
<ol style="list-style-type:decimal;"><li>Create an XControl</li>
<li>Add a slider on facade.vi FP</li>
<li>Add beep.vi in a "0" case, outside the while loop, link selector to while loop "i"</li>
<li>Add "Slide:Value change" event case</li>
<li>Add "Slide:Mouse Enter" event case</li>
<li>Drag the Xcontrol in a new VI FP</li>
</ol><p></p>
<p>Issue appears after step 5.</p>
<p>You'll find an example of this behavior in attachment.  </p>
<p>I've reproduced the issue in LV2009-SP1 and LV2010. Can you confirm me that you have the same behavior on your side ?</p>
<p>Work around is easy, but I think this deserves a bug fix from NI.</p>
<p>Regards,</p>
<p>Olivier</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=3637" data-fileid="3637" rel="">XCTimeOutIssue-2009.zip</a></p>
]]></description><guid isPermaLink="false">13483</guid><pubDate>Wed, 08 Dec 2010 10:02:47 +0000</pubDate></item><item><title>String.Text.FontColor reverts to last color when appending to string</title><link>https://lavag.org/topic/10410-stringtextfontcolor-reverts-to-last-color-when-appending-to-string/</link><description><![CDATA[<p>Following up on this <a href="https://lavag.org/topic/10355-how-to-assign-a-different-color-to-each-line-of-a-string-indicator/#comment-61988" rel="">question</a>, </p>
<p>I've been wondering if this behavior is a bug or an intended feature and would like your opinion.</p>
<p>Personaly I think it's a bug... but I might be biased by the end result I'm trying to reach.</p>
<p>The issue is that when one uses String.TextSelction.Start and End properties to change the font of a string subset, it works as one should expect. But as soon as you append a string to it, the whole string text reverts to the font of the last property set instead of just adding the text at the end and keeping the fonts for the rest of the string. To better understand, try out the VI below. I've deliberately added a delay to allow for more dramatic effect... <img src="https://lavag.org/uploads/emoticons/default_cool.png" alt=":cool:"></p>
<p>I can see why this "bug", if it is one, would be tough to get rid of. It has implications in how a string constant/control/indicator works. For example, if the font color from index 7 to 14 is "blue" and I insert a string subset at index 10, then it should follow that the text I insert would be "blue" also. </p>
<p>The current workaround is to read the fonts of all characters in the string before appending/inserting and to rewrite each fonts after the operation, to restore the colored lines. It is nice when working on short strings, but imagine a log system with hundreds if not thousands of lines, all different colors for informations, alarms, data, etc. Even with panel update differing, it would be time-consuming...</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=153" data-fileid="153" rel="">Change line color LV85.vi</a></p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=152" data-fileid="152" rel="">Change line color LV86.vi</a></p>
]]></description><guid isPermaLink="false">10410</guid><pubDate>Thu, 09 Jul 2009 15:10:42 +0000</pubDate></item><item><title>LabVIEW 2010 Know Issues Page</title><link>https://lavag.org/topic/13235-labview-2010-know-issues-page/</link><description><![CDATA[<p>For a list of LabVIEW 2010 Know issues look here</p>
<p><a href="http://zone.ni.com/devzone/cda/tut/p/id/11869" rel="external nofollow">LabVIEW 2010 Know Issues</a></p>
<p>Could A LAVA admin please pin this as the 2009 thread is thanks</p>
<p>Danny</p>
]]></description><guid isPermaLink="false">13235</guid><pubDate>Wed, 13 Oct 2010 09:17:00 +0000</pubDate></item><item><title>LabVIEW 2010 Patch f2 out</title><link>https://lavag.org/topic/13180-labview-2010-patch-f2-out/</link><description><![CDATA[<p>Hi</p>
<p>yesterday I noticed an f2 patch for LabVIEW 2010, just thought I'd post it here as nobody else has</p>
<p><a href="http://digital.ni.com/public.nsf/allkb/2B29EFC408699AC886257791004EAA9C?OpenDocument" rel="external nofollow">LabVIEW 2010 patch f2 Details</a></p>
]]></description><guid isPermaLink="false">13180</guid><pubDate>Thu, 30 Sep 2010 13:43:25 +0000</pubDate></item><item><title>Variant to Data bug</title><link>https://lavag.org/topic/13141-variant-to-data-bug/</link><description><![CDATA[<p>Just sent this one to NI but thought I would post here to in case anyone had any ideas.  See the att zip for a simple example.</p>
<p>It appears that the Variant to Data primitive *or* the Control Value.Get method does not like to work with complex typedef'd data.</p>
<p>This used to work in LV2009SP1 but now give me error 91 in LV2010.</p>
<p>Has anyone else run into this?</p>
<p>-John</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=3074" data-fileid="3074" rel="">Variant to Data bug.zip</a></p>
]]></description><guid isPermaLink="false">13141</guid><pubDate>Fri, 24 Sep 2010 02:05:32 +0000</pubDate></item><item><title>[CAR] Locked Classes in LabVIEW Project Library generates error at build time</title><link>https://lavag.org/topic/13162-car-locked-classes-in-labview-project-library-generates-error-at-build-time/</link><description><![CDATA[<p>I am just posting a link here to ni.com for an issue I recently had that got CAR'd (thanks Gmart) in case anyone else runs into it.</p>
<p><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;"><span style="font-size:10px;"><strong>Classes added to Library with protection property and set to </strong></span></span></span></span><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;"><span style="font-size:10px;"><strong><em>locked</em></strong></span></span></span></span><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;"><span style="font-size:10px;"><strong> </strong></span></span></span></span><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;"><span style="font-size:10px;"><strong>generates an error at build time.</strong></span></span></span></span></p>
<p><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;"><span style="font-size:10px;">At the link there are example files and a </span></span></span></span><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;"><span style="font-size:10px;">video demonstrating what I am seeing: </span></span></span></span><a href="http://forums.ni.com/t5/LabVIEW/Locking-LabVIEW-Project-Libraries-and-Building-Applications/m-p/1254024" rel="external nofollow"><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;">Locking LabVIEW Project Libraries and Building Applications</span></span></span></a></p>
<p><span style="color:#333333;"> </span></p>
<p><span style="color:#333333;"><span style="font-family:Arial;"> </span></span><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;">Cheers</span></span></span></p>
<p><span style="color:#333333;"><span style="font-family:Arial;"><span style="font-size:10px;">-JG</span></span></span></p>
]]></description><guid isPermaLink="false">13162</guid><pubDate>Tue, 28 Sep 2010 06:05:37 +0000</pubDate></item><item><title>Build Spec order does not take into account dependencies</title><link>https://lavag.org/topic/13008-build-spec-order-does-not-take-into-account-dependencies/</link><description><![CDATA[<p>I found a new bug in LV2010.  Back in LV8.6 I reported an issue where the order of the build specifications dictated the order they would be built when doing a build all.  So, If you created an EXE first, then an installer, then later added a web service and included it in the installer, the order of the build would be:</p>
<p>Exe &gt; installer &gt; web service.  Thus, when you make edits to the web service code and do a build all, your changes will not be picked up unless you build all twice, since the web service would be build AFTER the installer.</p>
<p>The work-around was to drag the build specs around to rearrange them so the web service came before the installer that needed it.  I reported this and said that a better fix would be for the project to detect this dependency and build the components in the right order.</p>
<p>Well, in LV2010, not only has this not been fixed, but you can no longer drag the build specs to rearrange them and work around the bug.  <img src="http://lavag.org/public/style_emoticons/default/frusty.gif" alt="frusty.gif"></p>
<p>So, better plan your project completely before trying to build any part of it...</p>
]]></description><guid isPermaLink="false">13008</guid><pubDate>Tue, 31 Aug 2010 21:25:23 +0000</pubDate></item><item><title><![CDATA[Right-click on Front Panel causes selection rectangle&#33;]]></title><link>https://lavag.org/topic/12097-right-click-on-front-panel-causes-selection-rectangle/</link><description><![CDATA[<p>I consider myself to be pretty advanced when it comes to searching; I couldn't find a single reference to this however.</p>
<p>Anytime I right-click on the FP, and dismiss the tool menu, I get a selection rectangle. If I don't catch it, moving outside the bounds of the FP will cause the FP to scroll to continue my unwanted "selection". So far this has been repeatable every time.</p>
<p>I am running LabVIEW 8.6.1f1, so I am curious to see whether this exists in LV2009. Also, I don't remember seeing this with previous versions, but it's hard to recall.</p>
<p>What do you all think? (I can't imagine this being expected behavior)</p>
<p>-Ian</p>
]]></description><guid isPermaLink="false">12097</guid><pubDate>Sun, 21 Mar 2010 22:02:53 +0000</pubDate></item><item><title>Property nodes for classes start off as unwirable</title><link>https://lavag.org/topic/12983-property-nodes-for-classes-start-off-as-unwirable/</link><description><![CDATA[<p>I don't want to call this a bug yet because I haven't hammered down how to make this behavior reproducible. But it happens often enough that I thought I'd solicit others to see if they've noticed the same behavior and have any idea on how to trigger it.</p>
<p>The problem: when creating class methods which define a property, the property nodes are often (initially) unusable.</p>
<p>For example, here's a screen shot showing the property definition for a class I'm working on:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_08_2010/post-11742-063820200%201282918006.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_08_2010/post-11742-063820200%201282918006_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=2822" class="ipsImage ipsImage_thumbnailed" alt="post-11742-063820200 1282918006_thumb.pn"></a></p>
<p>And the corresponding VIs, along with a chunk of code trying to use the VIs via a property node.</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_08_2010/post-11742-062984800%201282918040.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_08_2010/post-11742-062984800%201282918040_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=2823" class="ipsImage ipsImage_thumbnailed" alt="post-11742-062984800 1282918040_thumb.pn"></a></p>
<p>These are new VIs I've just defined, and are in fact the default VIs you get when you create an accessor VI. Notice how both VIs are executable, however the property node is black: it can not be wired. The blackening of the node is normal if you select a property which you do not have access to, however the code which uses the property is in a VI which is a member of the class, so it will always have access, and besides, the VIs are defined as public since I hadn't gotten around to changing them to a more restrictive scope yet.</p>
<p>What I've been doing when I come across this is forcing the VIs to recompile by switching a terminal on the connector pane of one of the VIs, thus breaking both VIs, then switching the terminal back. Everything works thereafter.</p>
<p>Weird is all I can say. Anyone else been playing this game? Any ideas on what's going on? It doesn't seem to happen all the time...</p>
<p>I should add that the code that uses the property is actually acting on a DVR wire of the class...</p>
]]></description><guid isPermaLink="false">12983</guid><pubDate>Fri, 27 Aug 2010 14:18:24 +0000</pubDate></item><item><title>Various Rendezvous Bugs</title><link>https://lavag.org/topic/12312-various-rendezvous-bugs/</link><description><![CDATA[<p>I've posted a list of various bugs in the Rendezvous VIs (the root bug caused a couple other bugs to show up) on the NI forums, here:</p>
<p><a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=492924" rel="external nofollow">http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=492924</a></p>
]]></description><guid isPermaLink="false">12312</guid><pubDate>Wed, 21 Apr 2010 22:30:49 +0000</pubDate></item><item><title>Why is LV beeping at me when I try to edit a VI icon?</title><link>https://lavag.org/topic/11094-why-is-lv-beeping-at-me-when-i-try-to-edit-a-vi-icon/</link><description><![CDATA[<p>When I double-click a VI's icon in the top right corner and I have the front panel open, LabVIEW opens the icon editor without complaints. But when I do the same from the diagram LabVIEW opens the icon editor and it also complains by beeping. Why? Is it ticklish?</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2009/post-2-125392512054.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2009/post-2-125392512054_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=944" class="ipsImage ipsImage_thumbnailed" alt="post-2-125392512054_thumb.png"></a></p>
]]></description><guid isPermaLink="false">11094</guid><pubDate>Sat, 26 Sep 2009 00:32:01 +0000</pubDate></item><item><title>Disappearing Glyphs and Templates</title><link>https://lavag.org/topic/12846-disappearing-glyphs-and-templates/</link><description><![CDATA[<p>Been working with 2010 for about a week now, have any of you had issues with your glyphs and icon templates directories getting wiped (in the LabVIEW Data directory). It's happened on both my desktop and laptop systems. Now the icon editor doesn't have any pre-made glyphs etc, all that's in each directory is a tiny (4 bytes) bin file, Templates.10.0.bin and Glyphs.10.0.bin.</p>
<p>I can't be the only one...</p>
]]></description><guid isPermaLink="false">12846</guid><pubDate>Fri, 06 Aug 2010 15:18:26 +0000</pubDate></item><item><title>Tree Control Bug</title><link>https://lavag.org/topic/12842-tree-control-bug/</link><description><![CDATA[<p><strong>Version Affected: </strong></p>
<p>This bug affect (at least) LabVIEW 2010 and LabVIEW 2009 (I did not test it on any more version)</p>
<p><strong>Platform:</strong></p>
<p>Windows (XP and 2007)</p>
<p><strong>Description:</strong></p>
<p>If you have a tree control with filter event case for "Edit Cell?", "Item Open? and "Item Close?" then clicking the node expand/collapse glyph (the"+" or "-") while editing another column will result with the text entered be applied to the node column (the first column) instead of the column that was being edited.</p>
<p><strong>More info:</strong></p>
<p>See attached video and attached example VI (<a href="https://lavag.org/applications/core/interface/file/attachment.php?id=2712" data-fileid="2712" rel="">treebug.vi</a>).</p>
<p>&lt;object id="scPlayer" class="embeddedObject" type="application/x-shockwave-flash" data="<a href="http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/jingswfplayer.swf%22" rel="external nofollow">http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/jingswfplayer.swf"</a> height="471" width="587"&gt;&lt;object id="scPlayer" class="embeddedObject" width="587" height="471" type="application/x-shockwave-flash" data="<a href="http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/jingswfplayer.swf%22" rel="external nofollow">http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/jingswfplayer.swf"</a> &gt;</p>
<p> &lt;param name="movie" value="<a href="http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/jingswfplayer.swf%22" rel="external nofollow">http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/jingswfplayer.swf"</a> /&gt;</p>
<p> &lt;param name="quality" value="high" /&gt;</p>
<p> &lt;param name="bgcolor" value="#FFFFFF" /&gt;</p>
<p> &lt;param name="flashVars" value="thumb=http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/FirstFrame.jpg&amp;containerwidth=587&amp;containerheight=471&amp;content=http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/2010-08-05_0849.swf&amp;blurover=false" /&gt;</p>
<p> &lt;param name="allowFullScreen" value="true" /&gt;</p>
<p> &lt;param name="scale" value="showall" /&gt;</p>
<p> &lt;param name="allowScriptAccess" value="always" /&gt;</p>
<p> &lt;param name="base" value="<a href="http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/%22" rel="external nofollow">http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/"</a> /&gt;</p>
<p>&lt;/object&gt;</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=2712" data-fileid="2712" rel="">treebug.vi</a>LabVIEW 2010</p>
<p> &lt;param name="movie" value="<a href="http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/jingswfplayer.swf%22" rel="external nofollow">http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/jingswfplayer.swf"</a>&gt;</p>
<p> &lt;param name="quality" value="high"&gt;</p>
<p> &lt;param name="bgcolor" value="#FFFFFF"&gt;</p>
<p> &lt;param name="flashVars" value="thumb=http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/FirstFrame.jpg&amp;containerwidth=587&amp;containerheight=471&amp;content=http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/2010-08-05_0849.swf&amp;blurover=false"&gt;</p>
<p> &lt;param name="allowFullScreen" value="true"&gt;</p>
<p> &lt;param name="scale" value="showall"&gt;</p>
<p> &lt;param name="allowScriptAccess" value="always"&gt;</p>
<p> &lt;param name="base" value="<a href="http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/%22" rel="external nofollow">http://content.screencast.com/users/pjm_jki/folders/Jing/media/392e8fc4-8f7f-4bc8-9574-b1abc6f1eb22/"</a>&gt;</p>
<p>&lt;/object&gt;</p>
]]></description><guid isPermaLink="false">12842</guid><pubDate>Thu, 05 Aug 2010 15:53:34 +0000</pubDate></item><item><title>Unintentional cursor tool resizing</title><link>https://lavag.org/topic/12577-unintentional-cursor-tool-resizing/</link><description><![CDATA[<p>Today's bug/feature:</p>
<p>Drop a waveform graph on the FP.  Make visible all the legends and the Graph Palette.  When you're done it might look something like this (I've grouped all that stuff together to make a smaller pic):</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_06_2010/post-9165-048972100%201276698173.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_06_2010/post-9165-048972100%201276698173_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=2432" class="ipsImage ipsImage_thumbnailed" alt="post-9165-048972100 1276698173_thumb.png"></a></p>
<p>Drop some other control on the FP (I suggest a numeric just because it's small).  Group it with the graph.  Right-click on the graph and select "Scale object with pane".  </p>
<p>Expand/contract the window.  Keep your eye on (what I think is called) the Cursor Movement tool.  It's in the bottom right hand corner of the above pic -- the square thing with the 4 diamonds in it.  </p>
<p>Unlike any of the other palette/legend objects, the cursor tool changes size along with the graph.  Even setting the pane back to the original size does not get the diamonds the right size and lined up again in the box.  Resize the window a few times and the tool is completely unusable.</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_06_2010/post-9165-056752900%201276698189.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_06_2010/post-9165-056752900%201276698189_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=2433" class="ipsImage ipsImage_thumbnailed" alt="post-9165-056752900 1276698189_thumb.png"></a></p>
<p>This resizing ot the cursor tool does not happen if the graph isn't grouped with another control.  Unfortunately, I have to have the graph in a group so all controls resize together.</p>
<p>I can't find any way to access that box and the diamonds programmatically.  My fallback is to program my own right/left cursor movement controls, which isn't difficult, it's just annoying when there are tools to do it built in to <abbr title="LabVIEW">LV</abbr>.</p>
<p>Is this a bug or a feature?  All I know is it's bugging me.</p>
]]></description><guid isPermaLink="false">12577</guid><pubDate>Wed, 16 Jun 2010 14:50:45 +0000</pubDate></item><item><title>XML Parser Reference Count Crash</title><link>https://lavag.org/topic/11949-xml-parser-reference-count-crash/</link><description><![CDATA[<p><strong>Summary:</strong> When dealing with the XML DOM functions if you close any reference to the DOMDocument and try to use another reference to the DOMDocument, LabVIEW crashes. The DOMDocument references do not appear to count properly.</p>
<p>See attached VI: <a href="https://lavag.org/applications/core/interface/file/attachment.php?id=1899" data-fileid="1899" rel="">crashtacular.vi</a></p>
<p><strong>Steps to reproduce:</strong></p>
<p>Open attached VI, set a path to a file which will be written. Execute the VI. Notice how the execution succeeds, and the file is written.</p>
<p>Open the block diagram of the VI. Look for the following code...</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_02_2010/post-11742-126669973214.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_02_2010/post-11742-126669973214_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=1900" class="ipsImage ipsImage_thumbnailed" alt="post-11742-126669973214_thumb.png"></a></p>
<p>Note the call to NI_XML.lvlib:Close.vi in the diagram disabled structure. Swap the cases such that the close call is made.</p>
<p><span style="text-decoration:underline;">Warning! This will crash LabVIEW, make sure you've saved any other data you have open:</span> Execute the VI.</p>
<p><strong>Expected behavior:</strong> After obtaining a new reference to the Document, I expect I should have to close it as I would any other reference I obtain dynamically. I'd only expect the Document to fall from scope after the last reference to it has been closed, instead closing any reference appears to destroy the data.</p>
<p>This bug has existed as long as I can remember, but after being bitten by it again I decided to try to document it. What are your opinions?</p>
<p>My $0.02: It's a bug. If it's by design, it is at best inconsistent with how references are used in the rest of the library, let alone the rest of LabVIEW or programming in general. I see no mention of it in the list of <a href="http://zone.ni.com/devzone/cda/tut/p/id/9951" rel="external nofollow">known issues</a>, however I've seen previous posts regarding the issue over at ni.com in the past.</p>
<p>-Michael</p>
]]></description><guid isPermaLink="false">11949</guid><pubDate>Sat, 20 Feb 2010 21:15:30 +0000</pubDate></item><item><title>Control.TextColor (255,255,255) returns black</title><link>https://lavag.org/topic/11841-controltextcolor-255255255-returns-black/</link><description><![CDATA[<p>See <a href="http://lavag.org/topic/11741-discuss-ui-tools-addon-control-class/page__view__findpost__p__71505" rel="">this link</a> to reproduce bug.</p>
<p>It occurs when programmatically setting the text color through a property node as well.</p>
<p>Only occurs with System Style and when backgroup is transparent.</p>
]]></description><guid isPermaLink="false">11841</guid><pubDate>Thu, 28 Jan 2010 18:15:32 +0000</pubDate></item><item><title>bug in project explorer with auto-populating foders and vit.</title><link>https://lavag.org/topic/11777-bug-in-project-explorer-with-auto-populating-foders-and-vit/</link><description><![CDATA[<p>When you create a new VI from template (*.vit) that is in an auto-populating folder (by right-clicking on the vit in the project explorer), no matter where you save the newly created VI, in the project explorer this newly created VI will appear in the auto-populating folder in which the original vit is.</p>
<p>That's annoying. <img src="https://lavag.org/uploads/emoticons/default_angry.png" alt=":angry:"></p>
]]></description><guid isPermaLink="false">11777</guid><pubDate>Thu, 14 Jan 2010 09:53:52 +0000</pubDate></item><item><title>Strip Path on network path can crash LV</title><link>https://lavag.org/topic/11316-strip-path-on-network-path-can-crash-lv/</link><description><![CDATA[<p>Just reporting a bug I stumbled on recently.</p>
<p>The problem comes when you want to strip a network path that looks like this "\\server\dir\subdir".</p>
<p>When stripping the path with the "Strip Path" primitive, it would correctly output "\\server\dir" for the <em>stripped path</em> and "subdir" for <em>name</em>.</p>
<p>Doing it a second time should return "\\server" for <em>stripped path</em> and "\dir" for <em>name</em>. </p>
<p>Instead, you get an empty stripped path and the input is copied to <em>name</em> output (Incorrect results). Furthermore, if the stripped path output is wired, it will most likely crash LabVIEW. The current workaround is to assign a drive letter to the network path using "Map Network Drive" in Windows. (Dunno for other OS) It works fine with path that start with "X:\"</p>
<p>This has been tested with LV2009 on 32-bit system (WinXP).</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_10_2009/post-10515-125675292545.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_10_2009/post-10515-125675292545_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=1180" class="ipsImage ipsImage_thumbnailed" alt="post-10515-125675292545_thumb.png"></a></p>
]]></description><guid isPermaLink="false">11316</guid><pubDate>Wed, 28 Oct 2009 18:07:17 +0000</pubDate></item><item><title>LabVIEW Class Missing Member Dialog</title><link>https://lavag.org/topic/11271-labview-class-missing-member-dialog/</link><description><![CDATA[<p>If you open a class that can't find a member of the class, you get this message in the error dialog:</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_10_2009/post-5746-125607842852.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_10_2009/post-5746-125607842852_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=1136" class="ipsImage ipsImage_thumbnailed" alt="post-5746-125607842852_thumb.png"></a></p>
<p>Note that it doesn't tell you what file(s) are missing. This makes it a real pain to figure out what is 'wrong'. Note: the reason I got this dialog is because LabVIEW crashed while I was editing my class so some changes to the class library (including members that were renamed) were lost.</p>
]]></description><guid isPermaLink="false">11271</guid><pubDate>Tue, 20 Oct 2009 22:42:01 +0000</pubDate></item><item><title>Unexpected Behavior with Vista and Write Protected Files</title><link>https://lavag.org/topic/11285-unexpected-behavior-with-vista-and-write-protected-files/</link><description><![CDATA[<p>I've noticed a bizarre behavior with LabVIEW running on Vista, and am wondering if this is a bug I should report, or if someone has already resolved this issue. This behavior occurs with both LV8.5.1 and 8.6.1.</p>
<p>Here's how to duplicate my issue:</p>
<p>1) place a path control on a front panel</p>
<p>2) click the browse button and navigate to a write-protected file</p>
<p>3) select the write-protected file, and then click OK</p>
<p>For me, doing the above actions causes a dialog box to be displayed that says something to the effect "You have selected a write protected file. Please select a different file" (or something very similar). It happens whether the VI is running or just in edit mode.</p>
<p>This is without trying to even read the file, just selecting it. Has anyone noticed this behavior? Is it Vista? Is it LabVIEW? Is it the interaction between them?</p>
<p>This issue precludes me from reading in the contents of any read-only file. Bizzarre.</p>
<p>Any help would be appreciated. Do you have the same issue? Does reading a write-protected file work OK for you?</p>
<p>Thanks very much, in advance, Rob.</p>
]]></description><guid isPermaLink="false">11285</guid><pubDate>Thu, 22 Oct 2009 17:05:22 +0000</pubDate></item><item><title>LabVIEW 2009 Known Issues</title><link>https://lavag.org/topic/11264-labview-2009-known-issues/</link><description><![CDATA[<p>For a list of <a href="http://zone.ni.com/devzone/cda/tut/p/id/9951" rel="external nofollow">known issues in LabVIEW 2009</a>:</p>
<p><a href="http://zone.ni.com/devzone/cda/tut/p/id/9951" rel="external nofollow">LabVIEW 2009 Known Issues</a></p>
]]></description><guid isPermaLink="false">11264</guid><pubDate>Mon, 19 Oct 2009 18:32:38 +0000</pubDate></item><item><title>Suspend When Called bug in 2009</title><link>https://lavag.org/topic/11252-suspend-when-called-bug-in-2009/</link><description><![CDATA[<p>I use the suspend when called feature a lot. Its a really great feature for debugging. However in LabVIEW 2009, the feature no longer works the same way.</p>
<p>In LabVIEW &lt;=8.6, you could update the inputs to a suspended VI and rerun your code and it would use those inputs to determine code execution.</p>
<p>In LabVIEW 2009, if you change the inputs of the suspended VI, the VI still runs with whatever the caller VI passed into the VI.</p>
<p>Here's a video to demonstrate this issue.</p>
<p><a href="http://content.screencast.com/users/omar.mussa/folders/Jing/media/02e61957-971b-4e32-a84e-d91750be45f8/00000135.swf" rel="external nofollow">http://content.scree...f8/00000135.swf</a></p>
<p>
</p>
<div class="ipsEmbeddedVideo"><div><iframe width="480" height="270" src="https://www.youtube.com/embed/CNzZSW_ZWV0?feature=oembed" frameborder="0" allowfullscreen="true"></iframe></div></div>
]]></description><guid isPermaLink="false">11252</guid><pubDate>Fri, 16 Oct 2009 20:20:12 +0000</pubDate></item><item><title>LabVIEW 2009 F2 Patch Out</title><link>https://lavag.org/topic/11237-labview-2009-f2-patch-out/</link><description><![CDATA[<p>The Full details <a href="http://digital.ni.com/public.nsf/allkb/C3F88F3596A164AD86257647006FB022" rel="external nofollow">here</a>.</p>
<p><a href="http://digital.ni.com/public.nsf/allkb/C3F88F3596A164AD86257647006FB022" rel="external nofollow">LabVIEW 2009 f2 Patch Details</a></p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="11237" data-ipsquote-contentclass="forums_Topic"><div>The LabVIEW 2009 f2 patch resolves the following issues:<p>ID	Description</p>
<p>151665	Memory leak when using .NET callback in LabVIEW</p>
<p>178614	Type defined constant can lose value when updating to edited typedef if feedback node also on diagram</p>
<p>182053	Custom About screen not displayed with a LabVIEW built application</p>
<p>183560	Graph does not display timestamps on X-axis as expected when using timestamp data type</p>
<p>185219	Error 1502 while building a LabVIEW application</p>
<p>185348	VIs with very large type descriptors (like the Enum with 2000 items) will crash on load after being saved in LabVIEW 2009</p>
<p>185362	Timed loops using a timing source terminal upgraded from LabVIEW 8.6 to 2009 will function correctly, but incorrectly indicate the built-in timing source is used.</p>
<p>185980	Editing An Event Structure With A String Event Might Crash Localized Versions Of LabVIEW 2009</p>
<p>186276	Certain references (SoftMotion, WSN...) may incorrectly refer to data associated with a different reference</p>
<p>186418	Image Display control does not update using Value property node in a LabVIEW built application</p>
<p>186602	Application Builder uses too much memory, which may result in build failures</p>
<p>187759	Cannot launch LabVIEW 2009 when using Microsoft Mandatory User Profiles</p>
</div></blockquote>
]]></description><guid isPermaLink="false">11237</guid><pubDate>Wed, 14 Oct 2009 05:06:22 +0000</pubDate></item><item><title>Tab Control Bug</title><link>https://lavag.org/topic/11081-tab-control-bug/</link><description><![CDATA[<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">Hi</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">I guess many of you have encountered this issue with the tab control.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">Is this a bug or something everybody knows about and always just manage to live with it.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">The problem is that the Tab Control don’t always changes Tab when you programmatically changes is using a local variable, if you at the same time updates a control or indicator using the property node which is located on any of the tabs.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">Why??</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">(</span></span><abbr title="LabVIEW"><span style="font-size:12px;"><span style="font-family:'Times New Roman';">LV</span></span></abbr><span style="font-size:12px;"><span style="font-family:'Times New Roman';"> 8.6)</span></span></p>
<p>//Mikael</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=932" data-fileid="932" rel="">TabTest.vi</a></p>
]]></description><guid isPermaLink="false">11081</guid><pubDate>Thu, 24 Sep 2009 21:58:16 +0000</pubDate></item><item><title>LV2009 f1 patch out</title><link>https://lavag.org/topic/11080-lv2009-f1-patch-out/</link><description><![CDATA[<a href="http://joule.ni.com/nidu/cds/view/p/id/1429/lang/en" rel="external nofollow">http://joule.ni.com/nidu/cds/view/p/id/1429/lang/en</a>]]></description><guid isPermaLink="false">11080</guid><pubDate>Thu, 24 Sep 2009 18:08:04 +0000</pubDate></item><item><title>Data Entry Problems</title><link>https://lavag.org/topic/11016-data-entry-problems/</link><description><![CDATA[<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">Hi</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">My version of LabVIEW is behaving odd when it comes to Data Entry limits.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">Have YOU seen the same problem?</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">When I open the “Data Entry…” option for a numeric the first time it does show me the right limits for that control.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">When I open the same option for the next numeric control these values don’t show the correct values.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">They still show the first opened control’s Data Entry-limits.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">And if I change the values, that values changes for the other control not the one I open the dialog from.</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">This is in LabVIEW 8.6</span></span></p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2009/post-941-125323212491.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2009/post-941-125323212491_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=846" class="ipsImage ipsImage_thumbnailed" alt="post-941-125323212491_thumb.png"></a></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">Cheers,</span></span></p>
<p><span style="font-size:12px;"><span style="font-family:'Times New Roman';">Mikael</span></span></p>
]]></description><guid isPermaLink="false">11016</guid><pubDate>Fri, 18 Sep 2009 00:01:14 +0000</pubDate></item><item><title>To report a bug to National Instruments...</title><link>https://lavag.org/topic/10284-to-report-a-bug-to-national-instruments/</link><description><![CDATA[<p>To report a bug about LabVIEW or any other NI product, visit <a href="http://sine.ni.com/apps/utf8/niae_asc.main" rel="external nofollow">here</a>.</p>]]></description><guid isPermaLink="false">10284</guid><pubDate>Fri, 03 Jul 2009 02:57:03 +0000</pubDate></item><item><title><![CDATA[&#34;List Folder&#34; Returns Incorrect Results for Folders on Network Drives]]></title><link>https://lavag.org/topic/10982-list-folder-returns-incorrect-results-for-folders-on-network-drives/</link><description><![CDATA[<p>(crossposted to <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;thread.id=440172" rel="external nofollow">NI Forums</a>)</p>
<p>I'm seeing a behavior where LabVIEW's <strong>List Folder</strong> primitive returns incorrect results for a folder on a mapped network drive, if the folder contains a file whose name starts with any of:</p>
<p></p><div style="margin-left:25px;"><strong>&lt;space&gt; ! # $ % &amp; ( ) + , -</strong></div>
<p>(I suspect it's actually any ASCII character whose value is less than or equal to <a href="http://www.asciitable.com/" rel="external nofollow">0x2D</a>, but some of those are illegal and/or unprintable).</p>
<p>OS: WindowsXP</p>
<p><abbr title="LabVIEW">LV</abbr> Version: LabVIEW 8.6 and LabVIEW 2009</p>
<p><strong>Steps to Reproduce</strong></p>
<p>(1) Map a network drive to a drive letter (I'm not sure that a mapped drive is necessary, and the network drive in this demonstration is a samba share from a Linux system).</p>
<p>(2) Create a file in a directory on the network share from #1, e.g. "Z:\list-folder-bug\file.txt".</p>
<p>(3) Note that LabVIEW's <strong>List Folder</strong> function returns correct results when listing the folder you just created.</p>
<p></p>
<div style="text-align:center;"><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2009/post-2992-125269899986.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2009/post-2992-125269899986_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=795" class="ipsImage ipsImage_thumbnailed" alt="post-2992-125269899986_thumb.png"></a></div>
<p></p>
<p></p>
<p>(4) Rename the file you created in #2 above, changing its name to <strong>!file.txt</strong>.  (The key is that the filename must <em>start</em> with <strong>!</strong>, or any of the other characters listed above.)</p>
<p>(5) Note that LabVIEW's <strong>List Folder</strong> function now returns <em>two elements in </em><em><strong>folder names</strong></em><em> that don't really exist</em>.</p>
<p></p>
<div style="text-align:center;">
<a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2009/post-2992-125269900668.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2009/post-2992-125269900668_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=796" class="ipsImage ipsImage_thumbnailed" alt="post-2992-125269900668_thumb.png"></a><div style="text-align:left;">
<p><strong>Why This Is Important</strong></p>
<p>This is important because these phantom directories "." and ".." are expanded to <em>"current directory"</em> and <em>"parent directory,"</em> which means LabVIEW thinks that the target directory contains a copy of itself and its parent.  This produces an infinite recursion when listing directory contents recursively.  In particular, the OpenG function <strong>List Directory Recursively</strong> is affected by this bug and enters an infinite loop when run on the directory shown in #5.</p>
<p><strong>Bonus Information</strong></p>
<p>Note, also that the <em>dir</em> command at the Windows Command Prompt sorts the file list in an odd way for files that begin with the aforementioned characters, <em>but only on network shares</em>.</p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2009/post-2992-125269991409.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2009/post-2992-125269991409_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=797" class="ipsImage ipsImage_thumbnailed" alt="post-2992-125269991409_thumb.png"></a></p>
<div style="text-align:center;"></div>
<p></p>
</div>
<a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2009/post-2992-125269900668.png" rel="external nofollow"></a>
</div>
<p></p>
]]></description><guid isPermaLink="false">10982</guid><pubDate>Fri, 11 Sep 2009 20:14:34 +0000</pubDate></item><item><title>LV2009, closing parent XML ref crashes LV</title><link>https://lavag.org/topic/10929-lv2009-closing-parent-xml-ref-crashes-lv/</link><description><![CDATA[<p>Open Query XML Document for Multiple Nodes.vi (from the example finder), and delete the error line immediately after the for loop.  Save what you're working on... and run the XML VI.  <abbr title="LabVIEW">LV</abbr> apparently fishes around for a moment, then goes away.</p>
<p>Joe Z.</p>
<p>x-post to <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=437600" rel="external nofollow">http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=437600</a></p>
<p><a class="ipsAttachLink ipsAttachLink_image" href="https://lavag.org/uploads/monthly_09_2009/post-793-125184687271.png" rel="external nofollow"><img src="https://lavag.org/uploads/monthly_09_2009/post-793-125184687271_thumb.png" data-fileid="%7B___base_url___%7D/applications/core/interface/file/attachment.php?id=762" class="ipsImage ipsImage_thumbnailed" alt="post-793-125184687271_thumb.png"></a></p>
]]></description><guid isPermaLink="false">10929</guid><pubDate>Tue, 01 Sep 2009 23:14:55 +0000</pubDate></item><item><title>Register for Events performance issue</title><link>https://lavag.org/topic/10938-register-for-events-performance-issue/</link><description><![CDATA[<p>In the following video you will see that, for some unknown reason, register for events (mouse move) seem to suffer from performance issues compare to the same code that do not use the register for events but the "static" mouse move event.</p>
<p></p>
<ul>
<li>If the first part of the video, the code use the <em>"Pane": Mouse Move</em> static event and the result is very snappy and fast.</li>
<li>In the second part I change this to use the mouse move pane registered event and suddenly everything is a lot more sluggish (and it is not usable).</li>
</ul>
<p>This is too bad because the event registration make for nicer reusable code...</p>
<p>         &lt;object width="1092" height="444"&gt; &lt;param name="movie" value="<a href="&lt;a%20href=" http: rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/jingswfplayer.swf"</a>&gt;&lt;/param&gt;'&gt;<a href="http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/jingswfplayer.swf%22" rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/jingswfplayer.swf"</a>&gt;&lt;/param&gt; &lt;param name="quality" value="high"&gt;&lt;/param&gt; &lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;/param&gt; &lt;param name="flashVars" value="thumb=http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/FirstFrame.jpg&amp;containerwidth=1092&amp;containerheight=444&amp;loaderstyle=jing&amp;content=http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/2009-09-02_1042.swf"&gt;&lt;/param&gt; &lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt; &lt;param name="scale" value="showall"&gt;&lt;/param&gt; &lt;param name="allowScriptAccess" value="always"&gt;&lt;/param&gt; &lt;param name="base" value="<a href="&lt;a%20href=" http: rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/"</a>&gt;&lt;/param&gt;'&gt;<a href="http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/%22" rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/"</a>&gt;&lt;/param&gt;  &lt;embed src="<a href="http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/jingswfplayer.swf%22" rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/jingswfplayer.swf"</a> quality="high" bgcolor="#FFFFFF" width="1092" height="444" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/FirstFrame.jpg&amp;containerwidth=1092&amp;containerheight=444&amp;loaderstyle=jing&amp;content=http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/2009-09-02_1042.swf" allowFullScreen="true" base="<a href="http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/%22" rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/26599c2f-fc26-4068-8a54-fc0138c08228/"</a> scale="showall"&gt;&lt;/embed&gt; &lt;/object&gt;</p>
<p><strong>Note: This is in LabVIEW 2009</strong></p>
<p>PJM</p>
]]></description><guid isPermaLink="false">10938</guid><pubDate>Wed, 02 Sep 2009 17:58:12 +0000</pubDate></item><item><title>LV2009, MCL still unusable for large selections</title><link>https://lavag.org/topic/10898-lv2009-mcl-still-unusable-for-large-selections/</link><description><![CDATA[<p>MCL = MultiColumn Listbox</p>
<p>Broken since... erm, 7.1ish?</p>
<p>To see the bug, select the first element in the MCL, scroll to the bottom, and shift click the last element.  <img src="http://lavag.org/public/style_emoticons/default/book.gif" alt="book.gif">  It pegs a processor core, too.</p>
<p>To see the correct behavior, restart the VI, scroll to the bottom of the MCL, select the last element, scroll to the top, and shift click the first element.</p>
<p>I'd hate for it to fall off the bug list.</p>
<p>Joe Z.</p>
<p>x-post to <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;thread.id=436150" rel="external nofollow">http://forums.ni.com/ni/board/message?board.id=170&amp;thread.id=436150</a></p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=735" data-fileid="735" rel="">MCL_Bug.vi</a></p>
]]></description><guid isPermaLink="false">10898</guid><pubDate>Wed, 26 Aug 2009 17:56:33 +0000</pubDate></item><item><title>Cryptic corner cases</title><link>https://lavag.org/topic/10876-cryptic-corner-cases/</link><description><![CDATA[<p><abbr title="LabVIEW">LV</abbr> 8.6, dynamically calling a VI with an XControl from an exe with the debugger attached.  The build failed to bundle some things into the exe... nothing new, but the error messages are nice <img src="https://lavag.org/uploads/emoticons/default_wink.png" alt=";)"></p>
<p><strong>c:\builds\penguin\labview\branches\Saturn\dev\source\linker\xlinker.cpp(739) : DWarn: GetAbilityVI should never have to actually load the VI; Nick Neumann was wrong. Go yell at him now!</strong></p>
<p><strong>c:\builds\penguin\labview\branches\Saturn\dev\source\panel\xctlVICalls.cpp(353) : DWarnInternal: Expected async ref, something's gone awry!</strong></p>
<p>x-posted to: <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;thread.id=435384" rel="external nofollow">http://forums.ni.com/ni/board/message?board.id=170&amp;thread.id=435384</a></p>
]]></description><guid isPermaLink="false">10876</guid><pubDate>Mon, 24 Aug 2009 23:58:10 +0000</pubDate></item><item><title>Mouse Move Event interfering with scrolling</title><link>https://lavag.org/topic/10858-mouse-move-event-interfering-with-scrolling/</link><description><![CDATA[<p>This has been tested on LabVIEW 2009:</p>
<p>If you run the attached VI you will see that the scrolling will stop even tough you did not "mouse up".</p>
<p>If you remove the mouse move event, everything is back to normal.</p>
<p>Somehow the mouse move event is interfering with the scrolling.</p>
<p>        &lt;object width="886" height="530"&gt; &lt;param name="movie" value="<a href="&lt;a%20href=" http: rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/jingswfplayer.swf"</a>&gt;&lt;/param&gt;'&gt;<a href="http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/jingswfplayer.swf%22" rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/jingswfplayer.swf"</a>&gt;&lt;/param&gt; &lt;param name="quality" value="high"&gt;&lt;/param&gt; &lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;/param&gt; &lt;param name="flashVars" value="thumb=http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/FirstFrame.jpg&amp;containerwidth=886&amp;containerheight=530&amp;loaderstyle=jing&amp;content=http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/2009-08-20_1533.swf"&gt;&lt;/param&gt; &lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt; &lt;param name="scale" value="showall"&gt;&lt;/param&gt; &lt;param name="allowScriptAccess" value="always"&gt;&lt;/param&gt; &lt;param name="base" value="<a href="&lt;a%20href=" http: rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/"</a>&gt;&lt;/param&gt;'&gt;<a href="http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/%22" rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/"</a>&gt;&lt;/param&gt;  &lt;embed src="<a href="http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/jingswfplayer.swf%22" rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/jingswfplayer.swf"</a> quality="high" bgcolor="#FFFFFF" width="886" height="530" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/FirstFrame.jpg&amp;containerwidth=886&amp;containerheight=530&amp;loaderstyle=jing&amp;content=http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/2009-08-20_1533.swf" allowFullScreen="true" base="<a href="http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/%22" rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/01db0d71-dee8-4cff-89e4-753c60f812f2/"</a> scale="showall"&gt;&lt;/embed&gt; &lt;/object&gt;</p>
<p>Note: while this does not seem that bad in the video above, in some situation it is so bad that it becomes very difficult to scroll.</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=643" data-fileid="643" rel="">mouse move scroll bug.vi</a></p>
<p>PJM</p>
]]></description><guid isPermaLink="false">10858</guid><pubDate>Thu, 20 Aug 2009 22:43:16 +0000</pubDate></item><item><title><![CDATA[Maximizing Window while Control Hidden Doesn&#39;t Behave Properly]]></title><link>https://lavag.org/topic/10848-maximizing-window-while-control-hidden-doesnt-behave-properly/</link><description><![CDATA[<p>I recently encountered a bug that is in 8.x versions of LabVIEW (and probably in 2009) and a CAR has been issued (#182933).</p>
<p>Hidden objects don't move when resizing a window, which causes display problems when you want to show them.  I've attached a sample VI demonstrating the problem.</p>
<p>Bruce</p>
<p><a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=432116#M432116" rel="external nofollow">http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=432116#M432116</a></p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=633" data-fileid="633" rel="">Resize Window while Control Hidden Test.vi</a></p>
]]></description><guid isPermaLink="false">10848</guid><pubDate>Thu, 20 Aug 2009 13:22:20 +0000</pubDate></item><item><title>Bad Bold Text Rendering in String Control</title><link>https://lavag.org/topic/10664-bad-bold-text-rendering-in-string-control/</link><description><![CDATA[<p>Run the attached VI and see what happens.</p>
<p>&lt;object width="456" height="426"&gt; &lt;param name="movie" value="<a href="&lt;a%20href=" http: rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/jingswfplayer.swf"</a>&gt;&lt;/param&gt;'&gt;<a href="http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/jingswfplayer.swf%22" rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/jingswfplayer.swf"</a>&gt;&lt;/param&gt; &lt;param name="quality" value="high"&gt;&lt;/param&gt; &lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;/param&gt; &lt;param name="flashVars" value="thumb=http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/FirstFrame.jpg&amp;containerwidth=456&amp;containerheight=426&amp;loaderstyle=jing&amp;content=http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/2009-07-31_1746.swf"&gt;&lt;/param&gt; &lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt; &lt;param name="scale" value="showall"&gt;&lt;/param&gt; &lt;param name="allowScriptAccess" value="always"&gt;&lt;/param&gt; &lt;param name="base" value="<a href="&lt;a%20href=" http: rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/"</a>&gt;&lt;/param&gt;'&gt;<a href="http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/%22" rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/"</a>&gt;&lt;/param&gt;  &lt;embed src="<a href="http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/jingswfplayer.swf%22" rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/jingswfplayer.swf"</a> quality="high" bgcolor="#FFFFFF" width="456" height="426" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/FirstFrame.jpg&amp;containerwidth=456&amp;containerheight=426&amp;loaderstyle=jing&amp;content=http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/2009-07-31_1746.swf" allowFullScreen="true" base="<a href="http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/%22" rel="external nofollow">http://content.screencast.com/users/PJM_LabVIEW/folders/Jing/media/58a1706c-ad69-4ae0-ae13-a88575dec213/"</a> scale="showall"&gt;&lt;/embed&gt; &lt;/object&gt;           </p>
<p>I think this happen only with string that have formatted text.</p>
<p>Note: This bug is present from LabVIEW 8.21 all the way to LabVIEW 2009.</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=458" data-fileid="458" rel="">Bold Redraw Bug.vi</a></p>
<p><abbr title="LabVIEW"><span style="font-size:8px"><em>LV</em></span></abbr><span style="font-size:8px"><em> 8.21</em></span></p>
<p>PJM</p>
]]></description><guid isPermaLink="false">10664</guid><pubDate>Sat, 01 Aug 2009 00:51:12 +0000</pubDate></item><item><title>Missing coercion dot</title><link>https://lavag.org/topic/10785-missing-coercion-dot/</link><description><![CDATA[<p>Joining an I32 with a U16 returns a corrupt result when the U16 source is a cluster.  No coercion dot warning, may indicate that <abbr title="LabVIEW">LV</abbr> doesn't automatically handle the different data types on a join function at all.</p>
<p>Workaround: use a U16 to I32 converter before joining the numbers.</p>
<p><a href="https://lavag.org/applications/core/interface/file/attachment.php?id=576" data-fileid="576" rel="">join-bug.vi</a></p>
]]></description><guid isPermaLink="false">10785</guid><pubDate>Fri, 14 Aug 2009 12:02:52 +0000</pubDate></item></channel></rss>
