How do I detect (and better yet change) the mechanical action of a Boolean programmatically?

I am trying to reference controls on a panel of another VI programmatically.  When I parse the VI it is not running, so I do not get errors if I encounter a Boolean in latch mode by reading the value.  Later, when it is running and I try to read or write to that Boolean it generates an error, but that is not when I want to handle the error.  Is there some way to read what the mechanical action of a Boolean is?  Is it possible to change it programmatically?  I can not change anything on the target VI except the mechanical action, no adding event blocks looking for mouse clicks, etc.
Thanks,
--Matt

mviele wrote:
II can not change anything on the target VI except the mechanical action, no adding event blocks looking for mouse clicks, etc.
Changing the mechanical action is a significant edit change, so why are you arbitrarily disallowing anything else?
Easiest would be to exclusively use "switch action" booleans and simulate the latch action in code, e.g. reset it to false elsewhere using a local variable.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

Maybe you are looking for