CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Help about vt100 term

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
planix



Joined: 20 May 2006
Posts: 5

View user's profile Send private message

Help about vt100 term
PostPosted: Thu Jun 14, 2007 4:07 pm     Reply with quote

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 Rolling Eyes

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







PostPosted: Fri Jun 15, 2007 2:36 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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