You did not provide enough information to make a guess.by Jaewon - Questions and Answers
The bus type matters only to you and your computer, since there can be some price difference and your computer may not support some bus types. NIMH ML does not care, as long as the board is supported by the current NI-DAQmx driver.by Jaewon - Questions and Answers
Obviously, the stimulus test and the task execution are not the same. You don't just display one video when you run a task, so the real test for you is to press the "RUN" button. If you see skipped frames at lower screen resolution like 1024 x 768, you may need a faster computer, too.by Jaewon - Questions and Answers
What do you mean by "run fine"? You said there were many skipped frames.by Jaewon - Questions and Answers
Getting less skipped frames when you reduced the screen resolution means that you do not have enough video memory for doing the job. Get a video card with larger memory.by Jaewon - Questions and Answers
https://monkeylogic.nimh.nih.gov/docs_RuntimeFunctions.html#set_itiby Jaewon - Questions and Answers
* Changes in 2.2.47 (Jun 30, 2024) - The background TTLs scheduled by TTLOutput are cancelled automatically, if they are not triggered by the end of a trial. * Changes in 2.2.46 (May 25, 2024) - Bug fixes in NIMH daqtoolbox that are not related to NIMH ML - Changes for keeping compatibility with v3.0by Jaewon - News
Can you download the latest version and try again? I fixed a similar issue a few months ago that occurred in old, slow computers. It was because the computer failed to read out NI samples in time while ML closed the calibration tool and went back to the control screen. The buffer size was increased to address it.by Jaewon - Questions and Answers
See the attached task. You can also make your own adapter for this kind of stuff, if it cannot be done with existing adapters.by Jaewon - Questions and Answers
You can retrieve Touch X &Y with get_analog_data() and construct the other columns by calculating the distance from the objects. https://monkeylogic.nimh.nih.gov/docs_RuntimeFunctions.html#get_analog_databy Jaewon - Questions and Answers
You can collect some time info from adapters after a scene and store it to the datafile. In your code, for example, on_target_time = []; off_target_time = []; if fth1.Success on_target_time = fth1.AcquiredTime; % or fix1.Time elseif 0<fth1.BreakCount off_target_time = fix1.Time; end bhv_variable('on_tartget',on_target_time,'off_target',off_target_time);by Jaewon - Questions and Answers
It is briefly mentioned in the remarks of SingleTarget. https://monkeylogic.nimh.nih.gov/docs_RuntimeFunctions.html#SingleTarget When the threshold window is crossed, SingleTarget marks when the crossing occurred but does not change its Success state immediately. If the cursor stays on the same side stably at least for one frame, then it changes the state and set the marked time as AcquiredTiby Jaewon - Questions and Answers
I think that is it. If the joystick is already off the window before the scene start, then SingleTarget does not know when the window was crossed and its Time property remains empty. You can use WaitThenHold.AllowEarlyFix to detect this case (or test if the RT is empty).by Jaewon - Questions and Answers
I do not know why your RT variable is sometimes empty. The code you posted is not complete, so I cannot run it. Is it possible that RT was initialized to [] somewhere and a new value was never assigned? You are indeed supposed to get the RT from WaitThenHold.RT, but either way should produce the same result. Have you checked the values of joy_stim.Time and stim_start when RT was []? In theby Jaewon - Questions and Answers
In the scene, does the subject need to maintain eye fixation for a certain duration before moving the joystick? Also, is the eye fixation required even after the joystick is off the threshold window?by Jaewon - Questions and Answers
I do not understand your last sentence. SingleTarget and CircleGraphic are independent; you can set the threshold window to any size that you want and it can be either larger or smaller than the circle size. If you assign a CircleGraphic object as a target to SingleTarget, the threshold window is initialized to the size of the circle, but you can change it afterward as you want. Currently, Mulby Jaewon - Questions and Answers
You have asked about this already. https://monkeylogic.nimh.nih.gov/board/read.php?3,1685by Jaewon - Questions and Answers
1) When multiple timing scripts are used in a task, a different script is called in each trial, like Trial 1 → ID1.m, Trial2 → ID3.m, etc. Everything is still stored in one single datafile. You just need to group trials later, according to the subject IDs. By the way, you know that the TrialRecord structure has nothing to do with data saving, don't you? 2) What do you mean by saving theby Jaewon - Questions and Answers
Yes, it does. I double-checked all the packages. I did not change the version number, so, if you downloaded before May 2, you need to do it again. Please check if any older version is in the MATLAB path. If so, remove it.by Jaewon - Questions and Answers
It seems a matter of imagination. There are many ways to do so and I think everything necessary is well-documented already. The entire scale can be drawn with a tool like MS Paint or PowerPoint and presented as an image in NIMH ML. Then you can check key input or set a fixation window on each scale level to capture the mouse cursor. If some visual feedback is desired, like the attached mousby Jaewon - Questions and Answers
They are . You could probably figure it out yourself if you tried plotting them.by Jaewon - Questions and Answers
You can certainly acquire at faster than 30 fps. It is just that you do not see which format supports higher rates until you click on them. The frame rate written in the Format string is just the default rate in that video resolution. You actually need to check the Frame rate option to see if you can slide the bar to over 30. I find this may not be convenient, so I am thinking of a better way toby Jaewon - Questions and Answers
What will be displayed there is dependent on whether your script is written in the v1 or v2 style. v2 scripts run in a totally different way from v1 scripts, so the measures like Cycle Rate simply do not exist in the v2-style tasks. See the following manual page, if you do not know the difference. https://monkeylogic.nimh.nih.gov/docs_CreatingTask.html#RuntimeVersion2_Background Even though Mby Jaewon - Questions and Answers
No apology is needed. You were thinking the job that you were supposed to do was redundant, so I just tried to make you understand it.by Jaewon - Questions and Answers
One is to store a value to a file and the other is to assign a value to a variable. How are they the same? See the two lines of code below. Are they doing a redundant function? a = 1; % assign to a variable save('test.mat','a'); % store to a file The value stored to the file is not accessible through the variable. Although the values kept in the file andby Jaewon - Questions and Answers
I suggest thinking through whether what you feel redundant is really redundant.by Jaewon - Questions and Answers
No, there isn't. Your computer has limited memory, so it is not reasonable to track the changes of all saved variables. Your example is just one boolean, but some people save huge variables for thousands trials.by Jaewon - Questions and Answers
The ID method is not something covered by NIMH ML, although some users may be able to share their experience here. You can use RFID, face detection or any ID method that you like, as long as it returns some unique number or string for each individual to NIMH ML. Arduino cannot run multiple sketches. You may need more than one Arduino device, if your ID method is also Arduino-based. You can creby Jaewon - Questions and Answers
You did not do your math correctly. The size of your image (1280x720) has not been changed between your experiment and analysis, so there is no need to rescale anything. What changed was the origin of the pixel coordinates. When you presented the image during the experiment, there were borders around the image. However, you plotted only the image without the borders, when you drew the heat mapby Jaewon - Questions and Answers
I do not know what kind of help you expect, but, there is very little that anyone can do without knowing how you drew it. You need to show the script that you wrote with the original data.by Jaewon - Questions and Answers