ActiveXperts Serial Port Component KB - Miscellaneous

'Miscellaneous' Knowledge Base Articles

Q3800010 Is ActiveXperts Serial Port Component thread-safe?
  Yes, ActiveXperts Serial Port Component is 100% thread-safe. It can be used by multiple applications simultaneously, and each individual application can have multiple simultaneous threads using ActiveXperts Serial Port Component. This doesn't mean that COM ports can be shared by different threads ...
Q3800015 I want to send a sequence of non-displayable data to the comport. How can I do this?
  Use the WriteByte function. It sends one byte of data to the comport. Usually, you call 'WriteString "ATZ"' to initialize a modem. You can also use the following commands to accomplish this: obj.WriteByte 97 obj.WriteByte 116 obj.WriteByte 122 obj.WriteByte 13 ' 13 means: vbCr, the carri ...
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 ...

If you cannot find an answer to your question(s) in our Knowledge Base, or if you need additional information or assistance, please contact our Customer Support using our Contact Support Form

M