Started RegEx implementation
This commit is contained in:
parent
b128ef229a
commit
495e068c8a
10
bindings.py
10
bindings.py
|
|
@ -3,9 +3,9 @@
|
||||||
################################
|
################################
|
||||||
# IMPORTS
|
# IMPORTS
|
||||||
# import socketserver
|
# import socketserver
|
||||||
import socket
|
import socket, threading
|
||||||
import sys
|
import sys
|
||||||
import threading
|
import re
|
||||||
|
|
||||||
################################
|
################################
|
||||||
# CONFIG VARIABLES
|
# CONFIG VARIABLES
|
||||||
|
|
@ -78,6 +78,9 @@ _FILTER={
|
||||||
"No filter":0
|
"No filter":0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
################################
|
||||||
|
# Regex for messages
|
||||||
|
|
||||||
|
|
||||||
################################
|
################################
|
||||||
# CLASS DEFINITIONS
|
# CLASS DEFINITIONS
|
||||||
|
|
@ -127,7 +130,8 @@ class analogController(object):
|
||||||
It is recommended to check that this value matches the one expected by the controller.
|
It is recommended to check that this value matches the one expected by the controller.
|
||||||
[VEvar] (VEvar<version>)
|
[VEvar] (VEvar<version>)
|
||||||
"""
|
"""
|
||||||
pass
|
self.sendData("VEvar")
|
||||||
|
self.waitfor(b'DEV259\r')
|
||||||
|
|
||||||
def getStatus(self,value=3):
|
def getStatus(self,value=3):
|
||||||
"""Reading a change of values
|
"""Reading a change of values
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue