David, as always, thank you for your helpful suggestions. I will look more into this.<br><br>On Friday, November 2, 2012 4:57:38 PM UTC-4, McFarlane, David wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Please do not use Clock.Read to get the starting time of your 
<br>stimulus, this will almost never be exact, and is in any case 
<br>superfluous.  Suppose your text stimulus is named StimText.  Then 
<br>StimText.OnsetTime already tells you the onset time of the stimulus, 
<br>you should use that (see 
<br><a href="http://groups.google.com/group/e-prime/browse_thread/thread/39e899d3457d4917" target="_blank">http://groups.google.com/<wbr>group/e-prime/browse_thread/<wbr>thread/39e899d3457d4917</a> ).
<br>
<br>If you think further, you might not even need to do that.  If you 
<br>have StimText start after the key is pressed down, and have StimText 
<br>launch its own "release" input mask, then StimText.RT will already be 
<br>the appropriate RT for the release response relative to the onset of StimText.
<br>
<br>-----
<br>David McFarlane
<br>E-Prime training 
<br>online:  <a href="http://psychology.msu.edu/Workshops_Courses/eprime.aspx" target="_blank">http://psychology.msu.edu/<wbr>Workshops_Courses/eprime.aspx</a>
<br>Twitter:  @EPrimeMaster (<a href="https://twitter.com/EPrimeMaster" target="_blank">https://twitter.com/<wbr>EPrimeMaster</a>)
<br>
<br>
<br>
<br>
<br>At 11/2/2012 01:24 PM Friday, Courtney Griffin wrote:
<br>>David, thank you so much for your help. I was able to read through 
<br>>the Help section and get an idea of how to accomplish what I wanted.
<br>>
<br>>Would you happen to know how to use the Clock.Read function to start 
<br>>as soon as the stimulus is presented (I'm using basic text as my stimulus)?
<br>>
<br>>On Tuesday, October 30, 2012 4:19:40 PM UTC-4, McFarlane, David wrote:
<br>>Don't know about specifics in this case, just a couple hints for
<br>>now.  Take a look at the "{key} nomenclature" topic in the E-Basic
<br>>Help facility for hints on how to get RTs using key releases with
<br>>ordinary stimulus objects.  That might get you most of the way, and
<br>>if needed you could supplement this with some simple computations in
<br>>inline code.
<br>>
<br>>-----
<br>>David McFarlane
<br>>E-Prime training
<br>>online: 
<br>><<a href="http://psychology.msu.edu/Workshops_Courses/eprime.aspx" target="_blank">http://psychology.msu.edu/<wbr>Workshops_Courses/eprime.aspx</a>><a href="http://psychology.msu.edu/Workshops_Courses/eprime.aspx" target="_blank"><wbr>http://psychology.msu.edu/<wbr>Workshops_Courses/eprime.aspx</a> 
<br>>
<br>>Twitter:  @EPrimeMaster 
<br>>(<<a href="https://twitter.com/EPrimeMaster" target="_blank">https://twitter.com/<wbr>EPrimeMaster</a>><a href="https://twitter.com/EPrimeMaster" target="_blank">https://twitter.<wbr>com/EPrimeMaster</a>)
<br>>
<br>>/----
<br>>Stock reminder:  1) I do not work for PST.  2) PST's trained staff
<br>>take any and all questions at
<br>><<a href="http://support.pstnet.com/e%2Dprime/support/login.asp" target="_blank">http://support.pstnet.com/e%<wbr>2Dprime/support/login.asp</a>><a href="http://support.pstnet.com/e%2Dprime/support/login.asp" target="_blank">http<wbr>://support.pstnet.com/e%<wbr>2Dprime/support/login.asp</a> 
<br>>, and they
<br>>strive to respond to all requests in 24-48 hours -- this is pretty
<br>>much their substitute for proper documentation, so make full use of
<br>>it.  3) In addition, PST takes questions at their Facebook page
<br>>(<<a href="http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683" target="_blank">http://www.facebook.com/<wbr>pages/Psychology-Software-<wbr>Tools-Inc/241802160683</a>><a href="http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683" target="_blank">http://<wbr>www.facebook.com/pages/<wbr>Psychology-Software-Tools-Inc/<wbr>241802160683</a> 
<br>>
<br>>), and offers several instructional videos there and on their YouTube
<br>>channel 
<br>>(<<a href="http://www.youtube.com/user/PSTNET" target="_blank">http://www.youtube.com/<wbr>user/PSTNET</a>><a href="http://www.youtube.com/user/PSTNET" target="_blank">http://www.<wbr>youtube.com/user/PSTNET</a> 
<br>>) (no Twitter feed yet,
<br>>though).  4) If you do get an answer from PST staff, please extend
<br>>the courtesy of posting their reply back here for the sake of others.
<br>>\----
<br>>
<br>>
<br>>At 10/30/2012 04:08 PM Tuesday, Courtney Griffin wrote:
<br>> >basically I want it to go something like this:
<br>> >
<br>> >at stimulus display, read the clock and get the time (will name this
<br>> >variable T1)
<br>> >after key release, read the clock and get that time (will name this
<br>> >variable T2)
<br>> >at key press (final response), read the clock and get that time
<br>> >(will name variable T3)
<br>> >
<br>> >RT (reaction time) = T2-T1
<br>> >MT (movement time) = T3-T1
<br>> >
<br>> >
<br>> >On Tuesday, October 30, 2012 2:26:31 PM UTC-4, Courtney Griffin wrote:
<br>> >Hello all,
<br>> >
<br>> >I am programming my first experiment with E-Prime and have run into
<br>> >some issues I was hoping that someone might be able to help with.
<br>> >For my experiment I will be having subjects simultaneously hold down
<br>> >two keys (u and o), a stimulus is presented and they are to respond
<br>> >to it by releasing one of the two keys and making a movement to
<br>> >another to respond ({TAB} or {END}). Additionally, I would also like
<br>> >to record movement time (time from release of key to response) and
<br>> >reaction time (time of release of one of the initial keys). So far I
<br>> >have already gone in and allowed both Key Presses and Releases. My
<br>> >issue is actually how to get the program to recognize the release of
<br>> >the key and start recording the time, so I decided to use the
<br>> >Clock.Read function, but I'm not sure exactly how to implement it.
<br>> >Any assistance with this would be TRULY appreciated. Here is a bit
<br>> >of the code I have come up with, but I know that I am probably
<br>> >nowhere near where I need to be:
<br>> >
<br>> >Dim kbState As Integer
<br>> >
<br>> >Do
<br>> >
<br>> >If Keyboard.GetKeyState("u") = ebStatePress And _
<br>> >Keyboard.GetKeyState("o") = ebStatePress Then
<br>> >
<br>> >If kbState = Keyboard.GetKeyState ("{END}")= 0 Then
<br>> >Clock.Read
<br>> >
<br>> >ElseIf kbState = Keyboard.GetKeyState ("{TAB}") = 1 Then
<br>> >Clock.Read - Stimulus.OnsetTime
<br>>
<br>>--
<br>>You received this message because you are subscribed to the Google 
<br>>Groups "E-Prime" group.
<br>>To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="2rJS-7Is4IoJ">e-p...@googlegroups.com</a>.
<br>>To unsubscribe from this group, send email to 
<br>><a href="javascript:" target="_blank" gdf-obfuscated-mailto="2rJS-7Is4IoJ">e-prime+u...@<wbr>googlegroups.com</a>.
<br>>To view this discussion on the web visit 
<br>><<a href="https://groups.google.com/d/msg/e-prime/-/qqFBuuTyZowJ" target="_blank">https://groups.google.com/d/<wbr>msg/e-prime/-/qqFBuuTyZowJ</a>><a href="https://groups.google.com/d/msg/e-prime/-/qqFBuuTyZowJ" target="_blank">htt<wbr>ps://groups.google.com/d/msg/<wbr>e-prime/-/qqFBuuTyZowJ</a>.
<br>>For more options, visit 
<br>><<a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/<wbr>groups/opt_out</a>><a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.<wbr>google.com/groups/opt_out</a>.
<br>>
<br>>
<br>
<br></blockquote>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/ar4f5nIwCQkJ">https://groups.google.com/d/msg/e-prime/-/ar4f5nIwCQkJ</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 />