BrainStreamProgrmmersGuide: Difference between revisions
Jump to navigation
Jump to search
Wiki-admin (talk | contribs) No edit summary |
Wiki-admin (talk | contribs) |
||
| (3 intermediate revisions by the same user not shown) | |||
| 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 | ||
|- | |- | ||
| | | || '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. | |||
=== bs_insert_multiple_markers === | === bs_insert_multiple_markers === | ||
| Line 394: | Line 394: | ||
{| class="wikitable" | {| 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 (>=0)y | | delaytime || colspan="2"|time of insertion in seconds relative to actions own execution time (>=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 | ||
|- | |- | ||
| | | || 'high' || put before all other actions with equal execution times | ||
|} | |} | ||
| Line 422: | Line 422: | ||
{| class="wikitable" | {| 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 | ||
|- | |- | ||
| | | || colspan="3"|options for mod: | ||
|- | |- | ||
| | | || || 'FINISHAPPLICATION' || finish application, normal shutdown via BS EXIT | ||
|- | |- | ||
| | | || || 'FINISHEXPERIMENT' || same as FINISHAPPLICATION | ||
|- | |- | ||
| | | || || 'QUITAPPLICATION' || quit application, alternative shutdown via BS QUIT | ||
|- | |- | ||
| | | || || 'QUITEXPERIMENT' || same as QUITAPPLICATION | ||
|- | |- | ||
| | | || || 'FINISHEVENT' || discard execution of any queued actions for this event | ||
|- | |- | ||
| | | || || 'ABORTAPPLICATION' || immediately abort | ||
|} | |} | ||