Hi,
It is possible to set parameter values from the command line when calling a LabVIEW executable by using the block "Property node". My question is; is it possible to update and change LabVIEW parameters in an already running executable? If so, how can this be done?
I would be very thankful for suggestions!
Best regards
Christoffer
Solved! Go to Solution.
The property: Application => Command Line Argument ONLY works when an LabVIEW application launches, does NOT work for a running LabVIEW application.
To solve your problem, you have to launch another LabVIEW application which takes the command line argument, and uses VI Server function to pass the parameters to the running LabVIEW application.
Thank you very much for the answer! I am quite new to LabVIEW so I was wondering if there is an easy way to use VI server functions to send values from one LabVIEW program to the front panel of another? Also, will it later be possible to make executables of the two VIs, the reason of doing this is basically to not have to by a large amount of LabVIEW-licenses (which the company won't agree to).
For VI server example, take a look: https://www.notatamelion.com/2015/05/25/using-vi-server-to-interact-with-executables/
To create executable from VIs, you have to have the Application Builder.
What parameters do you want to change dynamically ?
Thanks a lot for your replies!
I just wanted to dynamically change some front-panel numeric values of an executable from a python-file. However, it seems that maybe it is a bit too involved for me.