From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-14-2020 02:59 AM - edited 07-14-2020 03:03 AM
I'm working with Docker container and would like to install G-CLI.
Docker container doesn't have UI, the installation must be taken on Powershell.
I have successfully installed LabVIEW 2020 (32bit) and am trying to install G-CLI.
I transfered required files from host to docker container.
C:\Program Files\National Instruments\LabVIEW 2020\vi.lib
- G CLI Tools folder
- Wiresmith Technology folder
copied those folders to the same path on docker container. (It's located at Program Files(x86))
Then, I typed "Start-Process -wait .\G_CLI_x86.msi -Argumentlist '-q','-ls install_log.txt' " but looking into the log, there is no result.
Powershell said "g-cli : The term 'g-cli' is not recognized as the name of a cmdlet, ... "
Of course, host PC could execute "g-cli" command, it returned "No laungh VI supplied!"
Below is my execution history.
PS C:\Program Files (x86)\National Instruments\LabVIEW 2020> cd '.\vi.lib\Wiresmith Technology\G CLI\Installation Support\'
PS C:\Program Files (x86)\National Instruments\LabVIEW 2020\vi.lib\Wiresmith Technology\G CLI\Installation Support> Start-Process -wait .\G_CLI_x86.msi -Argumentlist '-q','-ls install_log.txt'
PS C:\Program Files (x86)\National Instruments\LabVIEW 2020\vi.lib\Wiresmith Technology\G CLI\Installation Support> cat .\install_log.txt
=== Logging started: 7/14/2020 16:36:12 ===
=== Logging stopped: 7/14/2020 16:36:22 ===
PS C:\Program Files (x86)\National Instruments\LabVIEW 2020\vi.lib\Wiresmith Technology\G CLI\Installation Support>
Does someone have an experience install G-CLI via powershell or command prompt?
09-29-2020 04:17 AM
Hi,
You will need to run "g-cli.exe" using the full path or go to the directory where the "g-cli.exe" is present.
PS C:\Program Files (x86)\G-CLI> ls
Directory: C:\Program Files (x86)\G-CLI
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 2/27/2013 9:06 AM 58368 CommandLine.dll
-a---- 3/28/2020 7:29 AM 32768 g-cli.exe
-a---- 1/31/2020 4:25 PM 189 g-cli.exe.config
-a---- 1/31/2020 4:25 PM 8 labview-cli.bat
PS C:\Program Files (x86)\G-CLI> ./g-cli.exe
No launch VI supplied!
PS C:\Program Files (x86)\G-CLI>
09-29-2020 11:11 PM