
SMARTING User Manual
– Release 11/03/2019
63
experiments creation for the smartphone application can be found here:
https://www.neurobs.com/menu_presentation/menu_features/mobile
10.2 Procedure for sending triggers from OpenSesame
Triggers can be sent from OpenSesame using the UDP port. Before scripting
you should decide about the type of approach for sending triggers.
Sending triggers includes following steps: opening the UDP port (default port
in our applications is 40007), sending trigger commands during experiment,
and closing UDP port. All these are implemented using OpenSesame inline
scripts.
The basic scripting procedure for sending the triggers over the UDP port
includes following steps: creating blank script, enabling the UDP server,
sending a trigger and a stimulus, closing UDP server, respectively.
On the first run of OpenSesame application, choose
Default
template
option from
New
window (Figure 10.5). To open an
existing script click on
Open an existing experiment
, go to the
folder which contains script, and select it.
New experiment
window should appear.
To initialize the parameters of a new script, click on the
New experiment
icon
and choose
droid
from the
Back-end
drop-down menu. Set the
Resolution
parameter to 1280px x 800px. Right click on the
getting started
notepad, and
choose delete from the drop down menu. Do the same for sketchpad.
Experiment is now blank as shown in Figure 10.6.