visual feedback


visual feedback

Author
Message
nakayama
nakayama
Distinguished Member
Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)

Group: Forum Members
Posts: 64, Visits: 374
hi, Dave,
Thus maybe an old issue.
I wish to give a visual blue feedback on where was firstly clicked.
If I clicked after the second tone, there is no problem and the trial ends with the click.
If I click before the second tone,
once I click and hold, that's ok.
But once I click and further move the mouse the feedback shows the last position.

I wish to add something to prevent further correction and just want to record where was firstly clicked.
thank you for your attention.
Best,
Attachments
test5.iqx (8 views, 1.00 KB)
Dave
Dave
Supreme Being
Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)

Group: Administrators
Posts: 9.9K, Visits: 49K
nakayama - 11/12/2019
hi, Dave,
Thus maybe an old issue.
I wish to give a visual blue feedback on where was firstly clicked.
If I clicked after the second tone, there is no problem and the trial ends with the click.
If I click before the second tone,
once I click and hold, that's ok.
But once I click and further move the mouse the feedback shows the last position.

I wish to add something to prevent further correction and just want to record where was firstly clicked.
thank you for your attention.
Best,

You cannot give visual feedback positioned where the click occurred while the trial is still running. It's just not possible.

nakayama
nakayama
Distinguished Member
Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)

Group: Forum Members
Posts: 64, Visits: 374
Dave - 11/12/2019
nakayama - 11/12/2019
hi, Dave,
Thus maybe an old issue.
I wish to give a visual blue feedback on where was firstly clicked.
If I clicked after the second tone, there is no problem and the trial ends with the click.
If I click before the second tone,
once I click and hold, that's ok.
But once I click and further move the mouse the feedback shows the last position.

I wish to add something to prevent further correction and just want to record where was firstly clicked.
thank you for your attention.
Best,

You cannot give visual feedback positioned where the click occurred while the trial is still running. It's just not possible.


Giving visual feedback after the trial is ok, as long as the firstly clicked position was recorded when the click happened before the second tone.
Is it possible to do so?
Thank you for your advice.





Dave
Dave
Supreme Being
Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)Supreme Being (749K reputation)

Group: Administrators
Posts: 9.9K, Visits: 49K
nakayama - 11/12/2019
Dave - 11/12/2019
nakayama - 11/12/2019
hi, Dave,
Thus maybe an old issue.
I wish to give a visual blue feedback on where was firstly clicked.
If I clicked after the second tone, there is no problem and the trial ends with the click.
If I click before the second tone,
once I click and hold, that's ok.
But once I click and further move the mouse the feedback shows the last position.

I wish to add something to prevent further correction and just want to record where was firstly clicked.
thank you for your attention.
Best,

You cannot give visual feedback positioned where the click occurred while the trial is still running. It's just not possible.


Giving visual feedback after the trial is ok, as long as the firstly clicked position was recorded when the click happened before the second tone.
Is it possible to do so?
Thank you for your advice.





Okay, then you can do

<trial sound>
/ ontrialbegin = [trial.sound.resetstimulusframes()]
/ stimulustimes = [0=screen, tone; 50=circleshape; 2000=tone]
/ inputdevice = mouse
/ validresponse = (circleshape)
/ isvalidresponse = [
if (trial.sound.response == "circleshape") {
values.ax=100%*(trial.sound.responsex/display.width);
values.ay=100%*(trial.sound.responsey/display.height);
}
]
/ beginresponsetime = 50
/ responseinterrupt = frames
/ responsemessage = ("circleshape", tone, 50)
</trial>



nakayama
nakayama
Distinguished Member
Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)Distinguished Member (2.7K reputation)

Group: Forum Members
Posts: 64, Visits: 374
Dave - 11/12/2019
nakayama - 11/12/2019
Dave - 11/12/2019
nakayama - 11/12/2019
hi, Dave,
Thus maybe an old issue.
I wish to give a visual blue feedback on where was firstly clicked.
If I clicked after the second tone, there is no problem and the trial ends with the click.
If I click before the second tone,
once I click and hold, that's ok.
But once I click and further move the mouse the feedback shows the last position.

I wish to add something to prevent further correction and just want to record where was firstly clicked.
thank you for your attention.
Best,

You cannot give visual feedback positioned where the click occurred while the trial is still running. It's just not possible.


Giving visual feedback after the trial is ok, as long as the firstly clicked position was recorded when the click happened before the second tone.
Is it possible to do so?
Thank you for your advice.





Okay, then you can do

<trial sound>
/ ontrialbegin = [trial.sound.resetstimulusframes()]
/ stimulustimes = [0=screen, tone; 50=circleshape; 2000=tone]
/ inputdevice = mouse
/ validresponse = (circleshape)
/ isvalidresponse = [
if (trial.sound.response == "circleshape") {
values.ax=100%*(trial.sound.responsex/display.width);
values.ay=100%*(trial.sound.responsey/display.height);
}
]
/ beginresponsetime = 50
/ responseinterrupt = frames
/ responsemessage = ("circleshape", tone, 50)
</trial>



thank youWink u are the best!
GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search