Librairie RS 232 Communication

Email: marc.vitry@wanadoo.fr

 

Une librairie pour la gestion des ports RS 232 sur PC, pour PureBasic.
Un programme de démonstration et un fichier d'aide accompagnent la librairie.

A RS 232 Communication library to use with PureBasic. Demonstration software, with source files, and help file are included in the ZIP file.

Pour Windows

Télécharger / Donwload Last Version 1.2

Télécharger / Download Old Version

The both versions are V4 compatible

 

Historique

21/03/2006

Fonctions ajoutées:

ComSetTimeouts pour un ajustement précis des Times Out
ComGetCommError() pour obtenir les erreurs de communications éventuelles
ComRead() pour lire des données sur un port ouvert
ComWrite() pour écrire des données sur un port ouvert

Fonctions retirées:

ComInput()
ComInputAll()
ComOutput()
ComSendByte()
ComReadByte()

Toutes ces fonctions sont remplacées par ComRead() et ComWrite()

Added functions:

ComSetTimeouts to set communication times out
ComGetCommError() to get communication errors
ComRead() to read data from an opened communication port
ComWrite() to write data to an opened communication port

Removed functions:

ComInput()
ComInputAll()
ComOutput()
ComSendByte()
ComReadByte()

These functions are replaced by ComRead() and ComWrite() functions

02/02/2005

Ajout de la fonction ComGetRI() (Signal Ring Indicator) et la correction d'un bug. MVCOM accepte maintenant les ports supérieurs à 9. Merçi à Klaus DRESEN qui a découvert ce bug.

Add ComGetRI() function to process Ring Indicator signal. MVCOM now accept com port greater than 9. Thanks to Klaus DRESEN for bug reporting.

09/07/2004

 

Ajout de deux fonctions autorisant la définition des caractères Xon et Xoff et la mise de TXD en situation de Break. Voir les fonction ComSetXonXoff() et ComSetTxd() dans l'aide.

Add two functions allowed the setting of Xon Xoff characters and setting Txd in Break State. See functions ComSetXonXoff() and ComSetTxd() in the help file.

25/11/2003

Ajout de deux fonctions autorisant l'envoi et la réception de données de type BYTES. Voir ComSendByte() et ComReadByte() dans le fichier d'aide.

Add two functions allowed sending and reading BYTES. See ComSendByte() and ComReadByte() in the help file.