Register    Login    Forum    Search    FAQ

Board index » Programming Alarm Modems » TiXML




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post Posted: Mon Mar 23, 2009 11:47 am 
Offline
Tixi-Support-Team

Joined: Mon Oct 10, 2005 1:40 pm
Posts: 94
Location: Berlin
Tixi devices of the series 400 do have a SD-Card slot which supports cards up to 2GB.

The SD-Card can be used to update the firmware (copy tam_fw.bin into the root) or to process TiXML commands and configurations (TICO/TILA "Save as" config.txt into the root).

The file system and log memory can not be moved to the SD card. With firmware 3.2.0.36 a new command is available to copy data (e.g. logs) onto the SD card.
This data can be downloaded via TFTP:

At first create a Scheduler to trigger the copy process periodically:

<Datalogging_0_Copy _="Datalogging_0_Copy">
<Time _="0:01"/>
</Datalogging_0_Copy>

The triggered EventHandler uses the WriteFile command to create the file "LOGDATA.CSV" on the SD-Card.

<Datalogging_0_Copy>
<WriteFile _="MessageJobTemplates/CopyLogfile" File="LOGDATA.CSV" FileExistsOperation="override"/>
</Datalogging_0_Copy>

The MessageJobTemplate of the WriteFile command defines the content.

<CopyLogfile _="WriteFile">
<Body _="/D/UserTemplates/Message_0/Body"/>
</CopyLogfile>

The UserTemplate is similar to a message text and may include site status or log data.

<Message_0>
<Body>
<IncludeLogTXT _="Datalogging_0"
range="&#xae;~/P1,previous 24 hours;" flags="NoId" type="CSV"/>
</Body>
</Message_0>

The file LOGDATA.CSV is offered for download by the TFTP-Server by refering to the SD-Card using the prefix "0:"

[<SetConfig _="ISP" ver="y">
<TFTP>
<Port _="69"/>
<Files>
<Logdaten _="0:LOGDATA.CSV" acc="R" size="1000000"/>
</Files>
</TFTP>
</SetConfig>]

_________________
Tixi Support Team

E-Mail-Support, Mo-Fr, 9:00am - 5:00pm, Tixi-Support@tixi.com
Support-Hotline, Mo-Fr, 9:00am - 5:00pm, +49-30-406 08 300


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 1 post ] 

Board index » Programming Alarm Modems » TiXML


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron