aolabNeuro / brain-python-interface

Other
4 stars 2 forks source link

Multi tablet #182

Open leoscholl opened 1 month ago

leoscholl commented 1 month ago

ability to set the port and display parameters on startup. as yet undocumented startup command is: runserver.sh [-log] [-test] <display> <port> for example, runserver.sh :0 8000 (equivalent to runserver.sh, the default) starts bmi3d on port 8000 and display :0 or runserver.sh -test :1 9000 starts bmi3d in test mode on port 9000 and display :1

for two tablets, you would need to start two instances with different displays and ports. i tested using: runserver.sh :1 8000 runserver.sh :2 9000 and it seemed to work, but i didn't test thoroughly