„scenarios/scripts/p300-tactile-stimulator.lua“ ändern

This commit is contained in:
Tobias Baumann 2022-07-05 12:41:07 +00:00
parent f198fd7a69
commit d1b78e738e

View File

@ -29,7 +29,6 @@ function is_element(matrix, value)
end
--this function creates a sequence of stimulations by shuffeling the values of the given stim_matrix
function create_sequence(matrix)
math.randomseed(os.time())
local stim_matrix = {}
local stim_code = 0
local i = 1
@ -45,6 +44,9 @@ end
-- this function is called when the box is initialized
function initialize(box)
--randomseed
math.randomseed(os.time())
--load stimulation codes
dofile(box:get_config("${Path_Data}") .. "/plugins/stimulation/lua-stimulator-stim-codes.lua")