![]() |
Dashboard Saving Values
I was wondering what the best way to save values on the dashboard. Anyone have any suggestions
|
Re: Dashboard Saving Values
Quote:
|
Re: Dashboard Saving Values
That is what we are doing now. No was just wondering if there was an easier way to do it whill code is running
|
Re: Dashboard Saving Values
That is what we are doing now. No was just wondering if there was an easier way to do it whill code is running
|
Re: Dashboard Saving Values
You cannot programmically 'set default value' on a front panel object, as this value is compiled into the code.
Instead you could implement a config file. When the dashboard first loads you can read the value stored and set the front panel object. And when you want to save it you just overwrite this value. LabVIEW's ini file pallette works well for this, under Programming --> File I/O --> Configuration File VIs, |
Re: Dashboard Saving Values
Do you have an example of how to do this
|
Re: Dashboard Saving Values
2 Attachment(s)
These two VI Snippets attached show an example of initialization and writing the value. The config file would then look something like this:
Code:
[Defaults] |
| All times are GMT -5. The time now is 05:58 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi