Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture a data stream into a table
Message
De
04/05/2007 08:43:39
 
 
À
03/05/2007 09:32:37
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01222161
Message ID:
01222450
Vues:
17
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform