<?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 Transferring code for a real-time target in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4069018#M1168898</link>
    <description>&lt;P&gt;I built a client-server system in project. All of the code is in an auto-populating directory. Now I want to migrate the server to a NI Industrial Controller (NI-3171). When I try to move the code to the RT Target and build, all of the links to sub-VIs in the project are broken. I also tried creating a build that referenced the server VI and the same thing happened.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do I have to copy every sub-VI used down to the target part of the project?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2020 22:40:32 GMT</pubDate>
    <dc:creator>StevenHunter</dc:creator>
    <dc:date>2020-07-21T22:40:32Z</dc:date>
    <item>
      <title>Transferring code for a real-time target</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4069018#M1168898</link>
      <description>&lt;P&gt;I built a client-server system in project. All of the code is in an auto-populating directory. Now I want to migrate the server to a NI Industrial Controller (NI-3171). When I try to move the code to the RT Target and build, all of the links to sub-VIs in the project are broken. I also tried creating a build that referenced the server VI and the same thing happened.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do I have to copy every sub-VI used down to the target part of the project?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 22:40:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4069018#M1168898</guid>
      <dc:creator>StevenHunter</dc:creator>
      <dc:date>2020-07-21T22:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Transferring code for a real-time target</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4069034#M1168905</link>
      <description>&lt;P&gt;My experience with LabVIEW Real-Time (I'm currently working on one designed to run with a RIO system as the RT Target) is that, in the LabVIEW Project, the Target appears in the Project Explorer and&amp;nbsp;&lt;U&gt;the code designed to be deployed on the Target is "placed" under the Target&lt;/U&gt; in the Project Explorer.&amp;nbsp; I have a few routines that are used both on the Host and on the Target -- I've created a Project Folder called "Common" in which I place these VIs/Controls, and make sure that Common is shown both on the Host and the Target.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this configuration, I can run the code without building Executables.&amp;nbsp; LabVIEW will deploy the RT Code to the RT Target and will start it running there.&amp;nbsp; When you build an Executable (on the Target), you can deploy it to the Target and set it up to run as the Executable's Startup routine.&amp;nbsp; If you do this, then when the Target is turned on, it automatically starts running the code that it will need to run with the Executable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bob Schor&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 03:15:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4069034#M1168905</guid>
      <dc:creator>Bob_Schor</dc:creator>
      <dc:date>2020-07-22T03:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Transferring code for a real-time target</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4071170#M1169707</link>
      <description>&lt;P&gt;I have a Code folder that both the Windows and Target project can see.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Further investigation shows that the errors are all related to database calls. I haven't been able to fix that yet.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 16:16:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4071170#M1169707</guid>
      <dc:creator>StevenHunter</dc:creator>
      <dc:date>2020-07-29T16:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Transferring code for a real-time target</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4071266#M1169751</link>
      <description>&lt;P&gt;Assuming the database is accessible from the PC, the database functions better not be on the Target!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bob Schor&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 20:45:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4071266#M1169751</guid>
      <dc:creator>Bob_Schor</dc:creator>
      <dc:date>2020-07-29T20:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Transferring code for a real-time target</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4071272#M1169755</link>
      <description>&lt;P&gt;The plan was to have the database itself on another computer and have the RT system just read and write status and configurations to the database.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears that the database library is not available to the Target.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 20:58:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4071272#M1169755</guid>
      <dc:creator>StevenHunter</dc:creator>
      <dc:date>2020-07-29T20:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Transferring code for a real-time target</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4071320#M1169778</link>
      <description>&lt;P&gt;I'd say you need to take a step back and think about your overall design.&amp;nbsp; In a LabVIEW Real-Time environment, the Host (PC) system should handle that which the Host does best, namely&amp;nbsp;&lt;U&gt;all&lt;/U&gt; of the User Interface, including all direct interaction with the User, all I/O involving external files, all operations that are&amp;nbsp;&lt;U&gt;not&lt;/U&gt; "time-critical", leaving all of the time-critical operations to the Real-Time Target, running an OS that is optimized for precise and accurate timing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have found that writing a Document that describes, in broad strokes, what you need to accomplish, and who should "be in charge" at various stages.&amp;nbsp; Generally, there is some setup, where parameters are updated, perhaps from a database or through interactions with an operator (slow, not time-critical, able to access external files and interact "at human speeds" with the operator), which involves setting up the RT Target to do a time-critical, precise, acquisition/control sequence characteristic of LabVIEW Real-Time, with "control" temporarily given to the RT side until the time-critical task is complete.&amp;nbsp; During Setup, "control" resides with the Host PC, but during Acquisition, it passes to the RT Target, with the Host acting as a "helper" to do such non-time-critical tasks as stream data (from the RT Target) to disk.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This can take a few days/weeks to accomplish.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bob Schor&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 02:40:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4071320#M1169778</guid>
      <dc:creator>Bob_Schor</dc:creator>
      <dc:date>2020-07-30T02:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Transferring code for a real-time target</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4071460#M1169843</link>
      <description>&lt;P&gt;We don't need real-time speed. We need a system that does not require a login that the computer security people can accept.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 14:43:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4071460#M1169843</guid>
      <dc:creator>StevenHunter</dc:creator>
      <dc:date>2020-07-30T14:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Transferring code for a real-time target</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4072009#M1170137</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/336184"&gt;@StevenHunter&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;We don't need real-time speed. We need a system that does not require a login that the computer security people can accept.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Ah, that's a different (and, sometimes, more difficult) problem.&amp;nbsp; Usually the best way to handle this is to have everything that you (ever) need on one Machine, with no need for&amp;nbsp;&lt;U&gt;ever&lt;/U&gt; getting on the Internet -- this way, there is no way to have the PC "corrupt" the network, or "be corrupted" by the network.&amp;nbsp; Of course, this can make getting data into and out of the PC something of a pain, but if it is merely "monitoring and controlling", this may just involve developing your code on another machine, building an Executable, putting it on a USB Drive, and copying it to the Test PC.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Another thing to ask your IT folks is whether or not you can get a special account without Internet Access and a "known" Username/Password that gives you access to your Program, with local storage on the PC's hard drive.&amp;nbsp; When you need to update the code, or "export" the data, you log off the "special", limited, account, log on as a "real" user with Internet access, and can then update your LabVIEW code, move the acquired data to a Share, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bob Schor&lt;/P&gt;</description>
      <pubDate>Sat, 01 Aug 2020 15:32:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Transferring-code-for-a-real-time-target/m-p/4072009#M1170137</guid>
      <dc:creator>Bob_Schor</dc:creator>
      <dc:date>2020-08-01T15:32:50Z</dc:date>
    </item>
  </channel>
</rss>

