OnChange fired for every I/O during Phidget Load
Posted: Fri Jan 13, 2017 2:17 am
Is the InputChanged handler meant to be fired for *every* input after the phidget is opened?
Per the code below, once the phidget is loaded, interfaceKitInputChanged() is called for each input, and interfaceKitOutputChanged() is called for each output.
Is this the intended behavior?
Per the code below, once the phidget is loaded, interfaceKitInputChanged() is called for each input, and interfaceKitOutputChanged() is called for each output.
Is this the intended behavior?
Code: Select all
kit = InterfaceKit()
kit.setOnAttachHandler(interfaceKitAttached)
kit.setOnInputChangeHandler(interfaceKitInputChanged)
kit.setOnOutputChangeHandler(interfaceKitOutputChanged)
kit.openPhidget(sn)