Search found 8 matches

by Nico A.
Tue May 07, 2019 3:14 pm
Forum: Boxes
Topic: TCP Writer
Replies: 1
Views: 2609

TCP Writer

What kind of encoding is the raw data of TCP Writer? I try to decode it with a Python script. "utf-8" and "utf-16" did not work. edit: I figured out what I wanted. You can index the data received ("recv" in Python): data = socket_from_tcp_writer.recv(buf_size) # important to set up socket before len...
by Nico A.
Tue Apr 16, 2019 10:01 am
Forum: Boxes
Topic: Send stimulation after a certain after a certain stimulation
Replies: 3
Views: 3508

Re: Send stimulation after a certain after a certain stimula

Thanks! I already tried the Lua box, but I find it creates an additional lag of ~200 ms, just as the other scripting boxes.
by Nico A.
Tue Apr 16, 2019 7:39 am
Forum: Boxes
Topic: Send stimulation after a certain after a certain stimulation
Replies: 3
Views: 3508

Send stimulation after a certain after a certain stimulation

Is there a already a box (or combination of boxes) that accomplishes this:

- listen for a certain type of Stimulation
- wait a specified time, and then send a Stimulation of a certain specified type?
by Nico A.
Fri Apr 12, 2019 10:18 am
Forum: Boxes
Topic: Matlab: large lag when sending stimulation codes
Replies: 7
Views: 4694

Re: Matlab: large lag when sending stimulation codes

I tried installing Python 3.4.4 64 bit and reinstalled OpenVibe 64 bit. But there is still no Python Scripting box :(
by Nico A.
Thu Apr 11, 2019 8:40 am
Forum: Boxes
Topic: Matlab: large lag when sending stimulation codes
Replies: 7
Views: 4694

Re: Matlab: large lag when sending stimulation codes

The Matlab Scripting box is there. In the Folder "Scripting" there are the following boxes:

DLL Bridge
External Processing
Lua Stimulator
Matlab Scripting

When I type "python" in the search field (boxes) I get no results.
by Nico A.
Thu Apr 11, 2019 6:42 am
Forum: Boxes
Topic: Matlab: large lag when sending stimulation codes
Replies: 7
Views: 4694

Re: Matlab: large lag when sending stimulation codes

Thank you for the answer! Right now I'm trying the figure out how the "external processing" box works; are there example Scenarios with external processing boxes that call a script rather than an executable? I always receive the error "No Client connected before the timeout." edit: another question:...
by Nico A.
Thu Apr 04, 2019 2:04 pm
Forum: Boxes
Topic: Matlab: large lag when sending stimulation codes
Replies: 7
Views: 4694

Matlab: large lag when sending stimulation codes

Hi, I am using a Matlab box to send stimulations, but there is a large gap between the Event and the time point when the stimulation is sent (approx. 200 ms). Is this normal? I read in the following site that some lag is to be expected with stimulations via the Matlab Scripting box: http://openvibe....
by Nico A.
Fri Mar 15, 2019 1:45 pm
Forum: Boxes
Topic: Matlab: store occasions when realtime not reached?
Replies: 0
Views: 24161

Matlab: store occasions when realtime not reached?

Hi, I'd like to investigate why my Matlab script lags in OpenVibe. So far I store all the "toc" values (i.e. how much time has passed since beginning of the Matlab process function) in a Matlab array. Then, after finishing the Scenario, I can plot the toc values. However I can't seem to pinpoint exa...