05-05-2006 12:12 PM
05-08-2006 11:37 AM
05-08-2006 03:01 PM
05-08-2006 05:01 PM - edited 05-08-2006 05:01 PM
Gleen,
There is no counter output buffer. Before when I was talking about a
buffer I was referring to the Digital I/O Buffer (not counter). If I
understand you correctly, you are seeing a 2-3 ms Delay between when the
CO.RdyForNewVal becomes true and when the counter's duty cycle changes.
Based upon the code I was running (I have added a picture of the code
that
updates the counter and digital output. Please ignore the logic
in the
bottom left of the picture. This code was only there to toggle
the
digital output and update the duty cycle), the counter changes
approximately 1 cycle (10ms) of a 100Hz signal. This corresponds
to the 0-3ms delay you were
seeing. I would expect this type of behavior since updating the
signals
is software timed and that the counter will take a finite amount of
time to
change the duty cycle. I have seen better results if I do not
update the
digital output until after I see the CO.RdyForNewVal become true after
updating
the counter's duty cycle. Hopefully this will help you out.
Best of luck,
Jesse O.
Applications Engineering
National Instruments
Message Edited by Jesse O on 05-08-2006 05:04 PM
05-09-2006 10:16 AM
05-09-2006 12:56 PM