diff --git a/COSI-Measure/External_Control_Scripts/Readme.md b/COSI-Measure/External_Control_Scripts/Readme.md index e47a47e8c0a938394f49293ab2cecd338ee14449..110386bcd27d2be46f1de1ad4f0dcac3b3be9065 100644 --- a/COSI-Measure/External_Control_Scripts/Readme.md +++ b/COSI-Measure/External_Control_Scripts/Readme.md @@ -12,7 +12,13 @@ The MOV command is for the movement to absolute coordinates. The command structu MOVXXXxxYYYyyZZZzz or MOVXXXYYYZZZ. The first one is for submillimeter precision is 2, first 3 digits are the coordinates in mm for xyz. The second one is in millimeter. Please pad with zeros. i.e. 58.23mm is 05823 or 058 for the host part. When the robot finishes its operation (i.e. moving to desired coordinate), it acknowledges the movement and sends back a “MOVOK” command to a host. -“CLOSECONN” terminates the connection. This reactivates the Cosi_GUI application on COSI Measure. If the connection is terminated unexpectedly, it can be killed using another terminal. Otherwise, the application must be restarted. (Please see the screenshots for how to kill an open TCP/IP process without restarting the whole Cosi_GUI application). +“CLOSECONN” terminates the connection. This reactivates the Cosi_GUI application on COSI Measure. If the connection is terminated unexpectedly, it can be killed using another terminal. Otherwise, the application must be restarted, which would require new calibration of the COSI Measure axes. To prevent this, please open another root terminal. Then please type: + +```console +netstat -tulnap +``` + + “OK” command can be sent for a connection check. COSI Measure will respond with an “ok” message if the connection is established. diff --git a/COSI-Measure/External_Control_Scripts/image-1.png b/COSI-Measure/External_Control_Scripts/image-1.png new file mode 100644 index 0000000000000000000000000000000000000000..ef00afe2b58d810fe365c931b010d62badccb51d Binary files /dev/null and b/COSI-Measure/External_Control_Scripts/image-1.png differ diff --git a/COSI-Measure/External_Control_Scripts/image.png b/COSI-Measure/External_Control_Scripts/image.png new file mode 100644 index 0000000000000000000000000000000000000000..ef00afe2b58d810fe365c931b010d62badccb51d Binary files /dev/null and b/COSI-Measure/External_Control_Scripts/image.png differ