function[obj] = setTrialStart(pattern)