Task Events
Hope this is part of an answer: Task events works for me, but need to wrap the number in ‘mh’ and ‘0’ (see picture sending a 2, http://cedrus.com/support/stimtracker/tn1450_st_commands.htm). Just need to set pulse duration at the beginning of trial usin an inline containing:
Dim millisecondsDuration As Integer
Dim bytesThatMakePulseConfigCommand(5) As Integer
millisecondsDuration = 10
bytesThatMakePulseConfigCommand(0) = 109 ’ ascii m
bytesThatMakePulseConfigCommand(1) = 112 ’ ascii p
bytesThatMakePulseConfigCommand(2) = millisecondsDuration
bytesThatMakePulseConfigCommand(3) = 0
bytesThatMakePulseConfigCommand(4) = 0
bytesThatMakePulseConfigCommand(5) = 0
' (E-Studio generates the following script when the serial device is
’ added to the experiment: Dim Serial As SerialDevice).
’ Send the command to StimTracker!
Serial.WriteBytes bytesThatMakePulseConfigCommand
I am using stimtracker with NeurOne EEG system and since it just using the top connector of the stimtracker the number that it outputs is restricted to 3 bits i.e. nr 1-7 http://cedrus.com/support/stimtracker/tn1460_st100_pins.htm
