ARM ENABLE CLOSE
ARM command tells GUI to reset the GUI and all variables.
ENABLE command tells GUI to enable the testee to give his/her answer.
CLOSE command tells GUI process to exit, closing communication socket and GUI window during the process.
EVENT timestamp(float) BUTTON A EVENT timestamp(float) BUTTON B EVENT timestamp(float) BUTTON X EVENT timestamp(float) BUTTON STOP ANSWER timestamp(float) A ANSWER timestamp(float) B
The GUI process will start sending messages after receiving the ENABLE message from test logic. It will then send any number of the EVENT messages followed by a single ANSWER message. The button events are requests from the test subject to the test logic to start or end playing samples. The timestamp parameter is a float telling the system time in seconds as returned by Python time.time() method.
ANSWER A message means testee answered A and ANSWER B message means testee answered B correspondingly.