Logic Machine Forum
Different slider in the 'normal' visualization and the touch visualization? - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Different slider in the 'normal' visualization and the touch visualization? (/showthread.php?tid=294)



Different slider in the 'normal' visualization and the touch visualization? - Vesel - 06.05.2016

Hi!

I'm currently working on a project where I would like to use the circular slider in the normal visualization. However, I don't like the way it shows up in the touch visualization and would like to use a normal slider there instead. Is there any way to have a different type of slider in the touch visualization and the normal visualization?

I have tried adding two sliders to the visualization, where the circular slider is hidden from the touch interface, and the 'inline usermode' box is unchecked for the regular slider and its icon is chosen to be a transparent .SVG file so it doesn't show in the normal visualization.  However this does not work, as it seems like its impossible to have two different types of sliders for the same KXN-adresses in the same visualization page. So as soon as I press save and reload plan, one of the sliders appearance changes to match the other slider. 

Can anybody help med out?

Kind regards,
Anders


RE: Different slider in the 'normal' visualization and the touch visualization? - AEK - 06.05.2016

(06.05.2016, 11:39)Vesel Wrote: Hi!

I'm currently working on a project where I would like to use the circular slider in the normal visualization. However, I don't like the way it shows up in the touch visualization and would like to use a normal slider there instead. Is there any way to have a different type of slider in the touch visualization and the normal visualization?

I have tried adding two sliders to the visualization, where the circular slider is hidden from the touch interface, and the 'inline usermode' box is unchecked for the regular slider and its icon is chosen to be a transparent .SVG file so it doesn't show in the normal visualization.  However this does not work, as it seems like its impossible to have two different types of sliders for the same KXN-adresses in the same visualization page. So as soon as I press save and reload plan, one of the sliders appearance changes to match the other slider. 

Can anybody help med out?

Kind regards,
Anders
you can use 2 knx objects. 1st will control something directly, second will have event based script and write value of second object to first. they both can have the same status object and different vis params


RE: Different slider in the 'normal' visualization and the touch visualization? - Vesel - 06.05.2016

Thank you for your reply. I considered doing this, but seemed a bit cumbersome. But unless somebody else comes up with another solution, I'll probably do it this way. I guess the small amount of extra stress it adds on the controller doesn't really matter. Smile


RE: Different slider in the 'normal' visualization and the touch visualization? - AEK - 06.05.2016

(06.05.2016, 12:12)Vesel Wrote: Thank you for your reply. I considered doing this, but seemed a bit cumbersome. But unless somebody else comes up with another solution, I'll probably do it this way. I guess the small amount of extra stress it adds on the controller doesn't really matter. Smile

Vesel, you can use one event script with Tag for all your duplicated objects and use grp.update function. thats better the script for every object and grp.write function (grp.update does not send telegram to KNX TP bus)