
Page 56
Sonic-Pro
Industries, Ltd.
Industries, Ltd.
ProSeries
by Blue-White Ind.
TM
Log entries will be written to the flowmeter’s Flash memory card if one is installed. The
flowmeter supports Secure Digital (SD) and MultiMediaCard (MMC) flash memory cards
of most common brands and capacities. If a correctly formatted card is not installed
appropriately (see below), log entries will not be written but in all other respects the
flowmeter will operate normally. The flowmeter is shipped with a 32MB card installed.
To insert or remove a memory card, it is necessary to open the wiring access door of the
flowmeter. The card slot is on the bottom of the main PCB, and therefore hard to see, but
its position is marked on the top silkscreen. To insert a card, hold it with the label side
away from, slide the end with the gold contacts under the PCB into the slot and push
gently until it clicks into place. To remove a card, push it inwards until it clicks again
and then release the pressure. A spring will push it out slightly. From this position, slide
the card fully out.
The first time a memory card is installed, the meter must be power cycled while the card
is in place. After the initial installation, the memory card should only be inserted or
removed when the flowmeter is in the
Setup Mode
or if the meter is powered off. Before
inserting or removing the card, use any of the methods described in section 2 above to
enter
Setup Mode
. Flow measurement will be disrupted. After inserting or removing the
card, the flowmeter can be returned to
Startup
and then to
Run Mode
, see section 2.3
above for details. If a card is inserted when the flowmeter is not in
Setup Mode
or
powered off, no harm will be done but log entries will not be written to it. To remedy this
situation, enter and then leave
Setup Mode
. If the card is removed when the flowmeter
is not in
Setup Mode
, data on the card may be corrupt. After retrieving undamaged log
files, the card should be reformatted. Additionally, the flowmeter should be power-cycled.
SD/MMC cards for use in the flowmeter should be formatted according to the FAT32
standard. Files can then be written to and read from the card by any computer that
understands this file system (when fitted with the appropriate adapter) including PCs
TM
running Windows or Linux .
Log entries are stored in files with names of the format
lognnnnn.txt
, where
nnnnn
is
a decimal number from
00000
to
99999
. Each log entry is written to a separate line in
the file and is terminated with the newline character. Some older Windows-based text
editors may not recognize newline as a line break (without a carriage return following it),
but most modern software is compatible with this format. Log files are placed in the sub
directory
logs
of the root directory of the memory card. Any files on the memory card
that are not in the
logs
sub-directory or do not have names in the above format will be
ignored by the flowmeter. Although they will reduce the space available for log files, they
will not be deleted. Any files in the logs sub-directory with names that do look like log file
names are at risk of being deleted to free up space on the card.
The log file currently in use is closed and a new one is opened in these situations:
!
The flowmeter enters Setup Mode and then subsequently passes to Run Mode
!
The log file reaches a size of approximately 1 MB (about 16,000 entries)
The five-digit number in the names of log files progresses by one each time this happens,
so it is trivial to reconstruct the sequence of log entries over different files. In this
sequence, 00000 follows 99999.
If the memory card has less than 1 MB of free space when a new file is opened, the oldest
log files are deleted until this much free space exists. Thus, if log files are not moved off
of the card before it fills up, new entries are preserved at the expense of old entries.
TM
7.6.4
Local Log
Data Storage
(SD Data
Card Storage)
7.6.4.1
Inserting and
Removing the
Memory Card
7.6.4.2
Format of
Data on the
Memory Card
7.6.4.3
Rotation and
Purging of
Log Files