-
SliderGauge and script for 3 positions switch
The script : 0·2·1·0·(B:INSTRUMENT_OVD_AIR_SOURCE_SWITCH)·(L:OvdAiSoSw)·4·iseq·(>B:INSTRUMENT_OVD_AIR_SOURCE_SWITCH_Set)·(>L:OvdAiSoSw) And the correct assign is = 1 = OFF, 2 = APU and 0 = ENG
-
SliderGauge and script for 3 positions switch
The script works perfectly now. But I'm having trouble with the Stream Deck section. Here are my settings: Read Variable L:MH60-Air Source X Multiplier: -144 Button Setting K:MH60-Air Source Background image: upload Sliding the attached image But I only get states 0 <-> 2, never state 1. Thanks for help
-
SliderGauge and script for 3 positions switch
Test successful, thank you for your help. Now I have to make the icons.
-
SliderGauge and script for 3 positions switch
Thank you for your explanation, I will test it this evening.
-
pascalmartin started following SliderGauge and script for 3 positions switch
-
SliderGauge and script for 3 positions switch
Hi, I'm learning how to create scripts to complement Stream Deck profiles. I'm starting with a profile for the Miltech MH60. First challenge: a 3-position switch: (>IE:INSTRUMENT_OVD_AIR_SOURCE_SWITCH) 1 = OFF, 2 = ENGINE and 0 = APU Unless I'm mistaken, you need to use a SliderGauge on the Stream Deck, but beyond that, I don't know. My attempts (based on examples from other scripts) have been unsuccessful. My Test : (>IE:INSTRUMENT_OVD_AIR_SOURCE_SWITCH, number) 1 == if{ 0 (>IE:INSTRUMENT_OVD_AIR_SOURCE_SWITCH, number) ) els ( 1 (>IE:INSTRUMENT_OVD_AIR_SOURCE_SWITCH, number) } Thanks for help
pascalmartin
Members
-
Joined
-
Last visited