nigelrogasch / MAGIC

Magnetic stimulator interface controller toolbox
23 stars 9 forks source link

How to set WaitTime and Number of Trains for Magstim Rapid2? #22

Open ChaosBCI opened 5 months ago

ChaosBCI commented 5 months ago

Hi , thanks for your great work on this toolbox! Since I did't find any functions to set WaitTime or Number of Trains presented in the Magstim UI , is that means I need to instantiate a rapid object and realize intended stimulation trains in a new script?

longevity-software commented 5 months ago

Hi ChaosBCI, with the rapid, you can configure a single train at one time using the communications protocol, therefore wait time and number of trains is something you must take control of by triggering the system at the desired train start times for the desired number of times.

This can either be done by sending a trigger command with this toolbox, or by externally triggering the system using another piece of equipment.

longevity-software commented 5 months ago

Be aware that you also must be responsible for enforcing the minimum wait times as well, otherwise you will risk damaging the equipment and voiding any warranty or agreements.