Program Execution; Example Powerup.ini Files - Campbell NL116 Instruction Manual

Ethernet and compactflash module
Table of Contents

Advertisement

NL116 Ethernet and CompactFlash

7.2.3.3 Program Execution

7.2.3.4 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.28.obj
22
®
Module
Command 2 copies the specified program to the designated drive. The
program specified in command 2 will be set to Run Always unless
command 6 or 14 is used to set a separate Run Now program.
Command 5 formats the designated drive.
Command 6 copies the specified program to the designated drive and sets
the run attribute of the program to Run Now. Data on a CF card from the
previously running program will be preserved.
Command 7 copies the specified file to the designated drive with no run
attributes.
Command 13 copies the specified program to the designated drive and sets
the run attribute of the program to Run Always. Data on a CF card from
the previously running program will be erased.
Command 14 copies the specified program to the designated drive and sets
the run attribute to Run Now. Data on a CF card from the previously
running program will be erased.
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.
Examples 7-2 through 7-7 are example powerup.ini files.

Advertisement

Table of Contents
loading

Table of Contents