<?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 Run multiple LabVIEW CLI command in the same time in Continuous Integration</title>
    <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4023473#M293</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I try to run 2 commands in 2 separate PowerShell windows I get the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Error code : -350052&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error message : LabVIEW CLI: (Hex 0xFFFAA89C) You cannot initialize the logger multiple times.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to set&amp;nbsp;-LogToConsole flag to FALSE, but it didn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as "RunOperation" vis are set to reentrant execution I was pretty sure I could do that.&lt;/P&gt;
&lt;P&gt;Any idea on what's going wrong here ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Note: I'm LV2019 64-bit)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Mar 2020 16:40:09 GMT</pubDate>
    <dc:creator>Olivier-JOURDAN</dc:creator>
    <dc:date>2020-03-12T16:40:09Z</dc:date>
    <item>
      <title>Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4023473#M293</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I try to run 2 commands in 2 separate PowerShell windows I get the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Error code : -350052&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error message : LabVIEW CLI: (Hex 0xFFFAA89C) You cannot initialize the logger multiple times.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to set&amp;nbsp;-LogToConsole flag to FALSE, but it didn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as "RunOperation" vis are set to reentrant execution I was pretty sure I could do that.&lt;/P&gt;
&lt;P&gt;Any idea on what's going wrong here ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Note: I'm LV2019 64-bit)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 16:40:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4023473#M293</guid>
      <dc:creator>Olivier-JOURDAN</dc:creator>
      <dc:date>2020-03-12T16:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4025246#M294</link>
      <description>&lt;P&gt;&lt;EM&gt;By default,&lt;/EM&gt; the LabVIEW application itself cannot be opened multiple times, so it seems reasonable that you shouldn't be able to do two CLI Operations simultaneously as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are you trying to accomplish, maybe you can write a custom operation that does multiple things.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;Edited to add the "By Default" disclaimer after being corrected.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 19:29:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4025246#M294</guid>
      <dc:creator>Nathan-M</dc:creator>
      <dc:date>2020-03-17T19:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4025279#M295</link>
      <description>&lt;P&gt;It is possible to open multiple application instances simultaneously:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://labviewwiki.org/wiki/Multiple_Instances_of_LabVIEW" target="_blank"&gt;https://labviewwiki.org/wiki/Multiple_Instances_of_LabVIEW&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 19:25:20 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4025279#M295</guid>
      <dc:creator>RkTrey</dc:creator>
      <dc:date>2020-03-17T19:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4025281#M296</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/601786"&gt;@RkTrey&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;It is possible to open multiple application instances simultaneously:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://labviewwiki.org/wiki/Multiple_Instances_of_LabVIEW" target="_blank" rel="noopener"&gt;https://labviewwiki.org/wiki/Multiple_Instances_of_LabVIEW&lt;/A&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Thanks for correcting me! Maybe this can solve OPs problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 19:28:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4025281#M296</guid>
      <dc:creator>Nathan-M</dc:creator>
      <dc:date>2020-03-17T19:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4025673#M297</link>
      <description>&lt;P&gt;Thanks for your inputs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just a bit of context. I've been setting up a CI configuration with Gitlab, where mutiple pipelines can be triggered in the same time. The problem here is that I need to be certain that a pipeline starts only if no others are running. This need to be done to prevent different pipelines (running on the same runner/build server) to override the context (in this case a specific vipc applyed during the first job of the pipeline) of the running pipeline.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My goal is to have a custom operation checking current pipelines status and waiting for no pipeline were running to start to let the it execute. The custom operation is working but I can't run it multiple time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Activating AllowMultipleInstances key doesn't work.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 13:49:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4025673#M297</guid>
      <dc:creator>Olivier-JOURDAN</dc:creator>
      <dc:date>2020-03-18T13:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4025675#M298</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/26316"&gt;@Olivier-JOURDAN&lt;/a&gt;&amp;nbsp; a écrit&amp;nbsp;:&lt;BR /&gt;
&lt;P&gt;&lt;EM&gt;Error code : -350052&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error message : LabVIEW CLI: (Hex 0xFFFAA89C) You cannot initialize the logger multiple times.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'd really like to know what "logger" is referring to in this error message?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 13:51:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4025675#M298</guid>
      <dc:creator>Olivier-JOURDAN</dc:creator>
      <dc:date>2020-03-18T13:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4025710#M299</link>
      <description>&lt;P&gt;Hi Olivier,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could this be handled by the agent configuration instead? This article mentions the relevant settings: &lt;A href="https://stackoverflow.com/questions/51828805/configure-runner-to-run-multiple-jobs-at-the-same-time" target="_blank"&gt;https://stackoverflow.com/questions/51828805/configure-runner-to-run-multiple-jobs-at-the-same-time&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(This is what I do under Jenkins to avoid this issue)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 14:42:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4025710#M299</guid>
      <dc:creator>James_McN</dc:creator>
      <dc:date>2020-03-18T14:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4026736#M300</link>
      <description>&lt;P&gt;Hi James,&lt;/P&gt;
