Are you using a shift register in your while loop? And if so, do you
initialize it? If you don't, it will remember the last value.
Tom Nathe wrote:
>
> I'm working on an app that uses the parallel port to do a "walking ones"
> to a logic device. Only the first four bits of the port are used, these
> four
> go thropugh a demux then to the device which has ten inputs. That part
> works fine and the program itself works almost perfectly, except for one
> item.
>
> If the count is stopped in mid cycle (using a while loop to count to ten)
>
> and then restart the program, the parallel port does not rest back to zero
> it just keeps going where it left off. The only way to fix this problem now
> is
> to shut down labview (not an option).
>
> How do I insure that the
parallel port is zeroed at the begining of each
> count cycle automagicly?
>
> Thanks in advance!