Task Event - WriteString?
David McFarlane
mcfarla9 at msu.edu
Mon Aug 12 18:26:45 UTC 2013
Try the following in the Task Events dialog box:
- Set Source to "(custom)"
- In Custom, put your string (e.g., "RUN", without the quotes). (You
may also use attribute references here, e.g., "[StimCode]", these
will be resolved just before the stimulus object runs.)
- Set Data Type to "String".
- Set Enabled to "Yes".
Please write back with your results, as I am not set up to test that
myself here.
And if you have not already, look a the seciton 3.1 of the New
Features Guide, and KB4803
(http://www.pstnet.com/support/kb.asp?TopicID=4803 ) for the
documentation from PST.
-----
David McFarlane
E-Prime training
online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster)
/----
Stock reminder: 1) I do not work for PST. 2) PST's trained staff
take any and all questions at
http://support.pstnet.com/e%2Dprime/support/login.asp , and they
strive to respond to all requests in 24-48 hours, so make full use of
it. 3) In addition, PST offers several instructional videos on their
YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do
get an answer from PST staff, please extend the courtesy of posting
their reply back here for the sake of others.
\----
At 8/12/2013 11:28 AM Monday, John wrote:
>I'm running eprime pro and trying to use task events to trigger an
>external device.
>
>When the stimulus comes on the screen, I need eprime to send the
>string "RUN" to the serial port.
>
>In task events, I do the following:
>-Add an event
>-Select the serial device (COM3)
>-Action: WriteString
>
>...but then how to I define what the string is? (i.e. "RUN")
>
>
>(In a terminal window, i can type "echo RUN > COM3" and that
>triggers the device...I'm just trying to figure out how eprime to do that.)
>
>Thanks!
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52092908.6707320a.114d.ffff9e68SMTPIN_ADDED_MISSING%40gmr-mx.google.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
More information about the Eprime
mailing list