Project

General

Profile

Interaction between modules

Address configuration

The modules can work both as part of one program or separately, interacting via a network.
To configure module interaction via network module addresses need to be specified. Respective module addresses can be configured in each plugin that has user interface, by choosing Module addresses from the main menu:

Addresses of modules that have no window interface can be configured inside the vid file.

Event system configuration

To receive events from X-PLAYER that is installed on a remote computer, add djin.xml file with respective settings to SYSTEM directory.
For instance, client settings (djin.xml must be stored where X-PLAYER is):

<EVENT_SERVER HOST="HOST1">
  <CLIENTS>
    <TCP ADDR="CLT1" TYPE="CLIENT" IP="0.0.0.0" PORT="7600" />
  </CLIENTS>
</EVENT_SERVER>

Server settings (djin.xml must be stored where Camera Control System module is):

<EVENT_SERVER HOST="LOCAL_HOST">
  <CLIENTS>
    <TCP ADDR="LOCAL_HOST" TYPE="CLIENT" IP="192.168.0.145" PORT="7600" />
  </CLIENTS>
</EVENT_SERVER>

Thus, to receive events from X-PLAYER, you must specify the /HOST1.OBJID_PLAY_X1 value for NotifyPlayer field, where OBJID_PLAY_X1 is X-PLAYER’s identificator.

Add picture from clipboard (Maximum size: 742 MB)