V.6 since V.5 delay is in 1/100 of a second. Your problem is that you
are using a script to do the timing - A script is run when there is time
to run it, it is not entirely deterministic. If you want reliable
timing pulses to an IO line then you need to use Virtual Circuits.
oClock with oCountDown or some similar combination will work far better
than your script when it comes to accurate and repeatable times.
DLC
mora_sutha wrote:
> Hi,
> I'm using ooPIC's delay function to change a digital O/P state. So
> after setting the state as ON, I'm giving a delay to maintain that
> state. Same thing for OFF state as well. But I'm getting different delay
> times when checked with oscilloscope. For example, when I put delay = 5,
> I'm getting a delay of 15mS. Can anybody tell what may be the reason? To
> change a line's state as we want, is this method is correct?
>
> The code fragment:
>
> Dim line1 as new oDIO1
> ........
> line1.state = cvOn
> ooPIC.delay = 5
> .........
>
> With Regards,
> G. Sudarsan
>
>
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>
>
--
------------------------------------------------------
Dennis Clark ooPIC Tech Support
www.oopic.com
------------------------------------------------------
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/oopic/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/oopic/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
No comments:
Post a Comment