Quote:
Originally Posted by nwall
Thank you for posting this. Our team has always done it one way (since I've been here) and haven't really thought about other ways of doing it because it worked. I do have a question about your "Button Toggle.vi", which is why you use the blocks used. (i.e. Not and And for "Pulse Out", Not and Select for "Toggle")
.
|
As a digital electronic technician (now retired) I am used to approaching these kind of problems at the lowest bitwise level. The use of the greater than comparison operator just seems wrong to me but that's just me. I must admit however that I had a "slap myself on the forehead" moment when I saw your elegant use of the XOR operator for the actual toggling of the output. I'm gonna use that one from now on.
Since Labview is an optimizing compiler, it will probably come up with a more efficient solution during compilation anyway.