Hola :
Necesito comunicarme con una balanza electronica a travez de un puerto serie (rs232) . He intentado con la libreria port.dll pero solo es compatible con win98 . Tambien probe Hbcomm (la version para mingw) pero debe haber un problema con los fuentes ya que la version Hbcomm.lib funciona pero con la Libhbcomm.a para Hmg 2.0 (mingw) no es tan estable com su version para Borland .Por ultimo probe con la conocida mscomm pero siempre tengo que tener Vb instalado en la pc para que la registre .Alguien conoce alguna libreria para puerto serie que funcione con Hmg oficial .
De lo contrario tendre que modificar sistema para Hmg extended que trabaja con Borland .trabajar con la version
Saludos cordiales
Google Translator :
Hi:
Need to communicate with an electronic balance via a serial port (rs232). I tried the library but port.dll is only compatible with win98. Also try Hbcomm (the MinGW version) but there must be a problem with the source because the version in the works but Hbcomm.lib for Libhbcomm.a HMG 2.0 (MinGW) is not so stable with its version for Borland. Last probe MSComm known to always have to be installed on the pc Vb for the record. anyone know any library for serial port that works with HMG official.
Otherwise you will have to modify HMG extended system that works with Borland. Work with the version
Best regards
Serial Port (Rs232)
Moderator: Rathinagiri
-
- Posts: 270
- Joined: Wed Aug 13, 2008 2:35 pm
- Location: Córdoba - Argentina
- salamandra
- Posts: 311
- Joined: Thu Jul 31, 2008 8:33 pm
- DBs Used: DBF, MySQL, SQL
- Location: Brazil
Re: Serial Port (Rs232)
Hola mario,
No se exactamente que tipo de balanza es la que estas usando, mas
en la mayoria de los casos el propio fabricante te provee la DLL de
comunicacion con el equipo.
Por otra parte, grande parte de las balanzas envia para el puerto serial
( COM? ) un archivo en formato TXT, lo que te facilita bastante el trabajo
pues en esos casos puedes usar código Clipper puro para abrir y leer el
archivo TXT.
[]'s Fernando
// ============================================================================
Hi Mario,
I don't know exactly what kind of balance are you using, but
in most cases the manufacturer provides a DLL for communication with
the device.
Moreover, big part of the balance sent to the serial port
(COM?) a TXT file, which gives you quite work since in these cases you
can use pure Clipper code to open and read the TXT file.
[]'s Fernando
No se exactamente que tipo de balanza es la que estas usando, mas
en la mayoria de los casos el propio fabricante te provee la DLL de
comunicacion con el equipo.
Por otra parte, grande parte de las balanzas envia para el puerto serial
( COM? ) un archivo en formato TXT, lo que te facilita bastante el trabajo
pues en esos casos puedes usar código Clipper puro para abrir y leer el
archivo TXT.
[]'s Fernando
// ============================================================================
Hi Mario,
I don't know exactly what kind of balance are you using, but
in most cases the manufacturer provides a DLL for communication with
the device.
Moreover, big part of the balance sent to the serial port
(COM?) a TXT file, which gives you quite work since in these cases you
can use pure Clipper code to open and read the TXT file.
[]'s Fernando
There is one time in which is crucial awakening. That time is now. ( Buddha )
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Serial Port (Rs232)
Hola Mario
Please look at HbComm - ¿Cómo construir la librería HbComm para comunicaciones? tag in :
http://www.carozodequilmes.com.ar/Proje ... ex_QAC.htm
I hope that it will be useful for you.
Regards
--
Esgici
Please look at HbComm - ¿Cómo construir la librería HbComm para comunicaciones? tag in :
http://www.carozodequilmes.com.ar/Proje ... ex_QAC.htm
I hope that it will be useful for you.
Regards
--
Esgici
Viva INTERNATIONAL HMG