Hello, I am migrating from GUIDE to Appdesigner and can't understand why Im getting an error
I have a switch that I want to change the color of a lamp component:
function VioletSwitchValueChanged(app, event)
value = app.VioletSwitch.Value
This works when the switch is on, but not when the switch is off, I get the following error message which I dont understand
Matrix dimensions must agree.
Error in Spectrometer/VioletSwitchValueChanged (line 174)