|
Hi allI want to do my project using openvibe and another software.i made a connection between these two software.in OpenVibe we have lua simulator which it send a stimuli to my another software but the problem isi don't know how can i send i unit8 output.in my project i should read EEG beta band power if this power is higher than my threshold send 1 to 127.0.0.1 : 3000and if lower than threshold send 0 to IP Port.here a i have a simple Matlab code that it work well for sending 1 or 0 but i don't know how can i write in lua language.
Go=uint8('1');
Stop=uint8('0');
hudps = dsp.UDPSender('RemoteIPPort',3000); % Sets up UDP Sender port
if(BetaValue>0.2) % My Threshold
hudps(Go);
else
hudps(Stop);
endi will be so grateful if you can help me.Best RegardsHamed Taheri Gorji
PhD Candidate
Brain Imaging Laboratory
DEPARTMENT OF PSYCHOLOGY
FACULTY OF MEDICINE AND PSYCHOLOGY
SAPIENZA
University of RomeSanta Lucia Foundation, ViaArdeatina 306, 00179 Rome