Contact Info

Crumbtrail

ActiveXperts.com » Support » Serial Port Component » KB Article

Knowledge Base FAQ Item #3800020

 

Q3800020: In the documentation it says that it supports simultaneous writes to multiple com ports, but I cannot find this in any example?

Basically this is how it works (illustrated by a VBScript sample):

Set o1 = CreateObject( "AxSerial.Comport" )
Set o2 = CreateObject( "AxSerial.Comport" )

o1.Device = "COM1"
o1.DeviceSpeed = 19200
o1.Open

o2.Device = "COM2"
o2.DeviceSpeed = 19200
o2.Open
(viewed: 2069)