Does anyone know of a way to simulate plugging a USB stick into either the teach pendant or cabinet USB port? We are investigating using an external USB as part of some URCaps and being able to test fucntionality from URSim would be really helpful, though this obviously requires a vitual robot to have access to a USB port.
I can give the virtual machine access to my computers USB ports, it is giving the robot access to them that I am struggling with.
If it is not possible to give URSim access to a physical USB stick, is there a folder located somewhere within the URSim directory which can mimic this
Hi Daniel,
At this link ( Universal Robots - Remote TCP & Toolpath URCap FAQ ), second-last FAQ, you will find how to use gcode in URSIM.
I suggest you to look always for solutions also in the UR articles pages on universal-robots.com since they are very well made and cover a lot of different topics.
Best regards,
Pietro C.
I recently revisited this functionality when developping another URCap, and found that the easiest way to mimic the USB ort of the robot, is to simply recreate the folder structure of a real UR in the file system of URSim, which is to go to wherever URSim is installed (for me this is just home/ursim and to add alongside the versions of pokyscipe stored there, the following structure programs/usbdisk, so the full route to the “usbdisk” is home/ursim/programs/usbdisk.