LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programmatically modify value change events

Solved!
Go to solution

Having a problem with registering user events in conjunction with value change of controls in an event structure programmatically. If the control is registered the first time all is fine… the control changes the temperature. The second time the control is registered, the events stop working after the first value change.

 

In the real application the User events are heavily used and the control references changes but this is as simple as I could make it.

0 Kudos
Message 1 of 3
(3,053 Views)
Solution
Accepted by topic author Beardsell

Here's a fixed version.  You were creating a new event registration rather than modifying the first.  The first event reg was set to lock the UI untill the event was handled, but it was never handled as you had substituted your new reg.

0 Kudos
Message 2 of 3
(3,027 Views)

Got it.  Thanks for the solution.

0 Kudos
Message 3 of 3
(2,979 Views)