Started RegEx implementation

This commit is contained in:
dandaedre 2021-09-29 11:02:08 +02:00
parent b128ef229a
commit 495e068c8a
1 changed files with 7 additions and 3 deletions

View File

@ -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