>
Sample Application - Automated Incubation Unit

Configuring the Data Logger

We need to set aside memory on our microcontroller for the Data Logger to store its data. Of course, we need first to decide how much data we want to log. Let's suppose, for this example, that we want to sample the temperature once per minute for three days:

60 minutes per hour * 24 hours per day * 3 days = 4320 samplings

Each sample is stored in a time-stamped record, so we will need to allocate space for 4320 records.

To allocate space for 4320 records we need to set the number of records allocated. Use the Number Allocated field.

Finally, we specify the rate at which the Data Logger logs. We do this by setting its Update Frequency property to once per minute.

Click OK to finish creating the Data Logger. It will appear at the bottom of the Component Listview.

Our Data Logger is now deployed on the microcontroller. Every minute it will store the values of each of its Sources into the memory we've allocated for it. We have enough memory set aside for it to store 3 days worth of logging. To get that logged data to the PC where we can visualize it and save it to file we will need a Strip Chart Visual Control.

 
 
© Copyright Intec Automation Inc.