Changes

Jump to navigation Jump to search
Line 13: Line 13:     
Input
 
Input
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| <tt>event</tt> || BrainStream event structure  
 
| <tt>event</tt> || BrainStream event structure  
Line 28: Line 28:     
Output
 
Output
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| <tt>value</tt> || content of requested key or default value if specified, otherwise an error is generated. Blocksettings structure if first argument is a filename  
 
| <tt>value</tt> || content of requested key or default value if specified, otherwise an error is generated. Blocksettings structure if first argument is a filename  
Line 47: Line 47:     
Input
 
Input
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| <tt>input</tt> || either blocksettings structure or the name of a blocksettings file, the latter option is useful to retrieveclean block file content without any comment lines  
 
| <tt>input</tt> || either blocksettings structure or the name of a blocksettings file, the latter option is useful to retrieveclean block file content without any comment lines  
Line 56: Line 56:     
Output
 
Output
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| lines || cell array of lines (one per row)  
 
| lines || cell array of lines (one per row)  
Line 72: Line 72:     
Input
 
Input
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| expression || some expression that either results in true or false  
 
| expression || some expression that either results in true or false  
Line 83: Line 83:     
Output
 
Output
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| opttrue || if expression is true  
 
| opttrue || if expression is true  
Line 99: Line 99:     
Input
 
Input
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| filename || name of blockfile with defined experiment definition table to be expanded  
 
| filename || name of blockfile with defined experiment definition table to be expanded  
Line 108: Line 108:     
Output
 
Output
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| markers || all info BrainStream requires for its internal processing <br /> definition of all actions for all markers  
 
| markers || all info BrainStream requires for its internal processing <br /> definition of all actions for all markers  
Line 130: Line 130:     
Input
 
Input
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| url || string with name of the datafile or fieldtrip buffer url (i.e., something like: 'buffer://localhost:1972')  
 
| url || string with name of the datafile or fieldtrip buffer url (i.e., something like: 'buffer://localhost:1972')  
Line 279: Line 279:     
Input
 
Input
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| event || BrainStream event structure  
 
| event || BrainStream event structure  
Line 299: Line 299:     
Input
 
Input
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| event || BrainStream event structure  
 
| event || BrainStream event structure  
Line 317: Line 317:     
Input
 
Input
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| event || BrainStream event structure  
 
| event || BrainStream event structure  
Line 340: Line 340:  
<pre>bs_send_hardware_marker(event, marker, datasource)</pre>Input
 
<pre>bs_send_hardware_marker(event, marker, datasource)</pre>Input
   −
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| event || event structure  
 
| event || event structure  
Line 361: Line 361:  
<pre>bs_send_buffer_marker(event, marker, datasource, delay, reference)</pre>Input
 
<pre>bs_send_buffer_marker(event, marker, datasource, delay, reference)</pre>Input
   −
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
 
| event || event structure  
 
| event || event structure  
Line 373: Line 373:  
| reference || relative to which timepoint is the delay specified, either:  
 
| reference || relative to which timepoint is the delay specified, either:  
 
|-
 
|-
| ^ || 'now': delay is specified relative to timepoint of bs_send_buffer_marker execution  
+
| || 'now': delay is specified relative to timepoint of bs_send_buffer_marker execution  
 
|-
 
|-
| ^ || 'marker' (default): delay is specified relative to the onset of the event during which bs_send_buffer_marker is executed  
+
| || 'marker' (default): delay is specified relative to the onset of the event during which bs_send_buffer_marker is executed  
 
|}
 
|}
   Line 383: Line 383:     
=== bs_insert_marker ===
 
=== bs_insert_marker ===
This function is deprecated, use bs_send_hardware_marker and bs_send_buffer_marker instead.
+
This function is deprecated, use bs_send_hardware_marker and bs_send_buffer_marker instead.
    
=== bs_insert_multiple_markers ===
 
=== bs_insert_multiple_markers ===
Line 392: Line 392:     
Input
 
Input
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
| event || BrainStream event structure |
+
| event || colspan="2"|BrainStream event structure  
 
|-
 
|-
| name || name of the marker |
+
| name || colspan="2"|name of the marker  
 
|-
 
|-
| delaytime || time of insertion in seconds relative to actions own execution time (&gt;=0)y |
+
| delaytime || colspan="2"|time of insertion in seconds relative to actions own execution time (&gt;=0)y  
 
|-
 
|-
| interval || time in seconds between insertions of markers |
+
| interval || colspan="2"|time in seconds between insertions of markers  
 
|-
 
|-
| number || number of times the marker has to be inserted |
+
| number || colspan="2"|number of times the marker has to be inserted  
 
|-
 
|-
| priority || <p>option to change execution order in case multiple actions have equal execution times</p> |
+
| priority || colspan="2"|<p>option to change execution order in case multiple actions have equal execution times</p>  
 
|-
 
|-
| ^ || 'low' || (default) put behind all other actions with equal execution times  
+
| || 'low' || (default) put behind all other actions with equal execution times  
 
|-
 
|-
| ^ || 'high' || put before all other actions with equal execution times  
+
| || 'high' || put before all other actions with equal execution times  
 
|}
 
|}
   Line 420: Line 420:     
Input
 
Input
{| border="1"
+
{| class="wikitable"
 
|-
 
|-
| event || BrainStream event structure |||
+
| event || colspan="3"|BrainStream event structure
 
|-
 
|-
| mod || modifier indicating what needs to change in the scheduled processing |||
+
| mod || colspan="3"|modifier indicating what needs to change in the scheduled processing
 
|-
 
|-
| ^ || options for mod: |||
+
| || colspan="3"|options for mod:  
 
|-
 
|-
| ^ || ^ || 'FINISHAPPLICATION' || finish application, normal shutdown via BS EXIT  
+
| || || 'FINISHAPPLICATION' || finish application, normal shutdown via BS EXIT  
 
|-
 
|-
| ^ || ^ || 'FINISHEXPERIMENT' || same as FINISHAPPLICATION  
+
| || || 'FINISHEXPERIMENT' || same as FINISHAPPLICATION  
 
|-
 
|-
| ^ || ^ || 'QUITAPPLICATION' || quit application, alternative shutdown via BS QUIT  
+
| || || 'QUITAPPLICATION' || quit application, alternative shutdown via BS QUIT  
 
|-
 
|-
| ^ || ^ || 'QUITEXPERIMENT' || same as QUITAPPLICATION  
+
| || || 'QUITEXPERIMENT' || same as QUITAPPLICATION  
 
|-
 
|-
| ^ || ^ || 'FINISHEVENT' || discard execution of any queued actions for this event  
+
| || || 'FINISHEVENT' || discard execution of any queued actions for this event  
 
|-
 
|-
| ^ || ^ || 'ABORTAPPLICATION' || immediately abort  
+
| || || 'ABORTAPPLICATION' || immediately abort  
 
|}
 
|}
  

Navigation menu