Port triggered from Random displayed images


Port triggered from Random displayed images

Author
Message
Lostcode
Lostcode
Guru
Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)

Group: Forum Members
Posts: 29, Visits: 1

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?


Dave
Dave
Supreme Being
Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)

Group: Administrators
Posts: 9.7K, Visits: 45K

See http://www.millisecond.com/forums/Topic1721.aspx.


Lostcode
Lostcode
Guru
Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)

Group: Forum Members
Posts: 29, Visits: 1

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.


Dave
Dave
Supreme Being
Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)

Group: Administrators
Posts: 9.7K, Visits: 45K

Well, yes. Simply send another <port> with 00000000 at the desired time after the signal via the <trial>'s /stimulustimes:


http://www.millisecond.com/forums/Topic5755.aspx#5755


Lostcode
Lostcode
Guru
Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)

Group: Forum Members
Posts: 29, Visits: 1

Reference to older question.


I have 2 items in stimulustime for a trial
the 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?


Dave
Dave
Supreme Being
Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)

Group: Administrators
Posts: 9.7K, Visits: 45K

I have 2 items in stimulustime for a trial
the port is triggered when spacebar is pressed. It is only displaying for the second item being displayed.


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.


Lostcode
Lostcode
Guru
Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)Guru (5.4K reputation)

Group: Forum Members
Posts: 29, Visits: 1

<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.


Dave
Dave
Supreme Being
Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)Supreme Being (665K reputation)

Group: Administrators
Posts: 9.7K, Visits: 45K

When spacebar is hit during test1 nothing is broadcast.


Please see the documentation for the /responsetime attribute. The above is the default, expected behavior.


When hit during test2 it broadcasts the corresponding responsemessage port.


That is expected, too. In addition, please see the documentation for the /responseinterrupt attribute.


GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search