|
|
View previous topic :: View next topic |
Author |
Message |
planix
Joined: 20 May 2006 Posts: 5
|
Help about vt100 term |
Posted: Thu Jun 14, 2007 4:07 pm |
|
|
Hi there,
We have came across to log some data and print on a lcd from our motor controller which has an vt100 emulation standart. But as you know vt100 is a diffrent standart which is becames rellay complicated
here comes the question, we need a some kind of parser for this application. Is there a present one or do we need to write it from the strach. if there is not an parser at least can you point me the direction how can i do this. |
|
|
Ttelmah Guest
|
|
Posted: Fri Jun 15, 2007 2:36 am |
|
|
Start by working out what you actually need to do.
Reading what you say, it sounds as if you want to send some data to a device supporting vt100?. If so, then 'parsing' is not necessary. All you would need to do, is to format your output data, using vt100 control codes.
However, if you are saying that data is going to be sent 'to you', from a system using vt100 controls, then parsing would become necessary.
The 'odds' are that a device that says it 'outputs data in vt100 format', simply means that it is sending standard ANSI control sequences for the end of line, and movements. If however it is sending the whole vt100 control set, then a parser, would be _huge_ (think in terms of the entire memory space of a medium PIC, to write a parser for every control sequence possible to/from a vt100 terminal...
You need to get the manual for your device, and see what commands it is going to send you. If (as I suspect), it is only a limited set of command lines, then a simple parser would be fairly easy.
Best Wishes |
|
|
|
|
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 vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|