06-20-2008 02:15 PM
06-23-2008
04:09 PM
- last edited on
09-21-2026
06:10 PM
by
Content Cleaner
Hi Michael,
The USB-6259 should be able to generate the clock and acquire data from your encoder. This article addresses the issue that you are seeing. You can specify the internal counter output line for the clock without external wiring. This can be accomplish by enabling "Advanced Terminals" after right clicking on the constant or control that specifies your external clock.
Regards,
Kent
Applications Engineer
06-24-2008 08:54 AM
06-25-2008 12:37 PM - edited 06-25-2008 12:38 PM
Michael,
06-25-2008 02:03 PM
06-26-2008 02:00 PM
06-30-2008 09:21 AM
07-01-2008 01:40 PM - edited 07-01-2008 01:40 PM
Hi Michael,
What's probably happening here is that since your two tasks are essentially independent in execution, one is going to start, and possibly finish before the other starts. Since one of your tasks depends on the other to be executing, this will cause problems but not all the time (as you are experiencing). Try using your error lines or your sequence structure to force the CO task to start just before the CI task and end the CI task before the CO task. Also, make sure you're not using the Run Continuously button in this application.
Here's an idea on how to guarantee this behavior.

07-07-2008 11:58 AM
07-08-2008
03:44 PM
- last edited on
09-21-2026
06:10 PM
by
Content Cleaner