Data Source Manager

The Data Source Manager allows users connect to different data providers through the selected plug-ins.

This engine allows connecting different properties of a X-Pert Graphics object to different data sources or providers, like RSS channels, *.html files, *.xml files or third party data bases. Besides, the same data source(s) can be related to different objects in X-Pert Graphics.

The dialog below opens after pressing the Data Source Manager  Button in the main X-Pert Graphics interface.

The left part of this dialog contains a list of all objects in the current project and already assigned to them data source instances.

To add a new data source instance, press the Add  button.

The list of currently available data provider plug-ins will open. In it, you can choose the data source to be used as a new instance. Select its line and press Config. The configuration dialogs vary according to the selected plug-in.

You can read more detailed description of each plug-in definition further in that manual.

When you configure the plug-in, and press OK button, into the main screen a new data provider appears in the list.

Select the needed data provider and drag and drop it over the X-Pert Graphics object in the left.

Then a DataDistributor Properties window will open. Here you have to define the way of data source appearing.

Into the header line of the Property window is visible the name of the selected data provider.

Into Update area you have to specify how often to update the source information. Select Automatically, to update the data automatically on source change. Automatically option is available only for EAS data provider and File link data provider.

Select Every xx sec, to update the data periodically at every xx sec. By default, the update is at every 60 seconds.

The term “cursor” further in that section, is used to define the cursor position into the data source.

Into Cursor scroll area, you can specify how to move the cursor to the next row, if the data source has many rows: Manually, or at Every xx seconds. If you select Manually, you can start the data provider manually from main data provider menu

NOTE: The cursor continue cycling, even the connected object is not played on air. This means that when you start again the object, it will show data from current cursor position.

TIP (!) If you want at every object start to show the first line from the data source, leave Cursor scroll to be Manual and check Start cursor scroll on any Object Play.

In Cursor control area, there are the following settings:

Scroll by X rows, where X is a number of rows to scroll the cursor. If X =1, the cursor will scroll each row. If X =2, the cursor will scroll each second row (i.e. the cursor will skip one row), etc.

Reset cursor on dataset change – check this, if you want to move the cursor to the initial position, when the data in Master column of data provider is changed.

Reset cursor on field change- check this, if you want to move the cursor to the initial position, if any field into data provider changes.

Start cursor scroll on any Object Play – check this, to start the cursor scrolling from the first position in data source, any time, when the object is started.

In Objects control area there are the next settings:

Stop Objects on bottom cursor – check it, if you want to stop the object(s) connected to the data provider, when the cursor is at the end of the data in data source.

Stop/Next Slide on bottom cursor - check it, if you want to stop the object and go to the next Slide, when the cursor is at the end of the data in data source.

Stop Objects on any Object stop – check this, to stop all objects connected to the same data provider, if any of these objects is stopped. It is useful, when the project is control remotely.

Start Objects on any Object play  check this, to start all objects connected to the same data provider, if any of them is started.

Start Objects on automatic update - check this, to start all objects connected to the same data provider, on automatic update of the data source. It is relevant, if Automatic update is checked. Automatically is available only for EAS data provider and File link data provider

Press OK button to save Source Link settings.

After that, an Object Link Properties window will appear. Here you have to define how to link the data from the data source to the X-Pert Graphics object.

In the header of the window, you can see the name of the X-Pert Graphics object to which data provider is assigned and the name of the data provider.

Next is a Links area, where are three main columns:

Link Name – this is the type of the selected object (Text, Sound, etc.).

Field – here you can see the list of all available fields from the data-source. Select from drop-down list one of them, which you want to show into the X-Pert Graphics object.

NOTE: You can assign a data-source field to a X-Pert Graphics object, only if they are from the same type – text, sound, etc.

Master column – you can select one of the data provider’s columns to be a Master column. Enter YES in Master column field, if the selected field is from this master column. Set a column to be a Master, if you want to reset the cursor for all columns, on data change in this particular column,

In Data control area you can set a Cursor offset – this is the offset upon the cursor for displaying the data into this particular X-Pert Graphics object.

Let us show the data from data source in a table 3x3 (3 rows and 3 column) in X-Pert Graphics. You have to draw 9 objects in X-Pert Graphics project, each connected to a separate field from data provider. Into Data Source Link Properties->Cursor control->Scroll by, enter 3(scroll should be equal to the numbers of table rows). Into Object Link Properties ->Cursor offset, cursor offset should be 0 for the first row; 1 for the second row and 2 for the third row.
If you want to use in/out effects, you have to check the relative check-box.
Press the OK button to save the settings.