Typically, you would use a shift register, then compare the current with the previous value using "not equal". It will be true whenever the data has changed from the previous iteration.
You could also use an event strucure with "value changed". It will fire whenever the control is changed by the operator.
As an alternative, there is an openG tool has a "data changed?" node for this purpose. ( www.openg.org ).
Both you can solve with an event structure. Just place your button
control inside the event structure and choose the event 'Value Change'.
The same states for the numeric control.