Re: unexpected error - why ?

2003-12-23 Thread Roy F
Would an error message like the following help?

  Error 1193 occurred at ...

  Possible reason(s):

  LabVIEW:  When a Boolean control has a latch
  mechanical action, you cannot use the Value
  property to read or write its value.

This error message should get people unstuck. For the curious at
heart, wondering why this is so, they could then go to help and find
the following under Changing the Mechanical Action of a Boolean
Object:

  Note:  You cannot use any latch action for objects
  with a local variable because the first local
  variable to read a Boolean control with latch
  action would reset its value to the default.

I know - a little late to help you, but those who follow will be a
touch less frustrated.

Roy Faltesek

P.S. It was a redundant question - no need to answer. Our support
department has made us fully aware of the problems poor error code
returns and/or messages can cause, and this specific example was their
poster child.



Re: unexpected error - why ?

2003-12-22 Thread Jim Kring
Probably because the Boolean is set to a latch mechanical action.
Change it to a switch mechanical action and the error will go away.



Re: unexpected error - why ?

2003-12-22 Thread FischeFr
right!

really nice - I hate it !

thanks