That worked thank you.Last questions:
Is there a way to set it up so that when a valid response is triggered the port will spit out a response?
Is there a way to set a pulse width in inquisit for the TTL port? Like I want it to display the number then end with a zero for the pulse after so many ms.
Well, yes. Simply send another <port> with 00000000 at the desired time after the signal via the <trial>'s /stimulustimes:
Reference to older question.
I have 2 items in stimulustime for a trialthe port is triggered when spacebar is pressed. It is only displaying for the second item being displayed.
Is there something I need to reference so it is recorded both times?
I fail to understand what exactly the above is supposed to mean. Please be more specific, i.e., provide a clearer description (what is / isn't sent; what's the desired vs. the observed behavior) as well as a concrete, minimal example w/ code.
In case you are referring to signals sent via /responsemessage or the like, no, there is no way to record those.
<trial test>/ stimulustimes = [0=test1, test1Port; 200=test2, test2Por]/ validresponse = (" ")/ correctresponse = (" ")/ responsemessage = (" ", broadPort, 50)</trial>
When spacebar is hit during test1 nothing is broadcast. When hit during test2 it broadcasts the corresponding responsemessage port.
Please see the documentation for the /responsetime attribute. The above is the default, expected behavior.
That is expected, too. In addition, please see the documentation for the /responseinterrupt attribute.