Red Lion CompactFlash code?

The 10 specifies that the number should be converted as base 10.

As an aside, I'm not sure how Ken's code could be used for recipe storage except in very simple applications. The idea behind a recipe is that you have 'x' number of recipes, each with 'y' individual parameters. This necessitates a 2D matrix of size 'x' by 'y', with x*y total elements. If you simply store one data element per line, I don't see how you can maintain the recipe structure. Unless, perhaps, you store three elements per line: the recipe number, the parameter number/name, and the data value for that parameter. Then your program code would read each line and store the data value in the proper array location based on the other two elements. Parsing delimiters would still be required so I don't see much advantage.
 
the recipes are just stored in a linear fashion on the CF card.

they are read into tag arrays which lets the user scroll screen by screen to select one to edit or use. (bonus feature is the recipes can be easily copied to another CF card)

our recipes (oven control) consist of
(description)
(segment 1: ramp time, soak time, temperature, pressure)
(segment 2: ramp time, soak time, temperature, pressure)
(segment 3: ramp time, soak time, temperature, pressure)
(segment 4: ramp time, soak time, temperature, pressure)
(segment 5: ramp time, soak time, temperature, pressure)

users can select from 100 recipes.
 
I appreciate everyones help. I had someone spend the day with me on Friday going over my code line by line and answering my specific questions. I eventually figured out how to accomplish what I have been asking everyone how to do a retrieve. Thanks to each and everyone who took out time to post a reply to me.

Now on to the next step, searching for a specific recipe and automatically sorting recipes in alphabetical order.
 

Similar Topics

Hi. Last two days I was trying to get Red Lion Crimson Data Logger to write to Transcend 2GB Flashcard. I tried two of these - no luck. Crimson...
Replies
1
Views
1,592
I'm looking to purchase a large quantity of CompactFlash cards to have on hand for our G3 panels. Since the G3 seems to be picky about card brands...
Replies
5
Views
3,051
Okay, I finally got the noise issue under control on my checkweigher project and it is weighing boxes and logging them to compact flash. When I...
Replies
6
Views
2,934
Hey all, ive got a problem on a remote red lion G3 unit. The units have been working fine, but today when I tried to make a change to them, I got...
Replies
10
Views
8,769
While they came up quickly with a fix for the alarm date issue quickly I will have to drive around for a week or so, burning up a lot of fuel...
Replies
4
Views
271
Back
Top Bottom