Concept and Common Model

Cinegy Type allows you to use not only static data and texts in your CG templates, but enables you to control such data dynamically, when a Cinegy Type template is already activated and being sent on air.

To enable this feature, on the template preparation stage link the parameter or data you want to be able to change dynamically, to the ‘Variable’ in the Cinegy Type editor application:


The "Export" option should also be selected; otherwise you will not be able to change the data from outside. Also note the variable name – you will need this information, when you start sending the dynamic data to the Type engine:


When the Cinegy Type template is created with variables, it may be started in a usual way, by using the secondary event in the Cinegy Air Control application. Then any 'Variable' marked as 'Export' can be dynamically updated via a simple web-request (which may be initiated from any 3rd party application written on C#, Visual Basic, or even web-based like Silverlight). A new value (text, color, etc.) will be then applied to the template objects, which are linked to this variable.

Technical Details

As described above, the so-called 'HTTP request' should be sent to Cinegy Air Engine in order to alter the variable (or variable list) in the Cinegy Type template.

The following diagram shows the common process graphically:


The 3rd party application then sends the HTTP 'POST' request to Cinegy Air Engine, where the Cinegy Type template is activated, sending the XML text as 'body'. This XML contains the Name–Value pairs for the variables that need to be updated.

The HTTP request is sent to the following URL:



<machine-name> – name or IP address of the Cinegy Air server;

<port> - port number that defines the Cinegy Air Engine instance number (as more than one service can be started on the same Cinegy Air server) and is calculated according to the following table:

Service Instance Number








The XML format is like following:

<?xml version="1.0" encoding="utf-8"?>
  <SetValue Name="TextVar" Type="text" Value="My New Text"/>

The example above will set the text 'My New Text' to the variable 'TextVar'. Multiple Variables can be updated in the single HTTP request (more <SetValue> tags should be added into the XML in this case).

CG Variables

URL is http://NAME:PORT/postbox

Method is POST.

Request XML is:

  <SetValue Name="Name1" Type="text|file|float|int|bool|color|trigger" Value="Val1"/>
  <SetValue Name="Name2" Type="text|file|float|int|bool|color|trigger" Value="Val2"/>
  <SetValue Name="Name3" Type="text|file|float|int|bool|color|trigger" Value="Val3"/>

Response XML is:

<PostReply Success="1|0" Status="OK|Error">
  <SetValue Name="Name1" Success="1|0" Status="OK|Syntax error"/>
  <SetValue Name="Name2" Success="1|0" Status="OK|Syntax error"/>
  <SetValue Name="Name3" Success="1|0" Status="OK|Syntax error"/>

CG Web Call

URL is http://NAME:PORT/webcallcg

Method is POST.

XML transparently goes to the CG engine and result XML also transparently returns as the result.