EasyManua.ls Logo

Campbell CR800 Series - File Management Q & a; File Names

Campbell CR800 Series
598 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section 8. Operation
424
'Run Program on Power-up
'Copy program file pwrup.cr1 from the external drive to CPU:
'File will run only when CR800 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,CR800.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:
Power-up.ini Execution
After powerup.ini is processed, the following rules determine what CR800
program to run:
If the run-now program is changed, then it is the program that runs.
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.
If neither run-on-power-up nor run-now programs are changed, the
previous run-on-power-up program runs.
8.8.4.5 File Management Q & A
Q: How do I hide a program file on the CR800 without using the CRBasic
FileManage() instruction?
A: Use the CoraScript
(p. 493) File-Control command, or the Web API (p. 435, p.
435) FileControl command.
8.8.5 File Names
The maximum size of the file name that can be stored, run as a program, or FTP
transferred in the CR800 is 59 characters. If the name is longer than 59 characters,
an Invalid Filename error is displayed. If several files are stored, each with a

Table of Contents

Related product manuals