FILESTATUS
Displays the state of the data log file
Platform: |
OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700 |
PwrPak7M variants and Legacy CPT7 receivers (PN 80023560) do not support this log.
Use this log to display the current state of the data log file. Typically the FILESTATUS log is used to determine if the log file is open for writing or closed. However, it also shows any error that has occurred.
Message ID: 2127
Log Type: Asynch
Recommended Input:
log filestatusa
ASCII Example
#FILESTATUSA,USB1,0,65.5,FINESTEERING,2209,502895.032,02000020,4dbd,16809;INTERNAL_FLASH,CLOSED,"",0,15726822,15754462,""*791f9a6e
Field |
Field Type |
Description |
Format |
Binary Bytes |
Binary Offset |
---|---|---|---|---|---|
1 |
Log header |
FILESTATUS header For information about log headers, see ASCII, Abbreviated ASCII or Binary. |
- |
H |
0 |
2 |
MassStorageDevice |
The type of recording device |
Enum |
4 |
H |
3 |
FileStatus |
File status See Table: File Status. |
Enum |
4 |
H+4 |
4 |
FileName |
Filename of the log file |
Fixed Uchar Array |
MAX_FILENAME_LENGTH (MFL) |
H+8 |
5 |
FileSize |
File Size (bytes) |
Ulong |
4 |
H+MFL+8 |
6 |
MediaRemainingCapacity |
Remaining capacity on the storage media (kb) |
Ulong |
4 |
H+MFL+12 |
7 |
MediaTotalCapacity |
Total capacity of the storage media (kb) |
Ulong |
4 |
H+MFL+16 |
8 |
ErrorMsg |
Error Message |
String |
Variable |
H+MFL+20 |
9 |
xxxx |
32-bit CRC (ASCII and Binary only) |
Hex |
4 |
Variable |
10 |
[CR][LF] |
Sentence terminator (ASCII only) |
- |
- |
- |
Binary |
ASCII |
Description |
---|---|---|
1 |
USBSTICK |
USB mass storage device |
3 |
NO_STORAGE |
No mass storage |
4 |
INTERNAL_FLASH |
Internal eMMC flash |