Section 8. Operation
CR800 File Attributes
Attribute Function
Program Send Option
that Sets the Attribute
Run Now
Runs only
when file sent
to CR800
a) File Control
2
with Run Now checked.
b) Campbell Scientific mass storage
device power-up
3
using powerup.ini
commands 6 & 14 (see table Powerup.ini
Commands (p. 422) ). However, if the
external-storage device remains
connected, the program loads again from
the external-storage device.
1
Support software program Send (p. 498) command. See software Help.
2
Support software File Control (p. 498). See software Help & Preserving Data at
Program Send
(p. 170).
3
Automatic on power-up of CR800 with Campbell Scientific mass storage
device and Powerup.ini. See Power-up
(p. 421).
8.8.4.2 Files Manager
FilesManager := { "(" pakbus-address "," name-prefix "," number-files ")" }.
pakbus-address := number. ; 0 < number < 4095
name-prefix := string.
number_files := number. ; 0 <= number < 10000000
This setting specifies the numbers of files of a designated type that are saved
when received from a specified node. There can be up to four such settings. The
files are renamed by using the specified file name optionally altered by a serial
number inserted before the file type. This serial number is used by the datalogger
to know which file to delete after the serial number exceeds the specified number
of files to retain. If the number of files is 0, the serial number is not inserted. A
special node PakBus address of 3210 can be used if the files are sent with FTP
protocol, or 3211 if the files are written with CRBasic.
Note This setting will operate only on a file whose name is not a null
string.
Example:
(129,CPU:NorthWest.JPG,2)
(130,CRD:SouthEast.JPG,20)
(130,CPU:Message.TXT,0)
In the example above, *.JPG files from node 129 are named
CPU:NorthWestnnn.JPG and two files are retained . The nnn serial number
starts at 1 and will advance beyond nine digits. In this example, all *.TXT files
from node 130 are stored with the name CPU:Message.Txt, with no serial number
inserted.