Task Event - WriteString?

John jpryan28 at gmail.com
Thu Aug 15 17:14:55 UTC 2013


Update:  We were able to get it running using inline script -- it needed a 
carriage return.

Prior to each event, put in an inline script with:
Serial.WriteString "RUN" & ebCrLf

If using multiple pumps in a network, precede run with the address of the 
pump:  "00 RUN" for the first pump, "01 RUN" for the second, etc.


On Monday, August 12, 2013 11:28:34 AM UTC-4, 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/6de50f0f-a5ec-46f3-aae2-50178fb231e8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20130815/b6a1b982/attachment.htm>


More information about the Eprime mailing list