Page 1 of 1

inputting datarefs help.

Posted: 01 Jul 2019, 02:02
by chrishoppy
having trouble inputting a certain dataref into spadnext.

im trying to programme my ovhd panel brightness into a switch so when it is swithched on the panel will be value 1 and when it is switched off it will be value 0.

the problem however is zibo panel brightness has 4 different values in the same dataref as shown below.

is there any way i can seperate these or add into the value box with a comma to represent a different knob movement.

Re: inputting datarefs help.

Posted: 05 Jul 2019, 13:21
by c0nnex
I think you will have to "mimic" that behaviour using a local helper-Variable.
e.g. have a local Var "BrightnessSwitch"
to the siwtch assign
Increment BrightnessSwitch , min 0 , max 3 , Rollover = on
thern add a script-events
if Brightnessswitch = 0 then set panel brightness to "firstValue"
if Brightnessswitch = 1 then set panel brightness to "secondValue"
and so on

Re: inputting datarefs help.

Posted: 06 Jul 2019, 14:41
by chrishoppy
The value I want to change is the one that says 0.55. So when I move the switch only that value changes but the other 3 values remain untouched.

Re: inputting datarefs help.

Posted: 08 Jul 2019, 15:20
by c0nnex
oops sorry misread.
That has to be changed in the dataref definition of SPAD.neXt. I'll look at it

Re: inputting datarefs help.

Posted: 08 Jul 2019, 17:01
by chrishoppy
Thanks Ulrich. Also is there a full manual on spad.next that explains everything i.e what shortmode does etc.