BCILAB icon indicating copy to clipboard operation
BCILAB copied to clipboard

unable to stream

Open SnowLotus0511 opened this issue 9 years ago • 2 comments

Hi,

I am an undergrad which having BCI system for my final year project. I was trying to connect neuroscan to BCILAB. However when i try to perform online analysis>read input from >neuroscan recorder. a small window pop out where i can fill the source TCP Hostname, TCP host port, etc. I am pretty sure that my neuroscan is running in server mode and i also key-in the exact port to the BCILAB.. However BCILAB giving me this error..

Error in ns_open (line 21) h.handle = pnet('tcpconnect', hostname, port);

Error in run_readneuroscan (line 38) h = ns_open(opts.src_hostname, opts.src_port);

Error in arg_guidialog (line 238) [varargout{1:nargout(func)}] = func(oldparams{:},params);

Error while evaluating Menu Callback

so would you mind to give me your suggestion so that i can carry on with my research.

your kind attention is highly appreciated

SnowLotus0511 avatar Aug 18 '16 09:08 SnowLotus0511

i found out that the error is because of

Attempt to execute SCRIPT pnet as a function: C:\Users\PR10\Downloads\BCILAB-devel\BCILAB-devel\dependencies\tcp_udp_ip-2.0.6\pnet.m

so I had searched google some solution and tried to input which -all pnet.

the output is

which pnet -all C:\Users\PR10\Downloads\BCILAB-devel\BCILAB-devel\dependencies\tcp_udp_ip-2.0.6\pnet.m

from the output, it can be clearly seen that the error is not from matlab confusion.

Can anyone please provide me some help on what i should do to solve this issue

Regards, Ericsen

SnowLotus0511 avatar Aug 22 '16 08:08 SnowLotus0511

Hello Ericsen, it sounds like pnet.c is not compiled into a mex file for your system. pnet.m only contains help information, which I believe is why you are receiving the "Attempt to execute SCRIPT pnet as a function:" error.

DMRoberts avatar Aug 22 '16 17:08 DMRoberts