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.
Current SPAD.neXt Release: 0.9.12.123
This forum has closed. Please join our Discord Community.
SPAD.neXt online services are no longer available for SPAD.neXt Versions < 0.9.11.5
inputting datarefs help.
-
- Flight Attendant
- Posts: 19
- Joined: 18 Jun 2019, 21:19
- Location: England UK
- Status: Offline
inputting datarefs help.
- Attachments
-
- dataref.png (55.1 KiB) Viewed 782 times
- c0nnex
- Site Admin
- Posts: 5469
- Joined: 10 Mar 2015, 21:52
- Location: Munich, Germany
- Contact:
- Status: Offline
Re: inputting datarefs help.
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
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
-
- Flight Attendant
- Posts: 19
- Joined: 18 Jun 2019, 21:19
- Location: England UK
- Status: Offline
Re: inputting datarefs help.
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.
- c0nnex
- Site Admin
- Posts: 5469
- Joined: 10 Mar 2015, 21:52
- Location: Munich, Germany
- Contact:
- Status: Offline
Re: inputting datarefs help.
oops sorry misread.
That has to be changed in the dataref definition of SPAD.neXt. I'll look at it
That has to be changed in the dataref definition of SPAD.neXt. I'll look at it
-
- Flight Attendant
- Posts: 19
- Joined: 18 Jun 2019, 21:19
- Location: England UK
- Status: Offline
Re: inputting datarefs help.
Thanks Ulrich. Also is there a full manual on spad.next that explains everything i.e what shortmode does etc.