Releases: G-CLI/G-CLI
v3.0.1
v3.0.0
A major release which has been coming for a while!
New Features
- Proxy rebuilt in Rust for cross-platform support.
- Standard error can be written to instead of standard out.
- Exit With Error Code.vi now writes to standard error.
- Non-verbose mode does not add anything to the output you generate.
- ClearCache tool included.
- Add Arch Flag for 32 bit and 64 bit setting
- Support for launching VIs in packed libraries/LLBs. (experimental)
- Experimental support for Linux (documentation to follow)
Deprecations/Breaking Changes
labview-cli
command no longer works.--no-launch
deprecated.--timeout
deprecated in favour of--connect-timeout
to remove ambiguity- Minimum version is now 2015.
v3.0.0 Beta
Beta release for version 3.0.0!
3.0.0 is a rewrite of the proxy in Rust in preparation for Linux support. The beta is still only Windows at this stage.
This includes:
- LabVIEW 2011+ support (but will probably become 2015 on final release)
- StdErr support
- PPL and LLB support
- ClearCache tool included by default.
See https://github.com/JamesMc86/G-CLI/wiki/Version-3.0-Breaking-Changes for more details on some things that could break.
Latest Build (Pre-release)
This release is a placeholder for the latest artifacts from the build system.
It is to be treated strictly as alpha software but used to enable dogfooding and early testing of new features.
Allow More Conccurency
- Detects if allow multiple instances is set on LabVIEW and acts like an EXE rather than using the service discovery system (which would conflict with multiple VIs of the same name) #96 - thanks @Zieleslaw
- Included the msi installers for the binary component in the release to aid installation alongside exes. #93
Minor Usability Improvements
This release adds a few minor improvements.
Exit With Error Custom Code and Error Handling Improvements
UPDATED 22nd August 2019
This release improves some of the error detection and reporting as well as some minor API tweaks.
- New input on exit with error code to set what the code is if there is no error.
- Prevent search dialogue during VIP install.
- Options parser didn't specify flag must be at the start of an argument.
- Some errors in G CLI didn't produce non-zero exit code.
- Provide a more obvious warning that the service locator isn't running.
- Specifies -unattended to LabVIEW to reduce/remove certain dialogues from the editor.
NOTE: The API change will cause a save dialogue on dependent tools. It may be worth mass compiling/reinstalling tools to avoid dialogue lockups.
Tool Creators Release
New release focused around making it even easier to create CI tools!
- If no local file exists G CLI will now search <vi.lib>\G CLI Tools for a VI with a matching name. This means tools can be installed with VI Package Manager for each version of LabVIEW.
- Shipping tools for an echo test and to quit LabVIEW.
- Start connection now returns the current working directory where the CLI tool was launched from and includes a VI for converting input paths to absolute paths with this.
- New option parser makes it easy to add optional settings to your command line interface.
For resources on the new features see:
- https://github.com/JamesMc86/G-CLI/wiki/Creating-Tools-To-Work-With-G-CLI for how to create tools that install to LabVIEW
- https://github.com/JamesMc86/G-CLI/wiki/Options-Parser for the option parser library
- https://www.youtube.com/watch?v=MytzXN59DkQ For a video walkthrough.
G CLI version 2.0.0 - Release
This release sees LabVIEW CLI renamed to G CLI to remove confusion with National Instruments product.
If you are upgrading from a previous version please review the notes at https://github.com/JamesMc86/G-CLI/wiki/Migrating-from-LabVIEW-CLI-to-G-CLI-(Name-Change)
New Features:
- No output from the CLI tool itself unless there is an error or verbose mode is selected. #65 (Thanks @chrisb2244)
- Can launch even if LabVIEW is already running.
- Hopefully compatible for submission to Tools Network
Bug Fixes:
- Issue with handling timeouts in beta 2 - #63 (thanks @chrisb2244)
Version 2.0.0 - Expected to be stable
Version 2.0.0 introduces launch into a LabVIEW instance which is already open. Compared to beta 1, beta 2 includes:
- Deprecated --lv-exe option as this clashes with checks for the LabVIEW open checks.
- Correct binary version included (automated this build process now).
- Better error handling on TCP process.
- Improved effectiveness of process detection - now there is no timing involved.
Overall the stability is improved and I expect this to become the release version once a name is settled on!