PK70 Application Settings Programming Question

Discussion to talk about software related topics only.
Post Reply
EyeStealth
Posts: 2
Joined: Sat Oct 29, 2011 6:21 pm

PK70 Application Settings Programming Question

Post by EyeStealth »

Newbie here.
I am new to embedded programming and wanted to know what is the best way to store application settings in the 5270.
I am writing an application that will have a web interface that will allow the user to set various application settings and I want these settings to be stored in non-volatile memory. If the PK70 is powered down and powered up, the application will start running and obtain the proper settings from this non-volatile area.
I thought about writing the settings to an ini file, but it seems to be that there is probably some better method for handling.

I appreciate your help.

If there are any examples that I can look at that would be best.

Thanks in advance.

Allan
User avatar
pbreed
Posts: 1091
Joined: Thu Apr 24, 2008 3:58 pm

Re: PK70 Application Settings Programming Question

Post by pbreed »

Take a look at the example.
nburn\examples\web\flashform

That uses the Userparam space flash storage to save and retrieve a message that is non-volatile across power cycles.
EyeStealth
Posts: 2
Joined: Sat Oct 29, 2011 6:21 pm

Re: PK70 Application Settings Programming Question

Post by EyeStealth »

pbreed,
Thanks for giving me some help.
Post Reply