LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Insane Object Question

Sorry cannot post code, but is the following an insane object?

 

Background:

I had a loop with an event structure in a larger program. (JKI State Machine)

The loop had a "Stop" button and a pair of clusters on it. The Stop button and clusters were not connected in any way.

Here's the weird/insane part:

One of the clusters has a numeric control. When I changed the control from 6 to 7, or any whole integer value, everything ran fine.

When I changed the control from 6 to 6.2, it triggered a "Value Change" event for the Stop Button. The only reason I know this is because I was logging events. I got no insane object warnings and don't know how I would have debugged this without logging events.

 

Anybody else see something similar? Thanks.

(LabVIEW 2021 64 bit)

0 Kudos
Message 1 of 3
(918 Views)

Was not an insane object. It was a feature I never used before or know how it got set.

In the properties for the boolean control the toggle was set to return, when the value was changed with a return key, the boolean "toggled" triggering an event. Still don't understand this feature.

 

mcduff_0-1659501750267.png

 

0 Kudos
Message 2 of 3
(858 Views)

@mcduff wrote:

Was not an insane object. It was a feature I never used before or know how it got set.

In the properties for the boolean control the toggle was set to return, when the value was changed with a return key, the boolean "toggled" triggering an event. Still don't understand this feature.


If you place a new JKI state machine in a VI the <return> key is the default key assignment for 'OK' button. 

Message 3 of 3
(851 Views)