Section 8. Operation
463
Powerup.ini Script Commands and Applications
Powerup.ini
Script Command
Description
Applications
13
Run always, erase data
Copies a program to a drive and sets
the run attribute to Run Always.
Data on a CF card from the
previously running program will be
erased.
14
Run now, erase files
Copies a program to a drive and sets
the run attribute to Run Now. Data
on a CF card from the previously
running program will be erased.
1
Use PreserveVariables() instruction in the CRBasic program in conjunction with powerup.ini script commands
1 and 6 to preserve data and variables.
Example Power-up.ini Files
'Code format and syntax
'Command = numeric power-up command
'File = file associated with the action
'Device = device to which File is copied. Defaults to CPU:
'Command,File,Device
13,Write2CRD_2.cr1,cpu:
'Run Program on Power-up
'Copy program file pwrup.cr1 from the external drive to CPU:
'File will run only when CR3000 powered-up later.
2,pwrup.cr1,cpu:
'Format the USR: drive
5,,usr:
'Send OS on Power-up
'Load an operating system (.obj) file into FLASH as the new OS.
9,CR3000.Std.28.obj
'Run Program from USB: Drive
'A program file is carried on an external USB: drive.
'Do not copy program file from USB:
'Run program always, erase data.
13,toobigforcpu.cr1,usb:
'Run a program file always, erase data.
13,pwrup_1.cr1,cpu:
'Run a program file now, erase data now.
14,run.cr1,cpu:
Summary of Contents for CR3000 Micrologger
Page 2: ......
Page 3: ......
Page 4: ......
Page 6: ......
Page 30: ......
Page 34: ......
Page 36: ......
Page 96: ......
Page 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Page 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Page 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Page 496: ......
Page 502: ......
Page 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Page 566: ......
Page 594: ......
Page 598: ......
Page 600: ......
Page 602: ......
Page 624: ......
Page 642: ......
Page 643: ......