Changes

Jump to navigation Jump to search
Line 81: Line 81:  
Users should always use BrainStream's [.DocsSectionsProgrmmersGuide#SendHardwareMarker bs_send_hardware_marker] function to send hardware markers to keep code independent of connected hardware. This function will look in the blocksettings for a sndMarker function which actually sends the markers to the hardware device. You must specify this function under topic [<device>] and key SendMarkerFnc. The default sndMarker function is sndBufferMarker, which sends the marker via the FieldTrip buffer (i.e. not via the hardware).
 
Users should always use BrainStream's [.DocsSectionsProgrmmersGuide#SendHardwareMarker bs_send_hardware_marker] function to send hardware markers to keep code independent of connected hardware. This function will look in the blocksettings for a sndMarker function which actually sends the markers to the hardware device. You must specify this function under topic [<device>] and key SendMarkerFnc. The default sndMarker function is sndBufferMarker, which sends the marker via the FieldTrip buffer (i.e. not via the hardware).
 
<pre>[biosemi_active2]
 
<pre>[biosemi_active2]
[[SendMarkerFnc|Send Marker Fnc]] = 'sndBufferMarker' %default  
+
SendMarkerFnc = 'sndBufferMarker' %default  
 
</pre>
 
</pre>
  

Navigation menu