Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capture a data stream into a table
Message
From
04/05/2007 08:43:39
 
 
To
03/05/2007 09:32:37
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01222161
Message ID:
01222450
Views:
22
>I told my boss I would try but don't really know how. But I bet someone here can help.
>
>We have a phone switch that outputs a data stream to a particular port. Through TCO/IP and HyperTerminal this data can be viewed. I need to capture this data stream and write it to a table.

There are tools for reading serial port which will dump incoming port info
into a txt file(s) which you can then slice/dice with VFP.

I found and used 'ComCap
(Google for ComCap by MagentaSystems UK)
but there are many.

Use FileToStr() to read txt to string and then
from string you chop it up into a tmp cursor. From there you can do what ever you want.

HTH
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform