original push
This commit is contained in:
17
algorithm_V0/datacollect/start_parse.py
Normal file
17
algorithm_V0/datacollect/start_parse.py
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
import time
|
||||
from eegParser import Parser_main
|
||||
from RunOnce import is_program_running
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
if not is_program_running():
|
||||
parser_ = Parser_main()
|
||||
parser_.connect()
|
||||
|
||||
try:
|
||||
parser_.start()
|
||||
while not parser_.zmqServer.IsExitApp:
|
||||
time.sleep(1)
|
||||
except KeyboardInterrupt:
|
||||
parser_.stop()
|
||||
Reference in New Issue
Block a user