Broken Arrow wrote:
>
> I am successfully creating and reading a config file with the method
> shown on the attached jpeg. It works fine, but that seems like a lot
> of code to write 7 scalers and read them. I'm probably overlooking
> something simple. Can someone give this a look and tell me if that's
> the "correct" way of doing it?
One approach would be to store multiple parameters on one line.
You then have fewer keys:
RinseSettingQuantities=bkPulses,bkDuration, ...
RinseSettingValues=5,30.0, ...
That could be easier, especially if you always write or read all values
to the file at one time.
Best, Mark