The above sounded like the problem I'm having. Great UDF btw martin, thanks.
Anyways, here's what I'm experiencing: Connect my serial device, run your example script (it works), close the example, run it again and the communications do not work. If I close the example, the devices' lights blink (telling me the connection was closed). When I run the example again, it works. It seems to only close the connection every other time. I thought it was only my code but as I said, the same happens with your example script. Have you heard anyone else having this problem? I have only tried this 1 device so I definately won't rule it out but when it works, (every other time) it works great.
I've tried adding a sleep to the _comcloseport function but it didn't help. If it helps, here is the documentation: Edit: I am able to get it to work every time I run the script IF I change the COM port to 2 then back to 1 Edited March 4, 2008 by Teldin. The above sounded like the problem I'm having. Great UDF btw martin, thanks.
Anyways, here's what I'm experiencing: Connect my serial device, run your example script (it works), close the example, run it again and the communications do not work. If I close the example, the devices' lights blink (telling me the connection was closed). When I run the example again, it works. It seems to only close the connection every other time. I thought it was only my code but as I said, the same happens with your example script. Spider Web Game Yahoo here. Have you heard anyone else having this problem?
Serial com-port communication with autoIt. December 7, 2008 at 5:12 pm 13 comments. This weekend I found out how to read from / write to a com port with. I have an issue, where I used windows task scheduler to run an autoit (.au3) script to send interactive commands to a second program, PuTTY which is used to send.
@Martin, i am getting correct data on hyper terminal, say 12345 from a micro-controller, when using this script, on the same serial port settings that i had set on. Dec 16, 2017 3 hours ago, antonioj84 said: I have a device attach to a serial port What device, what communication protocols. Is like @antonioj. Canon Lbp 2900 Printer Driver For Windows 8 64 Bit.
I have only tried this 1 device so I definately won't rule it out but when it works, (every other time) it works great. I've tried adding a sleep to the _comcloseport function but it didn't help. If it helps, here is the documentation: I don't know why this happens with your device. I haven't ben able to download the documentation you gave a link for because so far, amybe the site is too busy. Have you tried using Hyerterminal or some terminal emulator?