<?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 DSC 2105 Executable in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/DSC-2105-Executable/m-p/3790599#M1069262</link>
    <description>&lt;P&gt;Attempting to run a build of the 2015 DSC Scada Demo on a PC that does not have the LabVIEW development environment installed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did install the DSC Run-Time on the target PC, and built an installer to include MAX and the Distributed System Manager as well as my application.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Application installed and starts without DSC errors.&amp;nbsp; But Simulation exe does not seem to be able to launch shared variables.&amp;nbsp; Getting error -1950679035&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DSM has variables launched by server, but all show BadStatus error.&amp;nbsp; (Assuming because Simulator is not connecting)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've checked "Enable enhanced DSC runtime support" in all EXEs and "Deploy shared variables at execution" for the simulator.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've found two documents online:&lt;/P&gt;
&lt;P data-unlink="true"&gt;http://www.ni.com/tutorial/3061/en/&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Building Applications Created with the LabVIEW DSC Module&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ni.com/en/support/documentation/supplemental/21/support-files-to-include-when-building-a-labview-dsc-module-appl.html" target="_blank" rel="noopener"&gt;https://www.ni.com/en/support/documentation/supplemental/21/support-files-to-include-when-building-a-labview-dsc-module-appl.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Support Files to Include when Building a LabVIEW DSC Module Application&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These both appear to be old documents, and so far I'm still looking for an answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas on what else to try?&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2024 04:25:55 GMT</pubDate>
    <dc:creator>pallen</dc:creator>
    <dc:date>2024-12-20T04:25:55Z</dc:date>
    <item>
      <title>DSC 2105 Executable</title>
      <link>https://ni.lithium.com/t5/LabVIEW/DSC-2105-Executable/m-p/3790599#M1069262</link>
      <description>&lt;P&gt;Attempting to run a build of the 2015 DSC Scada Demo on a PC that does not have the LabVIEW development environment installed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did install the DSC Run-Time on the target PC, and built an installer to include MAX and the Distributed System Manager as well as my application.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Application installed and starts without DSC errors.&amp;nbsp; But Simulation exe does not seem to be able to launch shared variables.&amp;nbsp; Getting error -1950679035&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DSM has variables launched by server, but all show BadStatus error.&amp;nbsp; (Assuming because Simulator is not connecting)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've checked "Enable enhanced DSC runtime support" in all EXEs and "Deploy shared variables at execution" for the simulator.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've found two documents online:&lt;/P&gt;
&lt;P data-unlink="true"&gt;http://www.ni.com/tutorial/3061/en/&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Building Applications Created with the LabVIEW DSC Module&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ni.com/en/support/documentation/supplemental/21/support-files-to-include-when-building-a-labview-dsc-module-appl.html" target="_blank" rel="noopener"&gt;https://www.ni.com/en/support/documentation/supplemental/21/support-files-to-include-when-building-a-labview-dsc-module-appl.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Support Files to Include when Building a LabVIEW DSC Module Application&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These both appear to be old documents, and so far I'm still looking for an answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas on what else to try?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 04:25:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/DSC-2105-Executable/m-p/3790599#M1069262</guid>
      <dc:creator>pallen</dc:creator>
      <dc:date>2024-12-20T04:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: DSC 2105 Executable</title>
      <link>https://ni.lithium.com/t5/LabVIEW/DSC-2105-Executable/m-p/3791004#M1069429</link>
      <description>&lt;P&gt;This issue was caused by the shared variables improperly added to the cRIO Simulation.exe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I needed to create an additional Destination for the Shared Variables in the build settings.&amp;nbsp; I also needed to set the Source File Settings in the build to ensure that the Shared Variables would be placed in new Destination (folder).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I already had box checked and the library selected in the Shared Variable Deployment setting, but without the correct Destination folder this was not working.&amp;nbsp; Once the Destination was set, the variables deployed and the code worked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 13:02:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/DSC-2105-Executable/m-p/3791004#M1069429</guid>
      <dc:creator>pallen</dc:creator>
      <dc:date>2018-05-09T13:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: DSC 2105 Executable</title>
      <link>https://ni.lithium.com/t5/LabVIEW/DSC-2105-Executable/m-p/3932095#M1117441</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have a similar problem.&amp;nbsp;&lt;SPAN&gt;I cannot proceed because I have basic knowledge of Labivew.&amp;nbsp;&amp;nbsp;Can you please explain the application you have achieved step by step with the images?&lt;BR /&gt;2017 Labview and 2017 DSC Module&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 10:25:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/DSC-2105-Executable/m-p/3932095#M1117441</guid>
      <dc:creator>SamedCetin</dc:creator>
      <dc:date>2019-05-30T10:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: DSC 2105 Executable</title>
      <link>https://ni.lithium.com/t5/LabVIEW/DSC-2105-Executable/m-p/3932608#M1117578</link>
      <description>&lt;P&gt;Hi SamedCetin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know you were looking for a response from the other forum members, but I thought I'd point you to some documents in case you already haven't seen them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a article on using Shared Variables in Executables: &lt;A href="https://www.ni.com/en/support/documentation/supplemental/07/using-shared-variables-in-executables.html" target="_blank" rel="noopener"&gt;https://www.ni.com/en/support/documentation/supplemental/07/using-shared-variables-in-executables.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and here are some images of the build specifications mentioned in the solution for your consideration: &lt;A href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9mySAC&amp;amp;l=en-US" target="_blank" rel="noopener"&gt;https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9mySAC&amp;amp;l=en-US&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 04:26:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/DSC-2105-Executable/m-p/3932608#M1117578</guid>
      <dc:creator>KeddyC</dc:creator>
      <dc:date>2024-12-20T04:26:24Z</dc:date>
    </item>
  </channel>
</rss>

