While... wend loop

ben robinson baltimore.ben at gmail.com
Tue Dec 11 17:48:10 UTC 2007


i'm not sure i understand.
could you simply Serial.WriteString a single time, then Sleep 1000?  or do
you need to repeatedly call Serial.WriteString as many times as possible
within the span of one second?

ben

On Dec 11, 2007 12:37 PM, Nikos Konstantinou <nkonstantinou at gmail.com>
wrote:

> Dear E-Prime users,
>
> does anybody know an eprime function equivalent to the MATLAB tic toc
> functions?
>
> I need to create a loop that lasts for 1 second while the
> Serial.WriteString method is called and don't know how!
>
> Below is a code that worked for me but I think there's a better way:
>
> While i <161
>  Serial.WriteString EnableRC
>  i = i +1
> Wend
>
> I would appreciate any responses.
>
> Best
>
> Nikos
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime-unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20071211/f5c526cd/attachment.htm>


More information about the Eprime mailing list