SourceForge.net Logo

Home- Data Collection- Data Mining- GPL Software- Services- FAQ- Tips

XMLparse Test

You are going to need a rs232 Null modem cable.

   DB9            DB9  
    5 -----------  5
    3 -----------  2
    2 -----------  3
There are several ways to test the system. One of the easiest is using a terminal program. From a Windows box start up HyperTerminal and configure it to a unused comport with settings 8n1 at 9600 bps. Plug the null modem cable into the client and Windows boxes. Copy the string below and past(past to host) it into HyperTerminal.
*<w,5,0>140<w,5,0>$
This will produce 17 records immediately then another record about 5 seconds later. To see the records login to the client and look in the /home/data/records/ directory.

cd /home/data/records/
ls
b 19800101233045 005 240 0
b 19800101233045 005 000 0
b 19800101233045 005 001 0
b 19800101233045 005 002 1
b 19800101233045 005 003 1
b 19800101233045 005 004 0
b 19800101233045 005 005 0
b 19800101233045 005 006 0
b 19800101233045 005 007 1
b 19800101233045 005 008 0
b 19800101233045 005 009 0
b 19800101233045 005 010 0
b 19800101233045 005 011 0
b 19800101233045 005 012 0
b 19800101233045 005 013 0
b 19800101233045 005 014 0
b 19800101233045 005 015 0
Then in about 5 seconds

b 19800101233051 005 240 1
Run sync and these records should be deleted.
cd /home/data/
./sync.exe

Login to the server as data. Login to MySQL and check to see if the records have arrived.
mysql -p
*password*
use data
select * from data_bit;
If you data is there congratulations.
Your system works.
Now configure your data source to output XML encoded data and plug it in.

Home- Data Collection- Data Mining- GPL Software- Services- FAQ- Tips

SourceForge.net Logo

http://sourceforge.net/projects/frontiertech/