For Programmers: Free Programming Magazines  


Home > Archive > Clarion > June 2006 > Accessing serial port through API









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Accessing serial port through API
Marija Pranjic

2006-06-17, 7:56 am

I need an example how to read data send through serial port form Mettler
Toledo Terminal . I want it to do without any third party templates (ie.
Winevent nor Clacom), just using WIN API.. I dont need to write back to
terminal, just to catch data to be written in tps file...
Thanks for any advice or examples. C6.0
Regards.


clackmannan

2006-06-17, 7:56 am


Marija Pranjic wrote:
> I need an example how to read data send through serial port form Mettler
> Toledo Terminal . I want it to do without any third party templates (ie.
> Winevent nor Clacom), just using WIN API.. I dont need to write back to
> terminal, just to catch data to be written in tps file...
> Thanks for any advice or examples. C6.0


This should get you going
http://attryde.com/clarion/cw_serial32.htm

Try www.clarionmag.com also

Paul

Olivier Cretey

2006-06-24, 7:55 am

Marija,

You can use the DOS file driver as explained on ClarionMag (subscription
required)
http://www.clarionmag.com/cmag/v8/v8n03portdriver.html
there is a printer oriented project and a modem one to download.


Regards
--
Olivier Cretey
o.cretey@cia-informatique.com
www.cia-informatique.com
Verneuil sur Seine (78), France


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com