Sorry, I forgot to switch the DAQ board to SingleEnded.by Ming - Questions and Answers
I had set it SingleEnded. When the Joystick X was high voltage generated by generator, the cursor moved to right first and then move up.by Ming - Questions and Answers
Hi Jaewon, I assigned Joystick X and Y on DAQ board, but I found a problem in I/O test that only direction X gave a response and the white solid circle moved to the top right and bottom left. Besides, I replaced it with signal generator on the Joystick X or Y and GND, the problem still remained the same as before: for X, it moved from bottom left to top right, and for Y it didn't move. Howby Ming - Questions and Answers
Yeah, it opened successfully after I remove ML 2.0 and reload ML 2.2. I'm astonished about it because I found the same problem on two computers of my lab. Now it runs normally. Thank you very much!by Ming - Questions and Answers
I tried these two methods, but it still got jumbled. I've been told by senior that this file used to open with monkeylogic 2 in 2017, so I download the latest version 2.0.243, and it opened successfully, whatever old bhv file or new bhv file. The root of this bug may be the version differences between 2.0 and 2.2.by Ming - Questions and Answers
Thank you for your reply. I have sent you the bhv2 file by email. By the way, I am sure that my bhv2 file isn't corrupted because it can be normally loaded by ML edition NIMH_MonkeyLogic_2(Dec-14-2017).by Ming - Questions and Answers
Dear Jaewon, I used the mlread function of the latest ML version (2.2.22) to read my bhv file produced by old ML version, but it got jumbled. I used the latest ML to produce the new bhv file and it was loaded normally. Is it the structure of the bhv file changed in the new version? Thanks, Ming >> mlread An error occurred while reading the variable, 'MLConfig'.by Ming - Questions and Answers
Thanks. It runs normally now.by Ming - Questions and Answers
Dear Jaewon, I download the monkeylogic 2.2.21, but I found it cannot run normally. I run the demo "close loop stimulation", press "s" for simulation on, but it takes no response after I press "space" key. I used the formal version 2.2.20, and it run normally. What's the matter?by Ming - Questions and Answers
Hello! I need to counting pulses to trigger the stimulation. That is, when detecting 50 pulses then giving a continuous current stimulation until detecting 60 pulses. To my understanding, the current can only set its length previously, not controlled by time or numbers. Can it be controlled like this? The complete scene is the EEG/fMRI experiment. The TR pulse (just a pulse) gives every 2s, wby Ming - Questions and Answers
I want to give stim1 and stim2 simultaneously, but I can only see the latter one on oscilloscope even though the monkeylogic screen shows that stim1 and stim2 are both given. How to make both stim1 and stim2 output simultaneously and successfully? Thank you! Here is the relative code: % y = repmat([5 0 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]', 4000, 1); % fs = 5000; % save(&by Ming - Questions and Answers
I got the correct waveform by following your script! Thanks a million!by Ming - Questions and Answers
I'm sorry for my misunderstanding. I want to give the electric stimulation after the joystick back to he center and before the next visual stimuli is showed on the screen, that is, during this two period, about 200 ms. I use the joystick instead of eyetrack. I have used the Stimulator function but the oscilloscope showed stimulation only once, it shows the continuous stimulation only when Iby Ming - Questions and Answers
Sorry, I made a spell mistake, I want to express "stimulation". I wanted to do DBS (deep brain stimulation) on monkeys when they do behavioral tasks. I used the oscilloscope to measure the stimulate duration. The measurement result is showed in attachment.by Ming - Questions and Answers
I use the 6229 DAQ board, but I found the stimulate_duration is much longer than what I wanted. fix1 = SingleTarget(joy_); fix1.Target = CentPoint; fix1.Threshold = 3; holdCent = WaitThenHold(fix1); holdCent.HoldTime = time_centHold; stim1 = ClosedLoopStimulator(holdCent); stim1.Channel = 1; stim1.Waveform = [5 5 5 5 0 5 5 5 5 0 0 0 0 0 0 0 0 0 0 0]'; stim1.Frequency = 4000;by Ming - Questions and Answers
I set the square wave stimulation to analog output but the DAQ board didn't support analog output, how can I transfer the square wave into digital signal to digital output? Thank you!by Ming - Questions and Answers
Dear all, I want to change parameters of some trials in a session, but I don't know how to get the total trial numbers which I input in the main menu. Is there a direct method to get it? Thanks!by Ming - Questions and Answers