Closed AAbouzeid closed 3 years ago
I have two scanners running on IP addresses: 192.168.0.137 and 192.168.0.161. I could connect to them using the Sopas software and stop measurement, and turn back on successfully. I'm trying to connect to them and accomplish that through code. I have the following code that is inspired by this: https://github.com/SICKAG/sick_scan/blob/master/tools/sick_generic_device_finder/sick_generic_device_finder.py
The code: https://onlinegdb.com/rYxMqmQNU
The code returns, the Ascii format of the commands I sent to the scanners, but the scanners never stop measuring (react to the stop measure command). Any help/guidance would be really appreciated. Thanks.
I have two scanners running on IP addresses: 192.168.0.137 and 192.168.0.161. I could connect to them using the Sopas software and stop measurement, and turn back on successfully. I'm trying to connect to them and accomplish that through code. I have the following code that is inspired by this: https://github.com/SICKAG/sick_scan/blob/master/tools/sick_generic_device_finder/sick_generic_device_finder.py
The code: https://onlinegdb.com/rYxMqmQNU
The code returns, the Ascii format of the commands I sent to the scanners, but the scanners never stop measuring (react to the stop measure command). Any help/guidance would be really appreciated. Thanks.