updated console notes

This commit is contained in:
Chris Midkiff 2020-05-15 23:51:12 -04:00
parent 5f9fc23670
commit 2ee6bd9750

View File

@ -6,9 +6,10 @@ Please note that your number of trials times your number of dots per trial must
console.py console.py
This communicates with the server and updates the participant ID for a given input device. I recommend running an instance of this for each input device during data collection. This communicates with the server and updates the participant ID for a given input device. I recommend running an instance of this for each input device during data collection.
Note: Setting the participant ID to 9999. Will run only the first trial and not record data samples. The purpose of this is a practice trial.
server.py server.py
This requires the python package flask (pip3 install flask). This requires the python package flask (pip3 install flask).
This serves up the trial files generated by trialGen.py and is used by console.py to update the participant ID. This serves up the trial files generated by trialGen.py and is used by console.py to update the participant ID.
Simply run with python3 and it will begin running a server on port 5000 Simply run with python3 and it will begin running a server on port 5000
Note: The devices running both the software and the console.py script need to have a network connection to wherever this server is running. Note: The devices running both the software and the console.py script need to have a network connection to wherever this server is running.