<?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 Re: Code Not Working Across Different Project Templates in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309700#M968897</link>
    <description>&lt;P&gt;In order to keep the required hardware set up (joystick into computer &amp;amp; myRIO controlled via wifi), shared variables must be created under the myRIO target which is written into by VIs under the &lt;EM&gt;My Computer&lt;/EM&gt; target. This allows data to be passed between different targets.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:52:09 GMT</pubDate>
    <dc:creator>richardj1701</dc:creator>
    <dc:date>2016-06-15T16:52:09Z</dc:date>
    <item>
      <title>Code Not Working Across Different Project Templates</title>
      <link>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3308648#M968528</link>
      <description>&lt;P&gt;On a traditional blank project, the code below works... I am able to get readings from my joystick. However, when I try to run the same code on a myRIO template, the code never gets to run because of error -363031 (from &lt;EM&gt;Highlight Execution&lt;/EM&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I fix this?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 22:09:26 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3308648#M968528</guid>
      <dc:creator>richardj1701</dc:creator>
      <dc:date>2016-06-13T22:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Code Not Working Across Different Project Templates</title>
      <link>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3308674#M968539</link>
      <description>&lt;P&gt;Well, according to the Error Message, the myRIO didn't "see" the Joystick. &amp;nbsp;What makes you think that it can? &amp;nbsp;[I actually have a myRIO, but my Joystick device has a Device Number &amp;gt; 7, and NI's implementation of the DirectInput "hooks" don't go high enough -- I've filed a suggestion to fix this on the Idea Exchange, which you can find and Kudo if you want NI to look into fixing this].&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Bob Schor&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 23:04:20 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3308674#M968539</guid>
      <dc:creator>Bob_Schor</dc:creator>
      <dc:date>2016-06-13T23:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Code Not Working Across Different Project Templates</title>
      <link>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309111#M968681</link>
      <description>&lt;P&gt;I think that my problem might have to do with the myRIO not being able to see the joystick. In the image attached, the &lt;EM&gt;Computer Joystick.vi&lt;/EM&gt; under &lt;EM&gt;My Computer&lt;/EM&gt; works. The same code, saved as &lt;EM&gt;Joystick RIO.vi&lt;/EM&gt; under &lt;EM&gt;NI-myRIO&lt;/EM&gt; does not run. The joystick is connected to the computer and not the myRIO.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 16:11:56 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309111#M968681</guid>
      <dc:creator>richardj1701</dc:creator>
      <dc:date>2016-06-14T16:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Code Not Working Across Different Project Templates</title>
      <link>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309172#M968708</link>
      <description>&lt;P&gt;Are you saying you still have the joystick connected to the PC, and you are wondering why the cRIO's VI won't run because it can't see the joystick on the PC?&amp;nbsp; A completely different target?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 18:17:11 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309172#M968708</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2016-06-14T18:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Code Not Working Across Different Project Templates</title>
      <link>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309177#M968713</link>
      <description>&lt;P&gt;No, the idea is to keep the joystick connected to the computer (later to be used to control the myRIO which will be mounted to a rover over wifi). Can a &lt;EM&gt;My Computer&lt;/EM&gt; vi be imported over to a &lt;EM&gt;myRIO&lt;/EM&gt; vi?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(The code works when I plug the joystick into the myRIO but this does nothing to help me.)&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 18:27:35 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309177#M968713</guid>
      <dc:creator>richardj1701</dc:creator>
      <dc:date>2016-06-14T18:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Code Not Working Across Different Project Templates</title>
      <link>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309183#M968715</link>
      <description>&lt;P&gt;No.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A cRIO can't see hardware that is connected to the PC.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 18:36:28 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309183#M968715</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2016-06-14T18:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Code Not Working Across Different Project Templates</title>
      <link>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309365#M968786</link>
      <description>&lt;P&gt;Thanks for the response!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 04:11:17 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309365#M968786</guid>
      <dc:creator>richardj1701</dc:creator>
      <dc:date>2016-06-15T04:11:17Z</dc:date>
    </item>
    <item>
      <title>Receiving Inputs from Hardware not Connected to a myRIO on a myRIO Project</title>
      <link>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309370#M968901</link>
      <description>&lt;P&gt;Background: I want to mount a myRIO to a RC Robot and control it with a joystick connected to my computer.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm unable to use the joystick VIs on the myRIO project since the joystick is connected to my computer and not the myRIO.&lt;/P&gt;&lt;P&gt;I've tried creating a shared variable that contains the joystick information, but it will only work for VIs that are on &lt;EM&gt;My Computer&amp;nbsp;&lt;/EM&gt;and not on &lt;EM&gt;myRIO.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the picture attached, &lt;EM&gt;Computer Joystick&lt;/EM&gt;&amp;nbsp;is the vi with all of the code. &lt;EM&gt;Variable 3&lt;/EM&gt; contains the output of &lt;EM&gt;Computer Joystick&lt;/EM&gt;. &lt;EM&gt;Shared Var Test&lt;/EM&gt; reads &lt;EM&gt;Variable 3&lt;/EM&gt;.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;"Shared Var Test" only works on &lt;EM&gt;My Computer&lt;/EM&gt; and not &lt;EM&gt;myRIO&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 04:30:24 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309370#M968901</guid>
      <dc:creator>richardj1701</dc:creator>
      <dc:date>2016-06-15T04:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving Inputs from Hardware not Connected to a myRIO on a myRIO Project</title>
      <link>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309699#M968902</link>
      <description>&lt;P&gt;Fix:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create the shared variables under the &lt;EM&gt;myRIO&lt;/EM&gt; target rather than under &lt;EM&gt;My Computer&lt;/EM&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:50:09 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309699#M968902</guid>
      <dc:creator>richardj1701</dc:creator>
      <dc:date>2016-06-15T16:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Code Not Working Across Different Project Templates</title>
      <link>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309700#M968897</link>
      <description>&lt;P&gt;In order to keep the required hardware set up (joystick into computer &amp;amp; myRIO controlled via wifi), shared variables must be created under the myRIO target which is written into by VIs under the &lt;EM&gt;My Computer&lt;/EM&gt; target. This allows data to be passed between different targets.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:52:09 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/Code-Not-Working-Across-Different-Project-Templates/m-p/3309700#M968897</guid>
      <dc:creator>richardj1701</dc:creator>
      <dc:date>2016-06-15T16:52:09Z</dc:date>
    </item>
  </channel>
</rss>

