3 comments
-
Bright Scripters How frequent do you need to check connectivity?
-
Monica Knutson I have an HTML weather widget that draws live data and would like to do a check if there is a network connection before updating the feed. If no connection, then skip the HTML5 feed and just show a placeholder image. I figure it could be a conditional somehow.
-
Brandon There's no plugin, but if you have a remote data feed that can set a Networked Variable, you can set the default value of the Networked Variable to something other than what the feed provides, Reset the variable, Update the feed, wait a few seconds, then check the value of the variable.
If the variable has changed to what the data feed sets it to, the player can access that remote data feed and presumably whatever other site you're using, though it's not a guarantee. If the variable is still at its default value, then the player cannot reach that remote site and may not have network/Internet access.
Set the Data Feed update interval to Once and put the Reset->Update->Wait on an Event Handler with a Timeout that has the Conditional Targets to handle the updated (has connectivity, transition back to Event Handler for next check) and not-updated (do something else) cases.
_________________________________________________________________________
Friendly reminder, the community forum is intended for user-to-user discussion. It is not regularly monitored. For troubleshooting problems and to ensure a timely answer from a BrightSign representative, please submit a support ticket.