svm_connect(ip=”192.168.137.5”, port=20)
Features
This function establishes communication with the SVM.
Parameters
| Parameter Name | Data Type | Default Value | Description |
|---|---|---|---|
ip | str | “192.168.137.5” | SVM Server IP address |
port | int | 20 | Port number |
Return
| Value | Description |
|---|---|
0 | Connection success |
-1 | Connection failed |
Example
svm_connect() #Connect to vision - Default IP address and port number
# Enter the vision task
svm_disconnect() #Disconnect to vision