While... wend loop
Nikos Konstantinou
nkonstantinou at gmail.com
Tue Dec 11 18:00:40 UTC 2007
Yes, I do need to repeat Serial.WriteString as many times as possible within
the span of one second (or any other time period). What does the sleep
function do?
Cheers,
N
On Dec 11, 2007 5:48 PM, ben robinson <baltimore.ben at gmail.com> wrote:
> 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/b0bc2886/attachment.htm>
More information about the Eprime
mailing list