Linking Biosemi2 + BCI2000 + NBS presentation
Posted: 09 Jul 2014, 09:36
Dear whom it may concern,
I'd like to conduct a new EEG experiment using Biosemi ActiveTwo system.
Although BCI2000 does not support customized stimulus presentation application,
this system provides a plug-in for the NBS Presentation stimulus delivery software (http_nospam_www.neurobs.com).
Using the NBS presentation software, I could design the my customized and complex new experiment.
A problem is this,
an error occurs as "Could not connect to device."
when I execute my source code of NBS presentation as below.
--------------------------------------------part of a scenario file for NBS presentation software----------------------------------------------------
...
# Create a BCI2000 controller object.
bci2000::controller bci = new bci2000::controller();
bci.hide_window();
# For a stimulus presentation scenario, we don't need any signal processing,
# so we use the DummySignalProcessing module.
# Also, Presentation plays the role of the Application module, so we start
# the DummyApplication module.
array<string> modules[3] =
{ "Biosemi2", "DummySignalProcessing", "DummyApplication" };
bci.startup_modules( modules );
# Synchronize BCI2000 subject id with Presentation's.
bci.set_subject( logfile.subject() );
bci.set_session( "001" );
bci.load_parameters_remote( "../parms/examples/CursorTask_SignalGenerator.prm" );
# Suppress display of default visualization windows.
bci.set_parameter( "VisualizeTiming", "0" );
bci.set_parameter( "VisualizeSource", "0" );
bci.set_config();
bci.start();
...
--------------------------------------------part of a scenario file for NBS presentation software----------------------------------------------------
Even though Biosemi2 device was well connected physically, I met the error message as "Could not connect to device."
If I close the NBS presentation program, then I can connect to Biosemi2 and get EEG signals without any problem.
I guess the function in "Labview_DLL.dll" as below
dOPEN_DRIVER_ASYNC mfpOPEN_DRIVER_ASYNC()
returns NULL value when the NBS presentation program is running.
i.e., when the NBS presentation program is running, mfpOPEN_DRIVER_ASYNC function cannot find Biosemi2 device handle.
How can solve this problem?
Please help me to link Biosemi2, BCI2000, and NBS presentation.
I look forward to hearing from anyone soon.
Best regards,
Hohyun Cho
I'd like to conduct a new EEG experiment using Biosemi ActiveTwo system.
Although BCI2000 does not support customized stimulus presentation application,
this system provides a plug-in for the NBS Presentation stimulus delivery software (http_nospam_www.neurobs.com).
Using the NBS presentation software, I could design the my customized and complex new experiment.
A problem is this,
an error occurs as "Could not connect to device."
when I execute my source code of NBS presentation as below.
--------------------------------------------part of a scenario file for NBS presentation software----------------------------------------------------
...
# Create a BCI2000 controller object.
bci2000::controller bci = new bci2000::controller();
bci.hide_window();
# For a stimulus presentation scenario, we don't need any signal processing,
# so we use the DummySignalProcessing module.
# Also, Presentation plays the role of the Application module, so we start
# the DummyApplication module.
array<string> modules[3] =
{ "Biosemi2", "DummySignalProcessing", "DummyApplication" };
bci.startup_modules( modules );
# Synchronize BCI2000 subject id with Presentation's.
bci.set_subject( logfile.subject() );
bci.set_session( "001" );
bci.load_parameters_remote( "../parms/examples/CursorTask_SignalGenerator.prm" );
# Suppress display of default visualization windows.
bci.set_parameter( "VisualizeTiming", "0" );
bci.set_parameter( "VisualizeSource", "0" );
bci.set_config();
bci.start();
...
--------------------------------------------part of a scenario file for NBS presentation software----------------------------------------------------
Even though Biosemi2 device was well connected physically, I met the error message as "Could not connect to device."
If I close the NBS presentation program, then I can connect to Biosemi2 and get EEG signals without any problem.
I guess the function in "Labview_DLL.dll" as below
dOPEN_DRIVER_ASYNC mfpOPEN_DRIVER_ASYNC()
returns NULL value when the NBS presentation program is running.
i.e., when the NBS presentation program is running, mfpOPEN_DRIVER_ASYNC function cannot find Biosemi2 device handle.
How can solve this problem?
Please help me to link Biosemi2, BCI2000, and NBS presentation.
I look forward to hearing from anyone soon.
Best regards,
Hohyun Cho