LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW exe called by Python or via Command Line

Solved!
Go to solution

I want to make a tool that a Python user can call.  I mentioned possibly activeX being a solution. I  also mentioned the easiest way would be to have LabVIEW act as a wrapper for Python.  But they wish to keep the languages separate (weird hatred for LabVIEW) and only wants to call the executable.  But the executable would require inputs if they wish to run in an autonomous fashion.

 

So I was wondering, I've seen plenty of C based executables where you can call it in command line and type in stuff like, "myapp.exe -t do_thing" - something along those lines.  Can LabVIEW make executables do similar?  Where a Python user could call the executable in a command line and give all the controls the necessary inputs?

0 Kudos
Message 1 of 4
(391 Views)
Solution
Accepted by topic author LuminaryKnight
Message 2 of 4
(373 Views)

Yes, LabVIEW built executables can take command line arguments.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHdICAW&l=en-US

 

Some VI packages to make your easier with Command Line arguments,

https://www.vipm.io/package/sklein_lib_lv_argparse/

https://www.vipm.io/package/wiresmith_technology_lib_labview_cli/

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 3 of 4
(372 Views)

Much appreciated!  Thank you!  Exactly what I was looking for.

0 Kudos
Message 4 of 4
(336 Views)