The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MSComm Control
#1
Code:
Copy      Help
typelib MsComm32 "C:\WINDOWS\system32\MSCOMM32.OCX"

MsComm32.MSComm c._create
c.CommPort=2
c.Settings = "9600,N,8,1"

c.PortOpen= 1

out c.PortOpen

I'm not real sure I'm doing this right. I need to send and receive serial data. c.PortOpen expects True or False. How do create a True in QM, also what do I need to create to handle the OnComm event? I could just poll for data. Thanks.
Matt
Matt B


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)