Data connections

From DISE KnowledgeBase

Jump to: navigation, search

Contents

Overview

Data connections allow you to connect the contents (or some of the contents) of a text file to the Text, Table or Ticker objects. The connected data could be news from an RSS news source, data from a database, text generated by a web page, text from a custom text editor located in the reception of an hotel or indeed any text output from any other application.

Settings

Info.png Main article: Data Connection dialog

To reach the settings, in the text object settings, click the Connect data button in the top right. In the Ticker Object, go to the data tab and click Connect data. The same button is found in the data tab in the Table Object.

Dise Tools

The data connectable objects will accept files on disk and text data from HTTP URLs, but to get text from an RSS feed, a database or some other custom source then you will need some a prior conversion to text data. There are specialized Dise tools that take care of the underlying, dynamic, processing.

Generic scriptable data parsing software used for SOAP, RSS, databases, serial communication, and other custom solutions needed to make advanced data connections. Examples of sources retrieved using Dise Parser:
Downloads RSS feeds (and some other formats) and creates a text-file containing ticker formatted data.
Supports most databases and can run your custom SQL queries to fetch text data that is formated and sent to a text-file.
A custom text editor, where you can setup several input fields and several pages that will be written to the text-files that you specify.
Can produce a text-file with a count down from one date/time to another. For counting down until the new year for example.

Distribution

There are several ways of making the text file available to the players:

  • The tool is on a central computer that then allows you to manually check and send out the text file using Dise Bridge.
  • The tool could distribute a text file directly to one or more of your destinations where Dise Probe will download the file to the player.
  • The tool could distribute the files all the way to a shared directory on the player where Dise Replay will read from it.
  • The tool could be located on the player itself and locally fetching and formatting the text file.
This allows for local modifications of the content, when for example fetching the data from a database.

Lightbulb.png Note: In all the solutions it is important that Dise Replay knows where to look for the text file in question. If the text file is not distributed with Dise Bridge/Dise Probe you must use the File exists locally on player (don't transmit) option in the Data Connection dialog. This makes sure that this file will not be added to the dependencies list of the Dise Movie and therefore will not be sent out to the player. Enabling this option also tells the system to assume that this file already exists (or will exist) somewhere on the player where Dise Replay can locate it.

Troubleshooting

  • When you have checked the option File exists locally on player (don't transmit), Dise Replay will look for the file in the specified location on the player. :For example if you have a message text that is data connected to "C:\Data\message.txt", on the player there needs to be a Data folder on the C drive and there must be a file named message.txt in it.

Info.png Read more: Locating files

  • If you have specified a UNC path (network address) to find the data connected file, the network drive needs to be accessible and the account needs authentication if that is required.
Generally this is solved by mapping a network drive to the wanted folder, specify login details (user and password) to access and have it automatically log in on startup.
For example, you have a message text that is data connected to "\\server\share\message.txt". server\\share needs authentication. You create a mapped network drive called S: to \\server\share by either using the "Map network drive" in Windows Explorer or open a command line window and type:

Example.png Create a mapped drive:

net use S: \\server\share /user:domain\username /savecred /persistent:yes password

Now instead, data connect to the file S:\message.txt.



All items on this website are copyright Klocktornet AB 2012, all rights reserved.
All trademarks are property of their respective owners.