Slider update - 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: Slider update (/showthread.php?tid=815) |
Slider update - BjornHBrudeli - 30.05.2017 Hi all. I'm new to logic machine and have a question about slider update. I have a setup with a dali driver I want to controll from a slider in visualization. It works, but I only get the slider to update when I release it. I would like the light to follow the slider while adjusting. I see the value is updating on the ipad, but not the output. I've tried to map the driver as a slider direct, or a virtual object with a residental script writing its value to the driver. Both update light when slider is released and not while adjusting. Is it possible to have the object updated while adjusted? I haven't found anything about this on the forum. Thanks Bjørn RE: Slider update - Erwin van der Zwart - 30.05.2017 Hi, Default all actions are only on release. (there are some exeptions) You could manipulate this with custom javascript, but i think it's not a good idea to send 100 telegrams in 1 single slide to your TP (: BR, Erwin RE: Slider update - BjornHBrudeli - 30.05.2017 Thanks Erwin, I think it would make sense if I could have adjustable steps. Say every 5 steps I would update my dmx or dali object. Could this be done with grp.listen in custom javascripts? Is there a java manual for the LM with the special objects for the LM? The logic machine has a limited number of objects. There will not be that much going on so I'm not afraid of "overload" Regards Bjørn RE: Slider update - admin - 31.05.2017 Try this. It will affect all standard sliders, not the circular ones. Code: $(function() { As for other examples, there's a large thread on custom JavaScript: https://forum.logicmachine.net/showthread.php?tid=275 RE: Slider update - BjornHBrudeli - 31.05.2017 Thanks! This works like a charm. I know the thread, but if you could point me in the direction where to get the reference for LM and java. Where can I find the .control-slider explained? Regards Bjørn RE: Slider update - admin - 31.05.2017 There's no documentation right now, apart from grp function calls. This is mostly meant for advanced users who have experience with web development. RE: Slider update - BjornHBrudeli - 31.05.2017 Ok. Cool. Bjørn |