<?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: Trouble using LabVIEWCLI in Continuous Integration</title>
    <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3949668#M261</link>
    <description>&lt;P&gt;Hi Oli,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sounds like a pain! Of course, I have to mention, why not try G CLI and see if it is any different? The latest version (2.1.0 - should be on the tools network now but if not&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://github.com/JamesMc86/G-CLI/releases" target="_blank"&gt;https://github.com/JamesMc86/G-CLI/releases&lt;/A&gt;)&amp;nbsp;&lt;/STRONG&gt;ships with an echo tester so you should be able to install the package and then run:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;g-cli -v --lv-ver 2017 echo -- test1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will launch 2017 and should just echo back test1.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At least you might get more clues about why it is being blocked. G CLI reverses the connection. G CLI opens a server on a random port which LabVIEW connects to (the port number is passed through the NI service locator). If your IT is somehow blocking unknown applications this will probably be blocked as well. If it works then either LabVIEW is specifically being blocked or it is some other issue with VI server.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2019 06:20:15 GMT</pubDate>
    <dc:creator>James_McN</dc:creator>
    <dc:date>2019-07-18T06:20:15Z</dc:date>
    <item>
      <title>Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937172#M233</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I started playing a bit with LabVIEW CLI 1.1 but have failed miserably so far&amp;nbsp;&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://ni.lithium.com/i/smilies/16x16_smiley-sad.gif" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Starting small, I thought just to have a short pipecleaner masscompiling a directory&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;LabVIEWCLI -Verbosity Diagnostic -LabVIEWPath "C:\Program Files (x86)\National Instruments\LabVIEW 2017\LabVIEW.exe" -PortNumber 3364 -OperationName MassCompile -DirectoryToCompile "C:\Test"

&lt;/PRE&gt;
&lt;P&gt;LabVIEW launches, but CLI returns with an error. The diagnostic file holds the following information&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Using LabVIEW: "C:\Program Files (x86)\National Instruments\LabVIEW 2017\LabVIEW.exe"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LabVIEW launched successfully.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error code : -350000&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Error message : LabVIEW CLI: (Hex 0xFFFAA8D0) The CLI for LabVIEW failed to establish a connection with LabVIEW. Ensure LabVIEW is running with VI server enabled on the correct port number. To enable VI server in LabVIEW, select "Tools&amp;gt;&amp;gt;Options&amp;gt;&amp;gt;VI Server" and enable the "TCP/IP" checkbox. If the port number under "TCP/IP" is not 3363, you must specify the port number using the "-PortNumber" argument. &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;An error occurred while running the LabVIEW CLI.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VI Server seems configured correctly&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-06-13 14_54_06-Options.png" style="width: 344px;"&gt;&lt;img src="https://ip1.i.lithium.com/7e27e39ace3440699516bd7799874c487f820e22/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f32343836373669393230443337303646383834374538432f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="2019-06-13 14_54_06-Options.png" alt="2019-06-13 14_54_06-Options.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I thought, I'd try changing the VI Server Port to 3364, just to try&lt;/P&gt;
&lt;P&gt;Same thing happens:&lt;/P&gt;
&lt;P&gt;LabVIEW launches, an error is reported on the command line, LabVIEW stays open.&lt;/P&gt;
&lt;P&gt;To check if VI Server is working correctly, I have used VI Package Manager to verify the connection. This works fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Oli&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 13:20:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937172#M233</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2019-06-13T13:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937184#M234</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Make sure the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Machine Access List&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;allows access for&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;127.0.0.1&lt;/STRONG&gt;&lt;SPAN&gt;, this is necessary to allow the communication between the LabVIEW-CLI and VI Server.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Stefan Lemmens&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.intersoft-electronics.com" target="_self"&gt;&lt;SPAN&gt;Intersoft Electronics&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 13:40:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937184#M234</guid>
      <dc:creator>StefanLemmens</dc:creator>
      <dc:date>2019-06-13T13:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937190#M235</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/153791"&gt;@StefanLemmens&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;Make sure the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Machine Access List&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;allows access for&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;127.0.0.1&lt;/STRONG&gt;&lt;SPAN&gt;, this is necessary to allow the communication between the LabVIEW-CLI and VI Server.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Stefan Lemmens&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.intersoft-electronics.com" target="_self"&gt;&lt;SPAN&gt;Intersoft Electronics&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Thanks for the tip. Added 127.0.0.1 explicitely yet it does not help in this case.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 13:51:01 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937190#M235</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2019-06-13T13:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937192#M236</link>
      <description>&lt;P&gt;Another problem might be that the LabVIEW CLI won't start VI Server fast enough.&lt;/P&gt;
&lt;P&gt;You can find more info &lt;A href="https://forums.ni.com/t5/Continuous-Integration/NI-LabVIEW-CLI-won-t-start-LabVIEW-VI-Server-fast-enough/gpm-p/3842718" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got it to work with these settings:&lt;/P&gt;
&lt;P&gt;AppExitTimeout = 10000&lt;BR /&gt;OpenAppReferenceTimeoutInSecond = 30.000000&lt;BR /&gt;AfterLaunchOpenAppReferenceTimeoutInSecond = 90.000000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Due to this we switched from using the LabVIEW-CLI to &lt;A href="https://github.com/JamesMc86/G-CLI" target="_self"&gt;G-CLI&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Stefan Lemmens&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.intersoft-electronics.com/" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;Intersoft Electronics&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 13:53:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937192#M236</guid>
      <dc:creator>StefanLemmens</dc:creator>
      <dc:date>2019-06-13T13:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937198#M237</link>
      <description>&lt;P&gt;Ok.... so I raised the time-outs as described. Error remains.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I shall try on a different computer outside the corporate enviroment... maybe there is some strange group policy which keeps this from working. Wouldn't be for the first time....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the input!&lt;/P&gt;
&lt;P&gt;Oli&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 14:02:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937198#M237</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2019-06-13T14:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937209#M238</link>
      <description>&lt;P&gt;Just noticed in your screenshot that the portnumber (3363) doesn't match the one in your command line (3364).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Stefan Lemmens&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.intersoft-electronics.com/" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;Intersoft Electronics&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 14:29:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937209#M238</guid>
      <dc:creator>StefanLemmens</dc:creator>
      <dc:date>2019-06-13T14:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937518#M239</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/153791"&gt;@StefanLemmens&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Just noticed in your screenshot that the portnumber (3363) doesn't match the one in your command line (3364).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Stefan Lemmens&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.intersoft-electronics.com/" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;Intersoft Electronics&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hi Stefan,&lt;/P&gt;
&lt;P&gt;you're right. The code and the screen shot don't match: took the screen shot while experimenting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW: tried at home last night on a VM with LV2018: worked smoothly. Next step will be to set up a VM with LV2017 and check again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Oli&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 06:01:48 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937518#M239</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2019-06-14T06:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937568#M240</link>
      <description>&lt;P&gt;Hi Oli,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how smooth is "smoothly"?&lt;/P&gt;
&lt;P&gt;I still have a very long delay (more then 30sec) between running the command and LabVIEW actually doing something.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Stefan Lemmens&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.intersoft-electronics.com/" target="_self" rel="nofollow noopener noreferrer noopener noreferrer"&gt;&lt;SPAN&gt;Intersoft Electronics&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 08:01:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937568#M240</guid>
      <dc:creator>StefanLemmens</dc:creator>
      <dc:date>2019-06-14T08:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937571#M241</link>
      <description>&lt;P&gt;Hi Stefan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;smooth as in it is working on that particular VM using the standard parameters of the CLI INI file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But: this is a LabVIEW only installation. No toolkits like RT or FPGA installed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But speaking of slow spinup.... I remember having had troubles with an old version of the SVN Toolkit when opening large projects. Don't know if this is still the case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Oli&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 08:13:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3937571#M241</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2019-06-14T08:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3949304#M257</link>
      <description>&lt;P&gt;Did you download the CLI from the web? Do you need to 'unblock' it in the exe properties?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course, it may be that you need to unblock the executable on your firewall...your IT policy might only allow signed/whitelisted executables to have network access on certain ports.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 11:34:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3949304#M257</guid>
      <dc:creator>Sam_Sharp</dc:creator>
      <dc:date>2019-07-17T11:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3949315#M258</link>
      <description>&lt;P&gt;Hi Sam,&lt;/P&gt;
&lt;P&gt;I have tested with LabVIEWCLI downloaded as an separate package for LV2017 as well as a pristine LV2018 installation. Both show the same result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What really makes me wonder is that other tools like the VIPM are using VI Server without any issues. So there seems to be a difference in the usage of VIServer which triggers the Firewall. I want to understand what in order to discuss with my IT guys.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding execution privileges: LabVIEWCLI does launch from the command line window (also tried to run the CMD window as admin), LabVIEW even spins up, yet something refuses the connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Oli&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 11:48:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3949315#M258</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2019-07-17T11:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3949668#M261</link>
      <description>&lt;P&gt;Hi Oli,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sounds like a pain! Of course, I have to mention, why not try G CLI and see if it is any different? The latest version (2.1.0 - should be on the tools network now but if not&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://github.com/JamesMc86/G-CLI/releases" target="_blank"&gt;https://github.com/JamesMc86/G-CLI/releases&lt;/A&gt;)&amp;nbsp;&lt;/STRONG&gt;ships with an echo tester so you should be able to install the package and then run:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;g-cli -v --lv-ver 2017 echo -- test1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will launch 2017 and should just echo back test1.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At least you might get more clues about why it is being blocked. G CLI reverses the connection. G CLI opens a server on a random port which LabVIEW connects to (the port number is passed through the NI service locator). If your IT is somehow blocking unknown applications this will probably be blocked as well. If it works then either LabVIEW is specifically being blocked or it is some other issue with VI server.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 06:20:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3949668#M261</guid>
      <dc:creator>James_McN</dc:creator>
      <dc:date>2019-07-18T06:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3949698#M262</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;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Oli,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sounds like a pain! Of course, I have to mention, why not try G CLI and see if it is any different?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hi James,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not tried yet, but I will definitely do asap.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Oli&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 07:19:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3949698#M262</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2019-07-18T07:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3949867#M263</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;wrote:&lt;BR /&gt;
&lt;P&gt;why not try G CLI&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I held myself back from posting this &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;But, of course, +1 for G-CLI.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 13:31:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3949867#M263</guid>
      <dc:creator>joerg.hampel</dc:creator>
      <dc:date>2019-07-18T13:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3955125#M268</link>
      <description>&lt;P&gt;Short update (after having found some minutes to tinker)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have persuaded my IT guys to let me configure the local firewall.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After configuring incoming connections and unblocking LabVIEW, it seemed to &lt;STRONG&gt;work excactly once&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried over and over again also incrementing timeout values in the ini-File. Every ~10th attempt works... so I think it's rather not an issue with the firewall&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 10:32:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3955125#M268</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2019-08-01T10:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3955166#M269</link>
      <description>&lt;P&gt;removed double post&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 12:30:35 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/3955166#M269</guid>
      <dc:creator>Oli_Wachno</dc:creator>
      <dc:date>2019-08-01T12:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/4057654#M319</link>
      <description>&lt;P&gt;Just wanted to share a potential solution for people ending up on this page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had been having similar problems for months: symptoms being:&lt;/P&gt;
&lt;P&gt;- I could run G-CLI and LabVIEW CLI from command line on my PC, no problem&lt;/P&gt;
&lt;P&gt;- If triggered from Azure Devops Pipelines to that PC (self-hosted build agent), would get 'TCP failed to connect' error messages for both, and timeouts.&lt;/P&gt;
&lt;P&gt;- Disabling the entire firewall did not help&lt;/P&gt;
&lt;P&gt;- (The weird one) - If I opened LabVIEW then triggered the Pipeline, LabVIEW CLI would work but G CLI would not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The solution is very simple. IT had set up my DevOps build agent to run as a service on a different Windows user account to the one I normally used. When I eventually got them to log in as that Windows user, it was the first time it had ever logged in. There were a gazillion popups about setting up various programs. When I launched LabVIEW, it had not found the volume license server so I had to add it to the correct group. There was also a popup about whether I wanted to launch LabVIEW 2018 or LabVIEW Robotics, which might have stopped it from communicating with either. After I had set all of this up, my pipelines worked fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps someone.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Leah&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 14:37:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/4057654#M319</guid>
      <dc:creator>leahmedwards</dc:creator>
      <dc:date>2020-06-08T14:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/4339153#M506</link>
      <description>&lt;P&gt;Hello guys,&lt;BR /&gt;&lt;BR /&gt;I was trying to use the LabVIEWCLI via a batch file executed by Jenkins. I encountered the same error. What solved it for me was setting the working directory to the one of my LabVIEW installation (C:\Program Files\National Instruments\LabVIEW 2021).&lt;BR /&gt;&lt;BR /&gt;So instead of just using &lt;BR /&gt;&lt;BR /&gt;LabVIEWCLI -OperationName RunVI -VIPath "VIName"&lt;BR /&gt;&lt;BR /&gt;I tried&lt;BR /&gt;&lt;BR /&gt;cd C:\Program Files\National Instruments\LabVIEW 2021&lt;BR /&gt;LabVIEWCLI -OperationName RunVI -VIPath "VIName" .&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 14:16:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/4339153#M506</guid>
      <dc:creator>ch33rs00</dc:creator>
      <dc:date>2023-11-09T14:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using LabVIEWCLI</title>
      <link>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/4339347#M507</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/629693"&gt;@leahmedwards&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Just wanted to share a potential solution for people ending up on this page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had been having similar problems for months: symptoms being:&lt;/P&gt;&lt;P&gt;- I could run G-CLI and LabVIEW CLI from command line on my PC, no problem&lt;/P&gt;&lt;P&gt;- If triggered from Azure Devops Pipelines to that PC (self-hosted build agent), would get 'TCP failed to connect' error messages for both, and timeouts.&lt;/P&gt;&lt;P&gt;- Disabling the entire firewall did not help&lt;/P&gt;&lt;P&gt;- (The weird one) - If I opened LabVIEW then triggered the Pipeline, LabVIEW CLI would work but G CLI would not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution is very simple. IT had set up my DevOps build agent to run as a service on a different Windows user account to the one I normally used. When I eventually got them to log in as that Windows user, it was the first time it had ever logged in. There were a gazillion popups about setting up various programs. When I launched LabVIEW, it had not found the volume license server so I had to add it to the correct group. There was also a popup about whether I wanted to launch LabVIEW 2018 or LabVIEW Robotics, which might have stopped it from communicating with either. After I had set all of this up, my pipelines worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps someone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--Leah&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;for this reason I always recommend not running as a service but as a user account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, I don't have an IT department, so I just set the VM to autologon that account and then have a bash script that runs on login that launches the runner. It works in my case. Not sure if I had an IT department if they would approve of that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At least that way I can always RDP in as that user and then see exactly what is going on.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 15:38:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Continuous-Integration/Trouble-using-LabVIEWCLI/m-p/4339347#M507</guid>
      <dc:creator>Taggart</dc:creator>
      <dc:date>2023-11-10T15:38:13Z</dc:date>
    </item>
  </channel>
</rss>

