Group: Forum Members
Posts: 1,
Visits: 2
|
Hi, I'd like to trigger a transcranial magnetic stimulation (TMS) device using an Inquisit TTL signal. I've successfully used a variant of the below code to send signals to an EEG amplifier (TMSi Polybench). Unfortunately, I haven't had any luck so far with the TMS trigger. The TMS device requires the following inputs:
TMS MagPro Trigger Input DSUB 9 pin Female Pin 1: Trigger Input Pin 2: Trigger Output Pin 3: Ground. (Reference) Pulse width > 5µs TTL + CMOS levels accepted Input Impedance > 10 kΩ Default: Falling edge/Rising edge (user defined)
My Inquisit script attempt (relevant sections only): <port triggersignal> / port = LPT1 / subport = data / items = ("11111111") / erase = ("00000000") </port>
<trial test> / stimulustimes = [0=start; 1000 = trigger, triggersignal] / validresponse = (noresponse) / trialduration = 5000 / recorddata = false </trial>
Any help would be very much appreciated!
|