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 pressed
- seconds – - floatthe current frame, converted to seconds
- level – - intthe “level” in the frequency space
- stimRate – - floatthe current rate of stimulation, or whatever is being affected by the level
 
 
 - 
void close()
- Closees the plotter connection. 
 
- 
void sync()