12-20-2013 11:25 PM
Hi all,
I have one digital line connected to an external switch. I am sending a TTL high or low to switch the device on or off. But for some reason, I need to consider the synchronized issue so I have to switch the device on for some times and turn it off, which was done by using a counter instead. I set the counter to use external clock to drive the counter to output 1 TTL pulse. Now come to the question. To use counter, I must output a pulse (HIGH and LOW). But sometimes I need to output only HIGH state or only LOW state. Is it possible to implement that with counter line?
12-23-2013 01:52 PM
Can you explain more about why you need to use a counter? There are ways to synchronize digital outputs, so maybe you could still use this option.
12-23-2013 03:16 PM
You can clear the counter task and create a new digital output task on the same line.
12-23-2013 03:49 PM
No need to clear the counter task, just unreserve it!