Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slider issue on WebRiva
#1
Dean,

I was developing some autogen templates, and noticed the the volume slider page would freeze if the volume slider was manipulated too quickly.

I then setup a basic template with a slider and a text box to display the field (linked to a variable driver field).
That works fine in the interface viewer.
In the WebRiva version if you manipulate the slider too quickly, the page will freeze. It reloads again fine, but the behavior is reproducible each time.

I'm using both a desktop version of Chrome as well as chrome on my samsung phone.

thx,
Nishan
Reply
#2
You aren't trying to update a field as you slide it are you? That generally doesn't even work well with the regular IV.
Dean Roddey
Explorans limites defectum
Reply
#3
No, the slider just updates the static text box on the template with the current value.
The slider is linked to the variable driver field and that field get updated automatically.
My template is basically the same as the auto-generated volume pop-up...the error happens on the auto-generated pop-up too.
I just wanted to simplify the template to just the slider and a text box to eliminate other possibilities.
Reply
#4
How long is it? It may just be that it's long enough that it's sending too many events too quickly. If it doesn't happen when you move it slowly, then that is likely it. It might require some throttling of some sort.
Dean Roddey
Explorans limites defectum
Reply
#5
That's probably it. Initially I just did a brisk flick to the left on the volume bar to turn down the volume and then it froze. I've attached the template I'm using now...it's just a two widget template.

Also, now just reloading the page doesn't seem to always restablish the session, and the webserver has to be restarted on the master server. I included some console out from the browser as well with the error message:

Websocket.js:149 WebSocket connection to 'ws://192.168.0.254/Websock/CQSL/WebRIVA.html?user=Admin&pw=removed' failed: Error during WebSocket handshake: Unexpected response code: 500
connectToSrv @ Websocket.js:149
(anonymous) @ Websocket.js:70
Websocket.js:149 WebSocket connection to 'ws://192.168.0.254/Websock/CQSL/WebRIVA.html?user=Admin&pw=removed' failed: Error during WebSocket handshake: Unexpected response code: 500
connectToSrv @ Websocket.js:149
reconnHandler @ Websocket.js:234


Attached Files
.cqctmplpack   slider.CQCTmplPack (Size: 21.92 KB / Downloads: 0)
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Admin interface and CML IDE interface issue lleo 5 730 01-11-2019, 03:07 PM
Last Post: Dean Roddey
  WebRIVA password special character issue? batwater 10 1,614 09-30-2018, 02:07 PM
Last Post: batwater
  Android and WebRIVA - working? batwater 9 1,476 09-30-2018, 01:44 PM
Last Post: Dean Roddey
  WebRiva and vpscale=? kblagron 1 705 08-28-2018, 08:12 AM
Last Post: Dean Roddey
  A big issue with use the Elk M1 and CQC, cant use the IP dialer ghurty 1 746 08-05-2018, 08:56 AM
Last Post: Dean Roddey
  Is it possible to direct link with webriva? ghurty 1 772 07-24-2018, 05:04 PM
Last Post: Dean Roddey
  WebRiva on Android George M 20 2,957 07-22-2018, 09:07 AM
Last Post: Dean Roddey
  WebRiva, Android, scaling issue IVB 2 963 07-15-2018, 01:47 PM
Last Post: IVB
  HTML5 and Webriva and the Interface Veiwer ghurty 1 915 07-11-2018, 10:50 PM
Last Post: Dean Roddey
  How to tell WebRiva to rebuild itself ghurty 3 1,103 05-24-2018, 09:50 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)