01-27-2016 08:09 AM
Hi everyone,
when I am in editing mode, I can right click a string control and go under "Data Operations" and select "Make current value default".. I need to do this in run time mode but I cannot find a property that does the job.
Any suggestions?
Thanks,
LoBa
Solved! Go to Solution.
01-27-2016 08:26 AM - edited 01-27-2016 08:26 AM
I would create a string constant with your default value and feed that into a value property node.
01-27-2016 08:29 AM
Hi Loba,
My advice is to init the control items from your application with ini files. You got an API for name config file VI. Like that, you can change the default value between each application run.
This is explain Here.
Regards
01-27-2016 09:18 AM - edited 01-27-2016 09:22 AM
In addition to the native LabVIEW ini VIs, you can install the OpenG toolkit which has a ton of improved add-on VIs. Part of this is the OpenG Variant Configuration File palette. There's even a VI included called Write Panel to INI (and Read Panel from INI) that makes it really easy to save your VI session between runs.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
01-27-2016 09:19 AM
thanks!
01-27-2016 09:22 AM
This is how it's done for the whole panel:
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'