This solution has nice no-dll advantages over COMMG.
However, I see the following in the .ini file: CommCtrl=0x0011
It seems when this is read in by AutoIt3, the AutoIt3 variable actually read in is '0' if I am debugging correctly.
Anyway, for me this 0x0011 setting works with the sending text commands, but not receiving text from our nice A&D GX-1000 precision balance.
The receiving is correct # characters, but they are not correct.
Should be: ST,+0011.584 g (with a @CRLF at the end)
Actual: [W/+??;?/;7;??wmk
When I used the COMMG.dll I get correct answer for both sending and receiving text from the balance.
CommG settings are: _CommSetPort(4, $sErr, 2400, 7, 2, 1, 0)
(iFlow = 0 = sets hardware flow control)
Finally, my question:
if iFlow=0 with Commg.dll works, what should CommCtrl=??? for TABALtd's method so it too will work when reading text from serial line?
Thank you,
Ben