Writing new state to BCI2000 via Fieldtrip
Posted: 12 Jan 2010, 04:40
Hello everyone!
I would like to know how to write a new state back to BCI2000 using the fieldtrip buffer in matlab. The new state will be used as trigger signal for offline analysis after collecting the data.
I have tried introducing new state name in the FTStatesFromBuffer field, and then use write_event() from Fieldtrip to write to the state. But when I try to set the configuration in BCI2000, it complains "FieldTripBufferFilter::Preflight: State "AlphaPower" is inaccessible." (AlphaPower is the new state I try to introduce).
P.S. I am able to modified existing state, e.g. Feedback, from Fieldtrip, but not able to create new state. I try to follow the instruction at http://www.bci2000.org/wiki/index.php/U ... cripting#1 to create new state using operator script. The operator log reported that a new state is added to the list, but I am not able to see it in the States dialogue of the operator window. Changing the state via the operator script buttons doesn't work either.
Any idea is much appreciated.
Thanks a lot!
I would like to know how to write a new state back to BCI2000 using the fieldtrip buffer in matlab. The new state will be used as trigger signal for offline analysis after collecting the data.
I have tried introducing new state name in the FTStatesFromBuffer field, and then use write_event() from Fieldtrip to write to the state. But when I try to set the configuration in BCI2000, it complains "FieldTripBufferFilter::Preflight: State "AlphaPower" is inaccessible." (AlphaPower is the new state I try to introduce).
P.S. I am able to modified existing state, e.g. Feedback, from Fieldtrip, but not able to create new state. I try to follow the instruction at http://www.bci2000.org/wiki/index.php/U ... cripting#1 to create new state using operator script. The operator log reported that a new state is added to the list, but I am not able to see it in the States dialogue of the operator window. Changing the state via the operator script buttons doesn't work either.
Any idea is much appreciated.
Thanks a lot!