<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic viIn16() Non-Fatal Run Time error in LabWindows/CVI</title>
    <link>https://ni.lithium.com/t5/LabWindows-CVI/viIn16-Non-Fatal-Run-Time-error/m-p/2172770#M59639</link>
    <description>&lt;P&gt;I am&amp;nbsp; having an issue with this section of the code.&amp;nbsp; When I run the following steps on TestStand 2012, LabWindows CVI 2012, and Window 7.0&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReturnCode = viIn16 (hInstr, VI_PXI_CFG_SPACE, 0x00, &amp;amp;VendorId);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReturnCode = viIn16 (hInstr, VI_PXI_CFG_SPACE, 0x02, &amp;amp;DeviceId);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;I receive the attached error.&lt;BR /&gt;&lt;BR /&gt;I do not get this error with 11 of my 14 PXI devices.&lt;BR /&gt;&lt;BR /&gt;The devices I get this error from are &lt;BR /&gt;&lt;BR /&gt;National Instruments, &amp;nbsp;&amp;nbsp; &amp;nbsp;PXI-8360, &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PXI Bridge&lt;BR /&gt;National Instruments,&amp;nbsp;&amp;nbsp; &amp;nbsp;PXI-2576,&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PXI Switch Multiplexer&lt;BR /&gt;&lt;BR /&gt;This error also occurs in NI-MAX VISA Test Panel. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This error does not occur on our test station running Windows XP, TestStand 4.2.1 (4.2.1.83), Lab Windows CVI 8.51(356), NI-MAX 4.6.2f1.&lt;BR /&gt;&lt;BR /&gt;I am attaching the section of code.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Oct 2012 18:56:19 GMT</pubDate>
    <dc:creator>herbertwatson</dc:creator>
    <dc:date>2012-10-01T18:56:19Z</dc:date>
    <item>
      <title>viIn16() Non-Fatal Run Time error</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/viIn16-Non-Fatal-Run-Time-error/m-p/2172770#M59639</link>
      <description>&lt;P&gt;I am&amp;nbsp; having an issue with this section of the code.&amp;nbsp; When I run the following steps on TestStand 2012, LabWindows CVI 2012, and Window 7.0&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReturnCode = viIn16 (hInstr, VI_PXI_CFG_SPACE, 0x00, &amp;amp;VendorId);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReturnCode = viIn16 (hInstr, VI_PXI_CFG_SPACE, 0x02, &amp;amp;DeviceId);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;I receive the attached error.&lt;BR /&gt;&lt;BR /&gt;I do not get this error with 11 of my 14 PXI devices.&lt;BR /&gt;&lt;BR /&gt;The devices I get this error from are &lt;BR /&gt;&lt;BR /&gt;National Instruments, &amp;nbsp;&amp;nbsp; &amp;nbsp;PXI-8360, &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PXI Bridge&lt;BR /&gt;National Instruments,&amp;nbsp;&amp;nbsp; &amp;nbsp;PXI-2576,&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PXI Switch Multiplexer&lt;BR /&gt;&lt;BR /&gt;This error also occurs in NI-MAX VISA Test Panel. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This error does not occur on our test station running Windows XP, TestStand 4.2.1 (4.2.1.83), Lab Windows CVI 8.51(356), NI-MAX 4.6.2f1.&lt;BR /&gt;&lt;BR /&gt;I am attaching the section of code.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 18:56:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/viIn16-Non-Fatal-Run-Time-error/m-p/2172770#M59639</guid>
      <dc:creator>herbertwatson</dc:creator>
      <dc:date>2012-10-01T18:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: viIn16() Non-Fatal Run Time error</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/viIn16-Non-Fatal-Run-Time-error/m-p/2174080#M59643</link>
      <description>&lt;P&gt;herbertwatson,&lt;BR /&gt;Which version of VISA is being used in each of these setups?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Have you tried using &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;viIn16Ex&lt;/FONT&gt;&lt;/STRONG&gt;() or &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;viMoveIn16Ex&lt;/FONT&gt;&lt;/STRONG&gt;() to see if those also return an error?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Windows 7 changed the way they allow access to memory registers on devices, so this may be the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2012 17:20:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/viIn16-Non-Fatal-Run-Time-error/m-p/2174080#M59643</guid>
      <dc:creator>jallen88</dc:creator>
      <dc:date>2012-10-02T17:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: viIn16() Non-Fatal Run Time error</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/viIn16-Non-Fatal-Run-Time-error/m-p/2174352#M59644</link>
      <description>&lt;P&gt;I am using VISA version 5.2.&amp;nbsp; &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;viIn16Ex&lt;/FONT&gt;&lt;/STRONG&gt;() or &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;viMoveIn16Ex&lt;/FONT&gt;&lt;/STRONG&gt;() do not cause a Non Fatal Run Time error.&amp;nbsp; However, both functions return an identical error message and incorrect data.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2012 21:03:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/viIn16-Non-Fatal-Run-Time-error/m-p/2174352#M59644</guid>
      <dc:creator>herbertwatson</dc:creator>
      <dc:date>2012-10-02T21:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: viIn16() Non-Fatal Run Time error</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/viIn16-Non-Fatal-Run-Time-error/m-p/2175154#M59650</link>
      <description>&lt;P&gt;herbertwatson,&lt;BR /&gt;When you say that both &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;viIn16Ex&lt;/FONT&gt;&lt;/STRONG&gt;() or &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;viMoveIn16Ex&lt;/FONT&gt;&lt;/STRONG&gt;() return an identical error message, do you mean that their return code is also -1073807257 and the message is "The given session or object reference does not support this operation."?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Have you tried the '8' or '32' versions of these functions to see if the devices can accept a different data size?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2012 16:29:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/viIn16-Non-Fatal-Run-Time-error/m-p/2175154#M59650</guid>
      <dc:creator>jallen88</dc:creator>
      <dc:date>2012-10-03T16:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: viIn16() Non-Fatal Run Time error</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/viIn16-Non-Fatal-Run-Time-error/m-p/2175192#M59651</link>
      <description>&lt;P&gt;Yes the return code is also -1073807257 and the message is "The given session or object reference does not support this operation.".&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I have tried the '8' or '32' versions of these functions with the same result?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2012 17:05:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/viIn16-Non-Fatal-Run-Time-error/m-p/2175192#M59651</guid>
      <dc:creator>herbertwatson</dc:creator>
      <dc:date>2012-10-03T17:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: viIn16() Non-Fatal Run Time error</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/viIn16-Non-Fatal-Run-Time-error/m-p/2178306#M59674</link>
      <description>&lt;P&gt;&lt;SPAN&gt;herbertwatson,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you capture and attach a log from NI I/O Trace so we can gain more insight into the VISA calls that are being made?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://digital.ni.com/public.nsf/allkb/282C5D41E2BA04F2862574BA007803B9?OpenDocument" target="_self"&gt;KB&amp;nbsp;&lt;/A&gt;&lt;SPAN&gt;&lt;A href="http://digital.ni.com/public.nsf/allkb/282C5D41E2BA04F2862574BA007803B9?OpenDocument" target="_self"&gt;4P3FR2LQ:&amp;nbsp;Performing a Good NI I/O Trace Capture for Debugging/Troubleshooting&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2012 20:39:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/viIn16-Non-Fatal-Run-Time-error/m-p/2178306#M59674</guid>
      <dc:creator>jallen88</dc:creator>
      <dc:date>2012-10-05T20:39:06Z</dc:date>
    </item>
  </channel>
</rss>

