Campbell Scientific CR3000 Micrologger User Manual

Page 546

Advertising
background image

Appendix B. Status Table and Settings

546 

 

 

Table 125. CR3000 Settings

Settings are accessed through the Campbell Scientific Device Configuration Utility (DevConfig) via direct-serial and IP connections, or through
PakBusGraph via most CR3000 supported telecommunications options.

Setting Description

Default

Entry

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 via FTP protocol, or 3211 if the files are written via
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, and *.JPG files from node 130 are named
CRD:SouthEastnnn.JPG, while 20 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.

 

A second instance of a setting can be configured using the same node PakBus address
and same file type, in which case two files will be written according to each of the two
settings. For example,
(55,USR:photo.JPG,100)
(55:USR:NewestPhoto.JPG,0)
will store two files each time a JPG file is received from node 55. They will be named
USR:photonnn.JPG and USR:NewestPhoto.JPG. This feature is used when a number of
files are to be retained, but a copy of one file whose name never changes is also needed.
The second instance of the file can also be serialized and used when a number of files
are to be saved to different drives.

 

Entering 3212 as the PakBus address activates storing IP Trace information to a file.
The "number of files" parameter specifies the size of the file. The file is a ring file, so
the newest tracing is kept. The boundary between newest and oldest is found by looking
at the time stamps of the tracing. Logged information may be out of sequence.
Example:
(3212, USR:IPTrace.txt, 5000)
This syntax will create a file on the user drive called IPTrace.txt that will grow to
approximately 5 KB in size, and then new data will begin overwriting old data.

Advertising