Delay Property Issue in TimeCounter and TTLOutput February 21, 2025 03:47PM | Registered: 2 years ago Posts: 11 |
ttl2 = TTLOutput(wth2);
ttl2.Port = 1; % TTL #1 must be assigned in the I/O menu Now they are all the same port
tc2 = TimeCounter(ttl2);
tc2.Duration = 50; % I changed this from 100 to 50 to make it equal to microstim time
disp(tc2.Duration)
tc2.Delay = delay_microstim2;
sceneStim2 = create_scene(ttl2, [fixation_point sample]);
Unrecognized property 'Delay' for class 'TimeCounter'.
ttl2 = TTLOutput(wth2); ttl2.Port = 1; % Assign the TTL port in the I/O menu ttl2.Delay = delay_microstim2; % Apply delay here
Unrecognized function or variable 'ttl'. Error in dms_runtime (line 1305) sceneStim1=create_scene(ttl,[fixation_point,sample]); Error in run_trial (line 129) runtime(MLConfig,TrialRecord,TaskObject,TrialData); Error in monkeylogic/UIcallback (line 919) result = run_trial(MLConfig,datafile); Error while evaluating UIControl Callback.
Re: Delay Property Issue in TimeCounter and TTLOutput February 21, 2025 04:04PM | Registered: 2 years ago Posts: 11 |
ttl1 = TTLOutput(wth2); ttl1.Port = 1; % TTL #1 must be assigned in the I/O menu ttl1.Delay = delay_microstim1; tc1 = TimeCounter(ttl1); tc1.Duration = 50; % I changed this from 100 to 50 to make it equal to microstim time %tc1.Delay = delay_microstim1; sceneStim1 = create_scene(ttl1, [fixation_point sample]);
Re: Delay Property Issue in TimeCounter and TTLOutput February 24, 2025 07:14PM | Admin Registered: 6 years ago Posts: 988 |
Re: Delay Property Issue in TimeCounter and TTLOutput February 24, 2025 09:02PM | Registered: 2 years ago Posts: 11 |
The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.