|
Required Level : Standard
Required Version : 3.21 or later
TNA 2000 supports the automatic
collection of data from other hardware devices, via a text file.
TNA 2000 is able to monitor directories for files, and as soon as a
file is placed in the directory then it is automatically imported.
Related Articles
TNA 2000
Generic Import Format
Configuration - part 1
In the Configuration module, go
to the System Setup menu, to the Features option.
Select the Hardware tab.
Tick on the option Using Text-Import
from hardware.
Configuration - part 2
In the Hardware module, go to
the Setup menu, to the Devices option.
Click on Add.
In the Clock Code field put a
simple name for this entry. Something as trivial as Disk
will do nicely. (If you have multiple devices make sure each has
a unique name.) Enter any
Description you like. Select
Text Import Generic from the Make & Model list.
Click on the Connection tab.
Enter the name of the file to watch for in
the File field. Include the full path name here. For example
c:\incoming\clock.txt Wild cards
are acceptable in the name (in version 3.24 or later). For example
c:\incoming\*.csv Select the
Format that matches the format of your incoming text file.
How it works
The Communications module monitors the
directory(s) set in the hardware module. If a file arrives in
the directory, then it is automatically imported.
After importing the file is automatically
renamed, by adding the time, and date, of the import to the file name,
and the file is moved into a subdirectory called Done. (If the
directory does not exist it will be created for you.)
The communications module only checks
the directory every minute or so, so a file may be in the directory
for about a minute before it is imported.
|