willindows Posted September 5, 2015 Posted September 5, 2015 (edited) Hello everyone, I usually use the include commMg.au3 to control the Arduino through some COM port via serial, in previous versions of Windows until version 8.1 works perfectly. Recently I updated my windows to version 10 and when I use this include no longer works and the error that appears is "Port does not exist." Someone is going through a similar situation? Please can help me solve?CommMG.au3commg.dlltesteporta.au3 Edited September 6, 2015 by willindows
draconem Posted September 5, 2015 Posted September 5, 2015 Have you tryied to install an updated Arduino driver?For what I looked at the Arduino website, drivers works under XP, Vista and 7, tho it shows Win10 screenshots too.Take a look at their installation guide: Getting Started with Arduino on Windows.
willindows Posted September 6, 2015 Author Posted September 6, 2015 Have you tryied to install an updated Arduino driver?For what I looked at the Arduino website, drivers works under XP, Vista and 7, tho it shows Win10 screenshots too.Take a look at their installation guide: Getting Started with Arduino on Windows.I'm with the updated drivers, I believe you have to update to a specific windows 10.
Dava Posted October 7, 2015 Posted October 7, 2015 I have same issue but with other virtual serial devices including Bluetooth SPP which used to work under Win7 but now returns "port does not exist"._CommListPorts returns "COM9|COM6|COM10|COM8"_CommSetPort ( 9, $err) returns "port does not exist"However a USB-->Serial adapter with Proific 2303 chipset does not give this error so does not seem to be affecting all Win10 COM ports.
leminhn1997 Posted October 22, 2015 Posted October 22, 2015 i have this error too but doesn't know how to solve it. the error "port does not exist" in the udf have the error code of -16 which is "port not found" which confused me because _CommListPorts show me the same port.
NBJ Posted September 2, 2016 Posted September 2, 2016 Sorry to necro an old thread, Was anyone able to figure out this issue? On one of my machines the Arduino is linked to Com3, Com3 shows in the list of available ports using _CommlistPorts() but it throws an error -16 - ERROR=-16 $sportSetError=port does not exist Any assistance would be appreciated.. Cheers NBJ
AutoBert Posted September 2, 2016 Posted September 2, 2016 Seems to be no AutoIt related problem Open your own thread (best in a Arduino Forum)
NBJ Posted September 3, 2016 Posted September 3, 2016 (edited) Thanks AutoBert, For anyone else searching for a solution, I found that I am having some success using the kernel32.dll method from the thread https://www.autoitscript.com/forum/topic/80344-serial-communication-using-kernel32dll Edited September 3, 2016 by NBJ link to thread
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now