hardware module¶
-
class
package.entity.hardware.hardware.Hardware¶ Bases:
package.entity.hardware._hardware.HardwareAdditionalMethodsHardware class controls recording data in a different thread
-
cancel_recording_data()¶ Interrupt recording and delete current buffer
-
connect_with_hardware()¶
-
get_LSL_clock()¶ Get timestamps of LSL :return: current LSL timestamps
-
get_current_window()¶ Get one window data :return: window data
-
get_lsl_offset()¶ Get offset calculated by LSL, which is the delay of transmission :return: LSL offset
-
get_server_clock()¶ Get timestamps from instrument :return: timestamps of instrument
-
is_recording_running()¶ Check if record start or stop button pressed
-
set_eeg_file_path()¶ Set recording directory by reading path from Variable class
-
start_recording_data()¶ Start recording data, set the flag to Ture and create a new thread
-
stop_recording_data()¶ Stop recording by setting the flag to False
-