I am using hokoyu urg-04lx-ug01. It works well on win7. But under win10, when I use sdk c++ function: find_ports(std::vector<int>& is_urg_ports),
it returns zero serial port. But UrgBenriStandard is able to detect as COM3.
Do I need to use other way to detect serial port?</int>
When you connect a URG sensor of USB type in Windows10, automatically the default USB serial device driver is installed.
The name of the driver does not become the URG so it can't find port.
Thanks Tatsu. Actually I saw the link before. But the problem is find_ports function just return me zero ports. It is supposed to return me a list such as COM1, COM2.... Btw, I used urg_library-1.1.8 c++ lib. Any idea?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"find_ports(std::vector<int>& is_urg_ports)" find a port named "URG".
You can probably detect serial port after installing URG driver.
In my environment I have successfully detected ports in this way.</int>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I am using hokoyu urg-04lx-ug01. It works well on win7. But under win10, when I use sdk c++ function: find_ports(std::vector<int>& is_urg_ports),
it returns zero serial port. But UrgBenriStandard is able to detect as COM3.
Do I need to use other way to detect serial port?</int>
Hi,
When you connect a URG sensor of USB type in Windows10, automatically the default USB serial device driver is installed.
The name of the driver does not become the URG so it can't find port.
If the URG driver is installed,the name of the driver become the URG.
Please try installing the URG driver referring to the link below.
https://sourceforge.net/p/urgnetwork/wiki/driver_win10_en/
Best regards.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Thanks Tatsu. Actually I saw the link before. But the problem is find_ports function just return me zero ports. It is supposed to return me a list such as COM1, COM2.... Btw, I used urg_library-1.1.8 c++ lib. Any idea?
"find_ports(std::vector<int>& is_urg_ports)" find a port named "URG".
You can probably detect serial port after installing URG driver.
In my environment I have successfully detected ports in this way.</int>