<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://labviewwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Not_a_Refnum_Constant</id>
	<title>Not a Refnum Constant - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://labviewwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Not_a_Refnum_Constant"/>
	<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Not_a_Refnum_Constant&amp;action=history"/>
	<updated>2026-05-01T02:49:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Not_a_Refnum_Constant&amp;diff=31117&amp;oldid=prev</id>
		<title>Q at 18:21, 8 June 2021</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Not_a_Refnum_Constant&amp;diff=31117&amp;oldid=prev"/>
		<updated>2021-06-08T18:21:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:21, 8 June 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{stub}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{stub}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/File I/O/File Constants{{!}}File Constants palette|type=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;function&lt;/del&gt;|icon=File Constants Palette - Not a Refnum Constant.png}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/File I/O/File Constants{{!}}File Constants palette|type=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;constant&lt;/ins&gt;|icon=File Constants Palette - Not a Refnum Constant.png}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Not a Refnum Constant&amp;#039;&amp;#039;&amp;#039; returns a refnum whose value is &amp;lt;code&amp;gt;Not A Refnum&amp;lt;/code&amp;gt;. You can use this refnum as an output from structures and subVIs when an error occurs.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Not a Refnum Constant&amp;#039;&amp;#039;&amp;#039; returns a refnum whose value is &amp;lt;code&amp;gt;Not A Refnum&amp;lt;/code&amp;gt;. You can use this refnum as an output from structures and subVIs when an error occurs.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Q</name></author>
	</entry>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Not_a_Refnum_Constant&amp;diff=31116&amp;oldid=prev</id>
		<title>Q: Added page</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Not_a_Refnum_Constant&amp;diff=31116&amp;oldid=prev"/>
		<updated>2021-06-08T18:15:38Z</updated>

		<summary type="html">&lt;p&gt;Added page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{stub}}&lt;br /&gt;
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/File I/O/File Constants{{!}}File Constants palette|type=function|icon=File Constants Palette - Not a Refnum Constant.png}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Not a Refnum Constant&amp;#039;&amp;#039;&amp;#039; returns a refnum whose value is &amp;lt;code&amp;gt;Not A Refnum&amp;lt;/code&amp;gt;. You can use this refnum as an output from structures and subVIs when an error occurs.&lt;br /&gt;
&lt;br /&gt;
For example, you can use the &amp;#039;&amp;#039;&amp;#039;Not a Refnum constant&amp;#039;&amp;#039;&amp;#039; to verify that the refnum is valid before passing the refnum to the next file I/O operation. Wire the &amp;#039;&amp;#039;&amp;#039;error out&amp;#039;&amp;#039;&amp;#039; cluster of a file I/O function to the selector terminal of a Case structure. Place the &amp;#039;&amp;#039;&amp;#039;Not a Refnum constant&amp;#039;&amp;#039;&amp;#039; in the &amp;lt;code&amp;gt;Error&amp;lt;/code&amp;gt; subdiagram and wire the constant through the output tunnel and to the next file I/O operation. In the &amp;lt;code&amp;gt;No Error&amp;lt;/code&amp;gt; subdiagram, wire the refnum output of the file I/O function through the Case structure and to the next file I/O operation.&lt;br /&gt;
{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Data Type&lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
! [[File:Generic Refnum.png|link=Reference data type]]&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Reference&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Reference&amp;#039;&amp;#039;&amp;#039; returns a refnum whose value is &amp;lt;code&amp;gt;Not A Refnum&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comparing References ===&lt;br /&gt;
Do not test whether a refnum is invalid by comparing the refnum to the output returned by the &amp;#039;&amp;#039;&amp;#039;Not a Refnum constant&amp;#039;&amp;#039;&amp;#039;. The &amp;#039;&amp;#039;&amp;#039;Not a Refnum constant&amp;#039;&amp;#039;&amp;#039; returns a unique sequence of bits that is guaranteed to be an invalid refnum. However, because this sequence of bits is only one possible invalid refnum representation, it likely will not equal another refnum to which you compare it. Instead, use the [[Not A Number/Path/Refnum? function]] to test whether a refnum is invalid. The [[Not A Number/Path/Refnum? function]] returns a [[Boolean|Boolean data type]] value that is correct for all possible invalid refnum representations.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
{{ambox|text=History information is needed.  What changes have occurred over previous versions?}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Version&lt;br /&gt;
! Change(s)&lt;br /&gt;
|-&lt;br /&gt;
|[[File:LV2018.png|frameless|border|64x64px|LabVIEW 2018|link=LabVIEW 2018]]&lt;br /&gt;
|More info to come.&lt;br /&gt;
|}&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[Reference data type]]&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
{{ambox|text=Add links to external resources that would also help.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:File Constants Palette]]&lt;/div&gt;</summary>
		<author><name>Q</name></author>
	</entry>
</feed>