3 program execution, 4 example powerup.ini files, Program execution – Campbell Scientific NL115 Ethernet Interface and CompactFlash Module User Manual
Page 25: Example powerup.ini files

NL115 Ethernet and CompactFlash
®
Module
7.2.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, it will be the program that runs.
2) If no change is made to the Run Now program, but the Run on Power-up
program is changed, the new Run on Power-up program runs.
3) If neither the Run on Power-up nor the Run Now programs are changed,
the previous Run on Power-up program runs.
7.2.3.4 Example Powerup.ini Files
Examples 7-2 through 7-7 are example powerup.ini files.
EXAMPLE 7-2. Run Program on Power-up.
'Copy pwrup.cr1 to USR:, will run only when powered up later
2,pwrup.cr1,usr:
EXAMPLE 7-3. Format the USR: Drive.
'Format the USR: drive
5,,usr:
EXAMPLE 7-4. Send OS on Power-up.
'Load this file into FLASH as the new OS
9,CR1000.Std.04.obj
EXAMPLE 7-5. Run Program from CRD: Drive.
'Leave program on CRD:, run always, erase CRD: data files
13,toobigforcpu.cr1,crd:
EXAMPLE 7-6. Run Program Always, Erase CF Data.
'Run always, erase CRD: data files
13,pwrup_1.cr1,crd
EXAMPLE 7-7. 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:
19