How to turn off SRB2 of Cyton-Daisy board using Python?

Hi,
I'm conducting EEG studies using Cyton-Daisy board (16channels).
I need to record additional ECG signal so i 'm planning to one of my EEG channel to ECG.
(15 EEG channels and 1 ECG channel)

I tried 3-Lead ECG setting from https://docs.openbci.com/GettingStarted/Biosensing-Setups/ECGSetup/.
Before turn off the SRB2 of ECG channel, data from the other 15 EEG channels looks like ECG.

By using OpenBCI_GUI, I could turn off SRB2 of my ECG channel.
But I was hard to find it when using Python code to record.
Almost documents about it were 'Deprecated'.

In my Python code, I'm using brainflow libraries for simple recording.
board = BoardShim(board_id, params)
board.prepare_session()
board.start_stream()
data = board.get_board_data()

Is there any way to turn off SRB2 of specific channels by using Python?
I could not find it from docs of brainflow..
There was a few mention about 8bit command to adjust each channel setting but I could not find how to do it because almost docs were 'Deprecated'.

Or, I need to find other ways to do it unless using Python.

Thanks.

Comments

  • retiututretiutut Louisiana, USA
    edited November 2021

    Another easy trick to learn what commands to send to Cyton is to:

    • use the OpenBCI GUI
    • change the hardware settings (in GUI 5.0.8 this is built into the TimeSeries widget)
    • send the commands
    • check the Console Log or the BrainFlow Log (stored in the same place) to see what string commands were sent

    ;)

    Also, you can send more than one channel setting command in an all-at-once manner. Here's an example which is actually the default channel settings for Cyton.

    x1060110Xx2060110Xx3060110Xx4060110Xx5060110Xx6060110Xx7060110Xx8060110X
    

    Though practically, resetting the Cyton board can be done more easily by sending d.

    Take Care,
    RW

  • Hi, there
    I really appreciate your help. I could solve my problem easily due to both of you.

    1. I checked the string at Console Log from OpenBCI_GUI when I changed hardware settings.
    2. I added a line in my code: "board.config_board(string from 1)"
    3. The problem solved.

    Thanks a lot.

Sign In or Register to comment.