Code for sending TTL trigger for Implicit Association test


Author
Message
Nothando Nkambule
Nothando Nkambule
Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)
Group: Forum Members
Posts: 21, Visits: 51
Dave - Thursday, March 30, 2017
Tash - Thursday, March 30, 2017
I have been browsing through past posts in the forum, trying to look for an example of how I can write a code for sending a trigger to a parallel port for my EEG experiment. I am currently using picture IAT code from Inquisit library. Please help , if you have any idea of how to do this. Thanks.

You set up <port> elements and "display" them like you would with any other kind of stimulus element (<text>, <picture>, etc.), i.e. add them to the various <trial> element's /stimulusframes or /stimulustimes attributes. This is script is a good example:

https://www.millisecond.com/download/library/oddball/



Thank you, I have tried to follow the inquisit script but I am getting error messages

<port attributeA>
/ port = LPT1
/ subport = data
/ items = ("00000001")
</port>

<port attributeB>
/ port = LPT1
/ subport = data
/ items = ("00000010")
</port>

<port targetA>
/ port = LPT1
/ subport = data
/ items = ("00000011")
</port>

<port targetB>
/ items = ("00000001")
/ port = LPT1
/ subport = control
/ erase = false
</port>

I am also lost, in the sense that I don't have an idea of how to go about defining the port items for the two attributes and two targets



Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 109K
Tash - Thursday, March 30, 2017
I have been browsing through past posts in the forum, trying to look for an example of how I can write a code for sending a trigger to a parallel port for my EEG experiment. I am currently using picture IAT code from Inquisit library. Please help , if you have any idea of how to do this. Thanks.

You set up <port> elements and "display" them like you would with any other kind of stimulus element (<text>, <picture>, etc.), i.e. add them to the various <trial> element's /stimulusframes or /stimulustimes attributes. This is script is a good example:

https://www.millisecond.com/download/library/oddball/



Nothando Nkambule
Nothando Nkambule
Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)Esteemed Member (2.1K reputation)
Group: Forum Members
Posts: 21, Visits: 51
I have been browsing through past posts in the forum, trying to look for an example of how I can write a code for sending a trigger to a parallel port for my EEG experiment. I am currently using picture IAT code from Inquisit library. Please help , if you have any idea of how to do this. Thanks.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search