LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

saving and loading the data from the multicolumn listbox

Hi everybody,
 
I hope somebody can help me with this one. My aim is to have three buttons on my frontpanel which gives the user the chance to save the current values of the multicolumn listbox, or load  previous saved values into the listbox, or use a blank multicolumn listbox. Does anybody have an idea how to solve this task? 
Thanks in advance.
Regards
Daniel
0 Kudos
Message 1 of 5
(3,488 Views)
Hello,

That's easy.... See if only a description of the solution it's enough for you.

The only thing that you have to do it's creating a property node of the listbox. Right click above the listbox and select "create", then "property node". Select the property "item names".
This has a 1D array of strings input. So:

blank listbox: give an empty 1D array
LOAD: read the file put the it in an array and write the property.
Save: read the property and save the array to a file.

If you need more help, I can do you an example. But tell me your labview version

Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 2 of 5
(3,485 Views)

Thanks for the quick answer. The item names property was already familiar to me, but I have problems with the saving and loading configurations. Could you give me an example on how to save the data in a file (what kind of file) and to load the data. My multicolumn listbox has 3 columns.

My Version is 8.2

Thanks.

Regards

Daniel

0 Kudos
Message 3 of 5
(3,478 Views)

Hi ,

I managed to do it myself. I thought it was much more difficult than it isSmiley Wink. So, thanks everybody till next time.

Regards

Daniel

0 Kudos
Message 4 of 5
(3,465 Views)

Could u please share the block diagram of this program.... I am trying to do smtg similar but unable to do so

 

0 Kudos
Message 5 of 5
(1,946 Views)