Product manual

Section 3. File Formats
3.3.3 Program Execution
After File is processed, the following rules determine what datalogger program
to run:
1) If the Run Now program is changed then it will be the program that runs.
2) If no change is made to Run Now program, but Run on Power-up program
is changed, the new Run on Power-up program runs.
3) If neither Run on Power-up nor Run Now programs are changed, the
previous Run on Power-up program runs.
3.3.4 Example Power-up.ini Files
Example 3.3.4-1 through Example 3.3.4-6 are example powerup.ini files.
EXAMPLE 3.3.4-1. Run Program on Power-up.
’Copy pwrup.cr1 to USR:, will run only when powered-up later
2,pwrup.cr1,usr:
EXAMPLE 3.3.4-2. Format the USR: drive.
’Format the USR: drive
5,,usr:
EXAMPLE 3.3.4-3. Send OS on Power-up.
’Load this file into FLASH as the new OS
9,CR1000.Std.04.obj
EXAMPLE 3.3.4-4. Run Program from CRD: drive.
’Leave program on CRD:, run always, erase CRD: data files
13,toobigforcpu.cr1,crd:
EXAMPLE 3.3.4-5. Run Program Always, Erase CF data.
’Run always, erase CRD: data files
13,pwrup_1.cr1,crd
EXAMPLE 3.3.4-6. Run Program Now, Erase CF data.
’Copy run.cr1 to CPU:, erase CF data, run CPU:run.cr1, but not if later powered-up
14,run.cr1,cpu:
3-4