I found the problem with Opencomm function.
In FW the result for nComm1=0 and nComm2=2 but in FWH result of nComm1 and nComm2 are the same = 1, So I cannot open more than one port in the same time
( Can I open port more than 9 ports )
function Main()
local cDcb1,nError1
local nComm1 := OpenComm( "COM1", 1024, 128 )
local cDcb2,nError2
local nComm2 := OpenComm( "COM3", 1024, 128 )
msginfo("Port1 = "+str(nComm1))
msginfo("Port2 = "+str(nComm2))
return nil
OpenComm more than one port in the same time
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: OpenComm more than one port in the same time
Yes, FWH communication management is currently limited to one port at a time, as far as I know.
EMG
EMG