Page 1 of 1

Lan connection

Posted: 12 Mar 2013, 10:36
by ojubran
hello all

I am new to BCI2000, trying to configure it to run the application module from a remote PC, I am making this test using the "CursorTask_SignalGenerator.bat". I have the 2 computers on the same WLAN, I have both their Ipv4 addresses, in the system tab I configured the first pc to run the application module from the ip of the 2nd and from the same port, and configured the 2nd pc to run the source,operater and signal processing from the other (with their respective ports). but each time I try to set config, at first it takes some time, then I get an error saying:
"2013-03-12T14:44:15 - SignalProcessing: Connection to previous module timed out after 20s.
2013-03-12T14:44:16 - SignalSource: Could not make a connection to the SignalProcessing module.
2013-03-12T14:44:16 - SignalSource: Could not send output properties to SignalProcessing module.
2013-03-12T14:44:16 - SignalSource: Application dropped connection unexpectedly.
2013-03-12T14:44:16 - Application: Could not make a connection to the SignalSource module"

I can't seem to understand the problem here, any help would be appreciated.

ps. I am doing this just to understand the mechanism that BCI2000 works when it comes to dealing with remote devices, I will be using it in the future to control a robotic arm using EEG and the cursor task.

Omar

Re: Lan connection

Posted: 12 Mar 2013, 10:39
by ojubran
I want to also mention I am running windows 7 64 bits, on both machines

Re: Lan connection

Posted: 13 Mar 2013, 21:27
by boulay
Omar,

I can't help you with the network problem, I've never tried BCI2000 in that configuration.

However, I just wanted to point out that this is not necessarily the way to communicate with remote devices. Is there some reason the computer doing the source acquisition and signal processing can't also run the application and communicate directly with the robot arm? You will need to write a custom application that takes the output of the signal processing module then creates and sends commands to the robot.
See http://www.bci2000.org/wiki/index.php/T ... _Connector

Maybe the robot can only be operated from a specific computer and you are not allowed to install the signal acquisition hardware device drivers on that computer? Other than that, I see no reason why you can't use one computer to do it all.

Re: Lan connection

Posted: 14 Mar 2013, 10:53
by mellinger
Hi,

the parameters on the system tab are read-only (though this is not enforced in the user interface).

The only information you need to provide is the IP address of the machine that is running the Operator module. This is specified on the command line when starting up a module, e.g.

CursorTask 192.168.0.3

Also, the Operator module must be run without the --local option because that option is used to suppress listening on external IP addresses. In the default BCI2000 batch files, --local is used to avoid warning messages from firewalls or other protection software, which treats such behavior as being suspicious.

As a word of warning, I'm not sure whether it is a good idea to run BCI2000 core modules distributed over a WLAN. A wired network is shielded against environmental influences quite well, but a WLAN shares its medium with a larger number of other devices which may potentially interfere with the network's latency and transmission speed. Thus, a WLAN's transmission characteristics tend to change over time in a rather unpredictable manner, especially in the potential presence of a large number of mobile devices (e.g., in an office building, or on a university campus).

Regards,
Juergen

Re: Lan connection

Posted: 14 Mar 2013, 12:47
by ojubran
Hey Juergen thank you for your reply, I will try to configure it again and if it doesn't work I will just try to launch everything on the same computer as suggested, as for the WLAN setup it is just temporary and for experimental use, we will be using LAN connection when conducting the experiment. I will get back to you once I have any further updates.