Hi all,
I have a working connection with my Motorcortex using 192.168.2.100/cockpit.
I want to connect using a Python connection. I used this code:
`# import the motorcortex library
import motorcortex
Create a parameter tree object
parameter_tree = motorcortex.ParameterTree()
Open request and subscribe connection
try:
req, sub = motorcortex.connect("wss://192.168.2.100:5568:5567", motorcortex.MessageTypes(), parameter_tree,
certificate="mcx.cert.crt", timeout_ms=1000,
login="admin", password="vectioneer")
tree = parameter_tree.getParameterTree()
print(f"Parameters: {tree}")
except RuntimeError as err:
print(err)
` however it does not connect. What can I do?
Thanks in advance!
Robert