USB Accelerometer Model X16-1C
3.2.4
System Configuration Options
The X16-1C is configured using a set of tags and settings stored in a text file named “config.txt”,
which is located in the root directory of the microSD card. The system reads the configuration file at
boot time. Table 2 lists the configuration file tags. A tag is followed by an equal sign (“=”) and an
applicable tag setting. A line finishes with a newline character (For Windows systems,
Wordpad
is
recommended for editing the config.txt file.
Notepad
does not terminate lines appropriately). Tags are
not case sensitive. Tab and space characters are ignored. Lines starting with a semicolon (“;”) are
treated as comments and ignored by the system. The system will use the default settings listed in
Table 2 if the config.txt file is not found.
Table 2: Configuration File Tags and Descriptions
Tag
Valid Settings
Default
Description
An integer between
0 and 32767
0
Sets the deadband to a range expressed in “counts”.
A new sample is recorded if any sensor axis
exceeds the previous recorded reading by the
deadband value
An integer between
0 and 65535
3
Specifies the period in seconds when a sample is
recorded regardless of the deadband setting. This
feature ensures periodic data is recorded during
very long periods of inactivity.
An integer between
0 and 65535
1
The number of samples recorded after a deadband
threshold triggered event
-
Off
The presence of this tag sets the device to record
time stamps with 0.1ms effective precision.
-
off on disconnect
The presence of this tag causes the system to start
recording after disconnect from a USB port.
An integer between
-127 and 128
0
Fine adjustment for RTC correction
An integer greater
than 0
28896
The number of lines of data per data file before a
new file is created
12, 25, 50, 100, 200
25
Sets the rate at which data is collected and recorded
to the microSD card.
See section 3.2.4.9
-
Defines when to start and stop recording
-
Off
Stops data logging if 5v USB power is present (see
section 3.2.4.10)
“Normal”, “High”,
“Off”
Normal
LED status indicators can be activated with normal
brightness (Normal), activated with high brightness
(High), or completely deactivated (Off).
-
Off
Stops USB if no host communications detected (see
section 3.2.4.12)
January 2012 Rev New
5 of 14
www.gcdataconcepts.com