Comments (3)
- Definitely, have a better handling of the connect case to give a specific error and perhaps a Boolean flag you can work from.
- I am slightly concerned about having the API disable itself in the case of a failed connection. Whilst I appreciate it would be more convenient if it did, this feels like something that would be better handled at the application layer.
Happy to get the opinion of others though, is this something that makes sense to have in the library (point 2)?
from g-cli.
I didn't mean it should disable itself automatically, my thought was to have just the property inside the class so I can set it whenever I want.
I can see two alternatives for me: Wrap all "Write String.vi"s into a subVI with a case structure inside (but I still would have to wire the CLI reference and the enable/disable info), or create a child class that implements the disable feature.
What would you suggest?
from g-cli.
As per our discussion yesterday, I will implement a wrapper class for the functionality I'd like to see. It will enable me to either output to the command line if called via CLI or to a GUI if called from my LabVIEW build tool.
from g-cli.
Related Issues (20)
- Start-cli argument parsing off 1 index for port when running an LV exe HOT 5
- Better Powershell Integration
- Duplicate messages when LabVIEW crashes (Comms Error: Unexpected EOF Error)
- g-cli did not show any warnings or errors when using the deprecated (2.x) `--timeout` argument HOT 1
- Set LabVIEW Version With Environmental Variable
- *relative* paths to VIs inside of PPLs does not work (on Linux at least) HOT 1
- Kill LabVIEW Command Doesn't Work on Linux HOT 4
- Add an `--exit` argument for LabVIEW to exit after completion of cmd HOT 3
- Handle Missing NI Registry Keys
- Get Option Value.vi should return 'option type' HOT 1
- Add Cache or Pre Build to Linux Dev Container
- Exception during registry scan for active lv version HOT 1
- Multi-Instance Environments Could Kill the Wrong Instance
- Linux doesn't detach from LabVIEW process
- g-cli in Linux hangs if called from an SSH session HOT 2
- lvBuild missing in VIP HOT 1
- Testing with G-CLI HOT 4
- Memory Allocation Errors - Improved Error Checking?
- UNC Paths Fail To Launch
- Timed out waiting for app to connect to g-cli HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from g-cli.