1. RE: Serial communication under Windows

Vlado wrote:
> Hello,
> 
> I've wrote one program in Euphoria - DOS, that read and write on COM 
> port.
> I have to write this program under Windows, but i can't find any 
> examples
> which doing something with COM port under windows as an OpenPort,
> SetPort,(baud, Parity, CTS, RTS, DTR....) ReadPort, WritePort... 
> I've saw some operations with parallel port, but no one with serial 
> port. 
> 
> Can anyone help me ?
> 
> Sorry for my English....
> 

Vlado:

The functions used with communications are:

BuildCommDCB
BuildCommDCBAndTimeouts
ClearCommBreak
ClearCommError
CommConfigDialog
DeviceIoControl
EscapeCommFunction
GetCommConfig
GetCommMask
GetCommModemStatus
GetCommProperties
GetCommState
GetCommTimeouts
PurgeComm
SetCommBreak
SetCommConfig
SetCommMask
SetCommState
SetCommTimeouts
SetupComm
TransmitCommChar
WaitCommEvent 

Bernie

new topic     » topic index » view message » categorize

2. RE: Serial communication under Windows

Hello,

and how to use these commands in Euphoria ? I'm the beginner...
Or I have to learn Visual Basic not Euphoria.

Vlado

>>> xotron at localnet.com 30.4.02 15:59 >>>


Vlado wrote:
> Hello,
>=20
> I've wrote one program in Euphoria - DOS, that read and write on COM=20
> port.
> I have to write this program under Windows, but i can't find any=20
> examples
> which doing something with COM port under windows as an OpenPort,
> SetPort,(baud, Parity, CTS, RTS, DTR....) ReadPort, WritePort...=20
> I've saw some operations with parallel port, but no one with serial=20
> port.=20
>=20
> Can anyone help me ?
>=20
> Sorry for my English....
>=20

Vlado:

The functions used with communications are:

BuildCommDCB
BuildCommDCBAndTimeouts
ClearCommBreak
ClearCommError
CommConfigDialog
DeviceIoControl
EscapeCommFunction
GetCommConfig
GetCommMask
GetCommModemStatus
GetCommProperties
GetCommState
GetCommTimeouts
PurgeComm
SetCommBreak
SetCommConfig
SetCommMask
SetCommState
SetCommTimeouts
SetupComm
TransmitCommChar
WaitCommEvent=20

Bernie

new topic     » goto parent     » topic index » view message » categorize

3. RE: Serial communication under Windows

Vlado wrote:
> Hello,
> 
> and how to use these commands in Euphoria ? I'm the beginner...
> Or I have to learn Visual Basic not Euphoria.
> 
> Vlado

Al Getz wrote something that may help:
http://www.RapidEuphoria.com/serial.zip

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu