Example 2: Visual speller

Part 3

<- Go back to Part 2 - Continue with Part 4 ->

In the previous parts of this visual speller example, all actions were executed by the BrainStream Matlab session. In this section, we will describe how to enable parallel processing. All actions related to stimulus presentation will be handled by a client.

First, we need to indicate that we want to use parallel processing and define the client. This can be done in the block file speller_common.blk:


stim = 'localhost';

Thus, the name of the client is 'stim'. Furthermore, 'stim' is an internal client of type 'localhost'. This means that in order to run the experiment, we must start a second Matlab session manually and connect this session to the BrainStream session by typing the command connect_brainstream_client('localhost') in the client's command window.

Now that we have specified the client in the block file, we can direct the execution of any action to this client. We can do this by specifying the name of the client in the 'client' column of the Actions table:


Figure 1: Actions sheet of the speller_train table


Figure 2: Actions sheet of the speller_common table

<- Go back to Part 2 - Continue with Part 4 ->

Topic attachments
I Attachment Action Size Date Who Comment
pngpng stim1.png manage 48.8 K 04 Jan 2012 - 10:26 MarjoleinVanDerWaal  
pngpng stim2.png manage 63.8 K 04 Jan 2012 - 12:38 MarjoleinVanDerWaal  
pngpng stim2_2.png manage 63.8 K 04 Jan 2012 - 12:38 MarjoleinVanDerWaal  
Edit | Attach | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 04 Jan 2012 - 12:39:18 - MarjoleinVanDerWaal
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback