11-01-2024 08:44 AM
I'm working on a small little .exe that other individuals can use for their automation (Python... other langue than LabVIEW). Does a quick simple task and that's it. I was reading here how to pass cmd line arguments into my application. But how do I pass back out a result? Like, for this instance, I'm getting a file, I'm changing the file type and possibly the name, and I wish to send back out to the user what the new path/name is. How does one do that?
Solved! Go to Solution.
11-01-2024 09:08 AM
I don't think it is possible to build a CLI application with LabVIEW.
11-01-2024 09:33 AM
@santo_13 wrote:
I don't think it is possible to build a CLI application with LabVIEW.
Oh? So we can feed it arguments, let it do its thing, and then that's it? Make sure it quits and move on?
11-01-2024 09:46 AM
Yes, LabVIEW-built applications can only take arguments as input and do not return user data to the caller/command line.
https://forums.ni.com/t5/LabVIEW/return-Argument-to-CMD/td-p/3729229
11-01-2024 09:54 AM - edited 11-01-2024 09:54 AM
Well that stinks.
So new question. Is there a way to get it to not open the UI? My app doesn't have a while loop, I've put "Quit LabVIEW" and I made sure "Show Front Panel when Called" is not checked. But it still opens for a blip of a second. Would love for it to not do that.
11-01-2024 09:55 AM - edited 11-01-2024 10:03 AM
...
11-01-2024 10:02 AM
I misunderstood. Nevermind
11-01-2024 10:26 AM
Set the VI window run time position to Minimized also.
11-01-2024 10:47 AM
@Yamaeda wrote:
Set the VI window run time position to Minimized also.
That'll work. Thank you
11-01-2024 12:41 PM - edited 11-01-2024 12:44 PM
@Yamaeda wrote:
Set the VI window run time position to Minimized also.
Scratch that, it's not working. Any thoughts on what I'm doing wrong?