08-02-2022 02:00 PM
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)
08-02-2022 11:42 PM
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.
08-03-2022 12:39 AM
@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.