Sparr Electronics Limited
Page 6
8. Configuration
:
The device configuration files (config*.txt and rtc.txt) is used to configure the CAN Data Logger. The
configuration file can be accessed from a PC when connected via USB Cable. While powering ON, the
device will check for these 2 files if they are present then the device will copy the parameters and delete both
the files and start working accordingly.
7.1.
config.txt file Configuration:
All Configurable parameters will start with “
#
”, followed by “Parameter name”,”=”, “value of the parameter”
and ends with “
%
”.
Configurable Parameters
1)
CAN Bitrate
2)
Model ID
3)
File Size
CAN Bitrate:
Device supports bitrate from 20 Kbps to 500 Kbps. The bit rate can be configured as
mentioned below.
#CAN Bitrate=*%
Where * is the corresponding number of the bit rate selected.
Example: #CAN Bitrate=6%
Where 6 is for 500Kbps.
Bit Rate Table
Model ID:
The Model Id for identifying device, this
can be configured based on from where the device will be
collecting the data. It can be up-to 255.
Model ID is configured as mention below
#Model ID=***%
Where *** is the ID number.
Example: #Model ID=18%
Where 18 is the Model ID.
File Size:
This value is the maximum file size in megabytes, this can be configuring from 1MB to 999MB
Based on the size configured the logger will record. If a file becomes longer than this, the logger will save the
file which is currently recording and begin a new log file with the current date and time (dd/mm/hh//mm
format).
#File Size=***%
Where *** is the file size in MB
Example: #File Size=10%
Where 10 in the file size (10MB).
Value
Bit Rate in KB/s
0
20 Kbps
1
83.3 Kbps
2
125 Kbps
3
175 Kbps
4
225 Kbps
5
250 Kbps
6
500 Kbps
Содержание CAN
Страница 1: ......