Dise Complete Signals

From DISE KnowledgeBase

Jump to: navigation, search

Contents

Function

Dise Complete Signals will listen to UDP messages on the network, and when a message that match a certain template is received the Dise Complete database can be updated and then multicast Remote Control messages can be sent out.

File:Dise Complete Signals.png

Main Window

Usage

Settings

Signals tab

List of signals to monitor.

File:Dise Complete Settings.png

Signals tab

Communication tab

The port and interface to listen for UDP messages on. Settings that will be used to send multicast Remote Control messages on the network.

File:Dise Complete Settings Communication.png

Communication tab

Signal Settings

UDP data to listen for

Exact message that will trigger the action

Table in Dise Complete database to write to

The name of the table, or empty if nothing should be updated in the Dise Complete database.

Name in the Dise Complete database table

The name of the value that should be updated.

Value to write

The value to write in the Dise Complete database.

IDs of Dise Complete Inventory...

If the value should affect a certain application, then enter the inventory ID here, or empty to put to all.

Multicast data to send...

The multicast data that should be sent out from the application after the database have been updated, for example SettingsChanged.
If you leave this field empty no data will be sent.

Add event in Dise Complete database

If checked the signals application will write an event into the event log every time a signal is executed.

File:Dise Complete Signal Settings.png

Signal Settings dialog

Dise Complete table support

Dise Complete Signals requires a certain format of the table in the Dise Complete database to be able to write data.

There are two tables that already have the correct layout:

DynamicData

Supports writing a certain value to a certain name.

Settings

Supports writing a certain value to a certain name and can be connected to a specific Inventory ID.

If you want to create a custom table to write in, you can create that table like this:

Example.png Example:

CREATE TABLE `dynamicdata` (
             `IndexID` int(11) NOT NULL AUTO_INCREMENT,
             `Name` varchar(255) DEFAULT NULL,
             `Value` text,
             `TimeStamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
             PRIMARY KEY (`IndexID`)
           );




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