Hi Paul, <br><br>Thanks for your reply and for sharing your VAS script. I seem to be having some trouble adding the VAS.epk2 package. When I go to Experiment Object Properties >> Add the package is not given as an option to be added. Do you have any suggestions? Is the package soemthing I have to purchase to activate? <br><br>Many thanks for your help. <br><br>~Holly<br><br><br>On Friday, June 7, 2013 12:41:33 PM UTC-4, Paul Groot wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div><div>hi,<br><br></div>It seems that you now have a stimulus screen (with a static contents) that stays on screen until all presses are collected. Then, when the Stimulus object finishes, you start an inline script that processes all past button presses. If you would like to update the bar immediately after each button press, you need a different construct. I think it would be very similar to the code I used in my VAS example script: <a href="http://pfcgroot.nl/e-prime/83-example-scripts/80-visual-analogue-scale-example-for-e-prime.html" target="_blank">http://pfcgroot.nl/e-prime/83-<wbr>example-scripts/80-visual-<wbr>analogue-scale-example-for-e-<wbr>prime.html</a> (look at the DragScale function). Also note that you should set the duration of the Stimulus screen to zero, or set the prerelease to same as duration.<br>
<br></div>Best<br>Paul<br><div><br><br></div></div><div><br><br><div class="gmail_quote">On 6 June 2013 18:02, free_operant_task <span dir="ltr"><<a href="javascript:" target="_blank" gdf-obfuscated-mailto="clb6GrjP1xUJ">holly...@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p class="MsoNormal"><span style="font-size:10.0pt;line-height:115%">Hi,<br>
<br>
I hope someone can help and apologies in advance for my elementary coding
skills.<br>
<br>
I am trying to create a response bar (drawn by the canvas function) that is
incrementally filled by each button press (each of the multiple button presses
required for an individual trial). I have tried to combine the ScoreBar and
MultipleResponseCollection sample scripts from the PST eprime support site. I
want the number of presses required to be randomly determined by an attribute
called MaxCount (which is set by RewardProb) at the beginning of each trial.
Eventually, the duration of each trial will also vary depending on RewardProb
(this bit works well in another script I have). <br>
<br>
I am attaching the script that I have so far. It seems to be partially working.
When the number of presses set by the attribute MaxCount is reached, the trial
terminates as it should, however, there is a substantial delay before the
response bar starts filling. Also, I would like the canvas to be cleared
of all images after each trial (because the next thing I am going to work on is
making the size of the response bar variable on each trial). But for now, I
would greatly appreciate any help with getting a response bar that fills with
each press on a single trial and clears after the trial is finished. <br>
<br>
Many thanks in advance if you can help!</span></p><span><font color="#888888">
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="clb6GrjP1xUJ">e-prime+u...@<wbr>googlegroups.com</a>.<br>
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="clb6GrjP1xUJ">e-p...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/470f1db1-0c3a-4542-9c9c-1fd114c0a0cc%40googlegroups.com?hl=en-US" target="_blank">https://groups.google.com/d/<wbr>msgid/e-prime/470f1db1-0c3a-<wbr>4542-9c9c-1fd114c0a0cc%<wbr>40googlegroups.com?hl=en-US</a>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/<wbr>groups/opt_out</a>.<br>
<br>
<br>
</font></span></blockquote></div><br></div>
</blockquote>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/c040807d-867a-4dc0-b811-809ff9c35b05%40googlegroups.com?hl=en-US">https://groups.google.com/d/msgid/e-prime/c040807d-867a-4dc0-b811-809ff9c35b05%40googlegroups.com?hl=en-US</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
<br />
<br />