14.01.2022, 12:41
Hello
Is someone having a more simple event based script that is equal to FBeditor Input selection switch?
Is someone having a more simple event based script that is equal to FBeditor Input selection switch?
Code:
require('custom.fbeditor20.Select_switch')
functions_Select_switch_json_fbe_input_selection_switch_input_1 = grp.getvalue('2/4/0')
functions_Select_switch_json_fbe_input_selection_switch_input_2 = grp.getvalue('32/1/7')
functions_Select_switch_json_fbe_input_selection_switch_input_3 = grp.getvalue('32/1/6')
out = fbe_input_selection_switch(functions_Select_switch_json_fbe_input_selection_switch_input_1, functions_Select_switch_json_fbe_input_selection_switch_input_2, functions_Select_switch_json_fbe_input_selection_switch_input_3, 'fb__Setpunktvalg_A101__fbe_input_selection_switch__id')
if out ~= nil then
grp.write('2/0/51', out)
end