This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Javascript to check lost communications
#1
Is there a way to check in the Custom Javascript if there is communicaiton with the LM?

Smetimes the clients loose comms and the touch screen seems to work, but all actions are not sent to the LM.

Thanks in advance,

Leonardo
Reply
#2
There are two events that you can use:
Code:
$(localbus).on('connect', function() {
  console.log('connected');  
});

$(localbus).on('disconnect', function() {
  console.log('disconnected');  
});
Reply


Forum Jump: