Writing/Reading a Structure to Flash Memory
TurnipTruck
Posts: 1,485
Greetings,
I would like to save the values of 100 instances of a structure to flash for reloading at startup. The structure is created in a module and cannot be peristent.
If someone could give me a quick explantion on this, it would be much appreciated.
Thank you.
I would like to save the values of 100 instances of a structure to flash for reloading at startup. The structure is created in a module and cannot be peristent.
DEFINE_TYPE Structure MyStruck { //There are ten various variable types in the structure } DEFINE_VARAIBLE MyStruck MyStructure[100]
If someone could give me a quick explantion on this, it would be much appreciated.
Thank you.
0
Comments
Another method that would work in a similar way is to write the variable into a text file in the master's virt disk. You'd have to write some kind of translator to move the data on and off the disk.
I do this with my very large Cablevision/Satellite TV channels listing.
This will do the trick!