Thanks for your reply. The code 11 was indeed sent before the code 10 in most of the trials.by Yidong_YANG - Questions and Answers
Hi, Sorry for the late reply. I updated MonkeyLogic and yes I can record reaction times now. About the accuracy of the timing of OnOffMarker, I did a test and I do have some questions. It's a simple saccade task, participants have to first fixate at the central fixation for 300 ms. When the fixation disappears, a target will appear simultaneously, they have to fixate on the target forby Yidong_YANG - Questions and Answers
Thanks for your reply. However, I found that the reaction time and acquired time were recorded as NaNs using this way. fix2 = SingleTarget(eye_); % cue period fix2.Target = 2; fix2.Threshold = saccade_window; fix2_marker = OnOffMarker(fix2); fix2_marker.OnMarker = SACCADE_ON; wth3 = WaitThenHold(fix2_marker); wth3.WaitTime = saccade_wait; wth3.HoldTime = saccade_hold; wth3_markerby Yidong_YANG - Questions and Answers
Hi, I tried to use OnOffMarker to send the event code, but I didn't find the code in the data. I assume that the adapter fix1 will become true when the signal goes into the fixation window, which can trigger the OnMarker. Is there anything wrong? fix1 = SingleTarget(eye_); % fixation period fix1.Target = 1; fix1.Threshold = fix_window; fix1_marker = OnOffMarker(fix1); fix1_marker.Oby Yidong_YANG - Questions and Answers
For the neural recording, we want to ensure that we can get enough trials for each condition. Currently, I use a userloop function. First, I generated a condition file table that repeats each condition 20 times. Then, the condition is shuffled and traversed. When a trial isn't correct, it will be replicated and added at the end of the condition table. The task will end automatically if allby Yidong_YANG - Questions and Answers
Hi, In my task, the subject will be asked to hold the central fixation while the sequences of the circle objects and movies are shown on the screen. First, there will be the avatar and the central fixation point, then two circle objects on the two sides, and then the movie of the avatar turning to one side (Please check the schema to help you understand the timing of different sequences). So tby Yidong_YANG - Questions and Answers
Thanks. I deleted the idle() at the end of the timing file, so now we can see the last frame of the avatar during the exceeded time. It's not perfect but it works.by Yidong_YANG - Questions and Answers
Hi, My task is a cooperation task between the subject and an avatar. We want to make the avatar always be presented on the screen to convince the subject that it's a real partner playing with him. What I have tried is to reduce the ITI to 0 and add a video of the avatar at the beginning of each trial. But it seems that MonkeyLogic needs time to prepare for the next trial so it always exceby Yidong_YANG - Questions and Answers
Thanks for your reminder. I will discuss it with the engineer.by Yidong_YANG - Questions and Answers
Thanks. I will edit the videos. About the LEDOutput, here is the answer from the engineer: "About the LEDOutput adapter, you can explain that I had to add another input argument to the class because I needed to access the TrialRecord variable inside it which is not available from classical ML adapter. "by Yidong_YANG - Questions and Answers
Thanks. I did another test today. I resized the videos, which makes the size of the videos much smaller. Then the event code times seem alright: 1014.67250000000 1014.92940000000 1314.91650000000 1415.00590000000 1648.52570000000 1748.60660000000 1965.45490000000 2082.21530000000 2265.69830000000 2382.46670000000 2565.95170000000 2682.71350000000 So I guess your hypothesis about theby Yidong_YANG - Questions and Answers
Thanks for your reply. Inspired by your reply, I have run several tests, which makes me believe that it’s the movies but not the LEDs that cause the problem. 1. I tested the duration of a single or two sequential LED+TimeCounter chains, which are close to the predefined value. 2. I replaced all LED chains with simple CicrleGraphic objects in my script and run it again. It didn’t change anythinby Yidong_YANG - Questions and Answers
Here it is. The LEDOutput is a function written by our engineer to control the LEDs by Arduino. The event codes are [21 11 22 12 23 13 24 14 25 15 26 16], and the code times are 3001.28740000002 3001.54420000001 3451.66829999999 3485.01990000000 3952.08470000000 3952.34199999999 4402.45490000001 4402.71419999999 4902.84700000001 4903.10380000000 5336.52940000002 5336.78600000002by Yidong_YANG - Questions and Answers
It’s a complicated case, I hope I can explain it clearly. We are trying to program a task in which the avatar has to follow the color cue but the subject maintains the central fixation. So, I have a Single Target + Loose Hold chain to detect the eye signal, then a Sequential chain to control the appearance and disappearance of the cues (blank 300ms + the first cue 300 ms + blank 300 ms + theby Yidong_YANG - Questions and Answers