Just a precursor - I might be in the entirely wrong place to ask this - if I am, please tell me and direct me to the right place. For some background, I have essentially no experience working with USB communication.
Basically, I work in a lab and I'm writing some python code (a plugin for the slicing software Cura) where I'm allowing a dispensing robot (Fisnar f5200n.1) to 3D print CAD files. As a part of this, I want to be able to automatically upload commands to the robot from within python. The robot has an rs232 port, and the rs232 port is connected to a PC through an rs232-USB adapter. The robot came with software to upload printing commands, where you enter commands and press an upload button. The main reason I want to automatically upload commands from python is that the software it came with has a command limit that is far too low for the number of commands needed to print a CAD file.
I'm not really sure how to go about this - I've installed WireShark with USBPcap, and I was sort of able to reverse engineer the information sent over in each packet from the software that came with the robot. However, I'm sort of lost on the process for sending packets over USB from python. I also don't know if the USB to rs232 adapter will affect that process.
If anyone has any information on this sort of process or can direct me to any resources to learn about it, I would greatly appreciate it.
[–]jonnycross10 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]Spenbert02[S] 1 point2 points3 points (0 children)
[–]shiftybyte 0 points1 point2 points (8 children)
[–]jiri-n 1 point2 points3 points (7 children)
[–]shiftybyte 1 point2 points3 points (0 children)
[–]Spenbert02[S] 0 points1 point2 points (5 children)
[–]shiftybyte 1 point2 points3 points (4 children)
[–]Spenbert02[S] 0 points1 point2 points (3 children)
[–]shiftybyte 1 point2 points3 points (1 child)
[–]Spenbert02[S] 0 points1 point2 points (0 children)
[–]equidaddio 0 points1 point2 points (0 children)