nigelrogasch / MAGIC

Magnetic stimulator interface controller toolbox
23 stars 9 forks source link

Could not connect to Magstim Rapid2 #12

Closed ElinaZmeykina closed 3 years ago

ElinaZmeykina commented 3 years ago

Dear all,

I try to control Rapid2 TMS from Matlab using the MAGIC toolbox. I connect the device via serial port with the pin configuration as described in the manuscript but when I try to connect to the device as following: tms = rapid('COM1') tms.connect()

I get the warnings "The specific amount of data was not returned within the Timeout period" nothing happens after so I have to terminate the script. I tried to increase waiting time from 0.3 to 10 but it didn't help.

I would highly appreciate if you can navigate me where the error comes from. I use MATLAB 2018a, MAGIC v1.0, Magstim software ver. V11.0

Best regards, Elina