Plotter
Overview
Members
-
class Plotter
Public Functions
-
void sync()
Syncs with Python plotter. Note that this function will block until the plotter is ready.
-
void sendFrequencyGameData(string buttonPressed, float seconds, int level, float stimRate)
sends data to python plotter for real-time plotting
This function MUST be called only after syncing both end of the plotter.
- Parameters:
buttonPressed –
stringthe button that was pressedseconds –
floatthe current frame, converted to secondslevel –
intthe “level” in the frequency spacestimRate –
floatthe current rate of stimulation, or whatever is being affected by the level
-
void close()
Closees the plotter connection.
-
void sync()