Page | 12
Configuration File
The application can be configured using a simple text file that can be created manually (see the
Configuration File Format
section below for details).
File Name
The configuration file must be named LOGGER.MEC.
Parameters
The following table describes the parameters for the configuration file.
Parameter
Format
Default
Comment
BusSpeed
See
comment
250K
Must be one of the following:
100K | 125K | 250K | 500K | 1M
Filter
SMSGID,EM
SGID,EXT
0x0,0x7FF,S
0x0,0x1FFFFFF
FF,E
All standard messages
All extended messages
Where:
SMSGID = start id
EMSGID = end id
EXT = E for extended
S for standard
OutputDebugToCAN
T/F
F
Trace messages will be echoed to the CAN
bus. CANId is required for this feature.
UseErrorPassiveDetection
T/F
F
When set to ‘T’rue the logger will look for
error passive conditions. It must
periodically broadcast a message to
determine the state. CANId is required
for this feature. The broadcast message
consists of a single byte message with the
value of 0x55.
CANId
0x##
0xFE
The id to use when talking on the bus. The
user should take care to choose an ID that
is safe to transmit on the CAN bus. Error
Passive Detection is disabled if this value
isn’t supplied.
LogType
C/S
S
C=Circular
S = Standard
AutoFlush
T/F
F
Protects logged data from power loss.
When set to ‘T’ the logger issues a flush
command with each write. NOTE: This can
impact performance for some SD cards.
See our website for a list of the best
performing SD cards.
OverrideDefaults
T/F
F
Override the application defaults. When
set to true the values in the configuration
file will become the new defaults.