emit eeg data and graph