&lt;P&gt;Actually, these settings only affect jobs execution not pipelines (pipelines can contain multiple jobs). As far as can read here --&amp;gt;&amp;nbsp;&lt;A href="https://gitlab.com/gitlab-org/gitlab-foss/-/issues/41560&amp;nbsp;there's" target="_blank"&gt;https://gitlab.com/gitlab-org/gitlab-foss/-/issues/41560&amp;nbsp;there's&lt;/A&gt; no way, so far, to configure this kind of behavior.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;My plan at this point isto try G-CLI to run concurrent "wait for no pipeline running" actions in order to wait the pipeline execution. If it doesn't work, I will have to do this in shell script &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll keep you post with the result of my tests as soon as possible!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a good day.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 13:17:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4026736#M300</guid>
      <dc:creator>Olivier-JOURDAN</dc:creator>
      <dc:date>2020-03-20T13:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4029532#M301</link>
      <description>&lt;P&gt;State of the art:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;G-CLI can run 2 (or more?) command in parallel&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;G-CLI cannot run the same command in parallel. Not surprise cause James was quite sure of that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I have the solution to duplicate the vi and adapt the command each time I need to run it. Good. A better way to that would have been to be able to run a vit instead of a vi, but it's not supported by G-CLI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, I'm going to be able to do what I want with G-CLI. Thank you for this tool James &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;James, I opened an issue for vit execution on the G-CLI project --&amp;gt;&amp;nbsp;&lt;A href="https://github.com/JamesMc86/G-CLI/issues/88" target="_blank"&gt;https://github.com/JamesMc86/G-CLI/issues/88&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 18:03:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4029532#M301</guid>
      <dc:creator>Olivier-JOURDAN</dc:creator>
      <dc:date>2020-03-27T18:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4029568#M302</link>
      <description>&lt;P&gt;Hi Olivier,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thats a great idea for a workaround. I'll have to do some tests and see if there is an easy way to get LabVIEW to open as a new instance (or what it does in any case!)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 19:54:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4029568#M302</guid>
      <dc:creator>James_McN</dc:creator>
      <dc:date>2020-03-27T19:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4029864#M303</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/111783"&gt;@James_McN&lt;/a&gt;&amp;nbsp; a écrit&amp;nbsp;:
&lt;P&gt;Thats a great idea for a workaround.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To be fair this is Fab’s idea &lt;span class="lia-unicode-emoji" title=":smiling_face_with_halo:"&gt;😇&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2020 13:49:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4029864#M303</guid>
      <dc:creator>Olivier-JOURDAN</dc:creator>
      <dc:date>2020-03-28T13:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4093091#M334</link>
      <description>I ran into similar problem too.  And my solution is to set my node's "# of executors" property to 1.  So jobs will execute one by one.</description>
      <pubDate>Thu, 22 Oct 2020 02:17:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4093091#M334</guid>
      <dc:creator>spf</dc:creator>
      <dc:date>2020-10-22T02:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4117296#M363</link>
      <description>&lt;P&gt;I am digging in to the same issue now, it seems that error comes from logging LV class in labviewCLI:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pawhan11_0-1612021215452.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/ec5fde9561d5debbec4d92290615c81845609818/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32373934303869324441394236323132424535433244332f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="pawhan11_0-1612021215452.png" alt="pawhan11_0-1612021215452.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Located in:&lt;/P&gt;
&lt;P&gt;C:\Program Files (x86)\National Instruments\Shared\LabVIEW CLI\Operations\Utilities\Logger&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to run multiple builds in parallel, will keep You updated if make some progress...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 15:42:01 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4117296#M363</guid>
      <dc:creator>pawhan11</dc:creator>
      <dc:date>2021-01-30T15:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Run multiple LabVIEW CLI command in the same time</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4117341#M364</link>
      <description>&lt;P&gt;Attached working proof of concept with LabVIEW CLI, To make it work:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Disable Error message on logger instance (FGV in&amp;nbsp;C:\Program Files (x86)\National Instruments\Shared\LabVIEW CLI\Operations\Utilities\Logger)&lt;/LI&gt;
&lt;LI&gt;Enable multiple instances of LabVIEW&lt;/LI&gt;
&lt;LI&gt;Spawn few labview processes that will run Builder.vi and pass instance parameter eg \..\..\Labview.exe \..\..\Builder.vi -- 1&lt;/LI&gt;
&lt;LI&gt;Copy ExecuteBuildSpecAsync_class folder to&amp;nbsp;C:\Program Files (x86)\National Instruments\Shared\LabVIEW CLI\Operations&lt;/LI&gt;
&lt;LI&gt;Start it the same way from labview CLI but use ExecuteBuildSpecAsync insstead of ExecuteBuildSpec, should compile on free running builder or throw exception&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;It seems that LabVIEW CLi opens 1 new instance and always connects to it (just my observation so far)&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 21:46:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Run-multiple-LabVIEW-CLI-command-in-the-same-time/m-p/4117341#M364</guid>
      <dc:creator>pawhan11</dc:creator>
      <dc:date>2021-01-30T21:46:52Z</dc:date>
    </item>
  </channel>
</rss>

