beautypg.com

5 file names, 6 file system errors – Campbell Scientific CR800 and CR850 Measurement and Control Systems User Manual

Page 331

background image

Section 8. Operation

331

 

8.3.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
long filename, memory allocated to the root directory can be exceeded before the
actual memory of storing files is exceeded. When this occurs, an "insufficient
resources or memory full" error is displayed.

8.3.6 File System Errors

Table File System Error Codes

(p. 331)

lists error codes associated with the

datalogger file system. Errors can occur when attempting to access files on any of
the available drives.

Table 78. File System Error Codes

Error Code

Description

1

Invalid format

2

Device capabilities error

3

Unable to allocate memory for file operation

4

Max number of available files exceeded

5

No file entry exists in directory

6

Disk change occurred

7

Part of the path (subdirectory) was not found

8

File at EOF

9

Bad cluster encountered

10

No file buffer available

11

Filename too long or has bad chars

12

File in path is not a directory

13

Access permission, opening DIR or LABEL as file, or trying to open file as
DIR or mkdir existing file

14

Opening read-only file for write

15

Disk full (can't allocate new cluster)

16

Root directory is full

17

Bad file ptr (pointer) or device not initialized

18

Device does not support this operation

19

Bad function argument supplied

20

Seek out-of-file bounds

21

Trying to mkdir an existing dir

22

Bad partition sector signature

23

Unexpected system ID byte in partition entry

24

Path already open