Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

USB COM port Connection issue

#5
(06-20-2022, 12:10 PM)Albert Wrote:This is a nice project. The driver seems to be failing on line 99 when using select to read console input (stdin). It looks like the developer used Linux and you are testing Windows.

I would try removing that line/if or replacing it by a simple "if True:".

On my windows device the robot connected but upon running the robodk program nothing happened on my actual robot, the log just showed 'sending command...' without the command being executed.
This was presumed, as you said, that the driver code was written for a different device.
I then used a Mac device, ran the driver code in python which ran fine without any errors but once the driver was connected to robodk it wouldn't connect and the log stated 'no module named serial.' ??
即使在python中运行的代码,我甲肝病毒e proven the serial to be working through using other programs. Therefore can not work out why it is causing an error on Robodk?

An image of the log can be seen attached


Attached Files Thumbnail(s)



Messages In This Thread
USB COM port Connection issue - byGMCG44- 06-20-2022, 11:49 AM
RE: USB COM port Connection issue - byAlbert- 06-20-2022, 12:10 PM
RE: USB COM port Connection issue - byGMCG44- 06-20-2022, 07:36 PM
RE: USB COM port Connection issue - byGMCG44- 06-22-2022, 07:18 PM
RE: USB COM port Connection issue - bySam- 06-20-2022, 07:53 PM



Users browsing this thread:
1 Guest(s)