AVOLITES TITAN API

AddDmxTrigger

Adds a DMX trigger.

Namespace: Triggers

Syntax

MACRO

Void Triggers.AddDmxTrigger(Int32 mappingId, TriggerTargetData targetData, Int32 panelIndex, Int32 portIndex, Int32 address, Int32 threshold, Boolean useLevelMatching)

HTTP

http://[ip]:4430/titan/script/2/Triggers/AddDmxTrigger?mappingId={titanId}&targetData={}&panelIndex={titanId}&portIndex={titanId}&address={titanId}&threshold={titanId}&useLevelMatching={bool}

Parameters

mappingId ( Int32 ) : The mapping id.

targetData ( TriggerTargetData ) : The target data.

panelIndex ( Int32 ) : Index of the panel.

portIndex ( Int32 ) : Index of the port.

address ( Int32 ) : The address.

threshold ( Int32 ) : The threshold.

useLevelMatching ( Boolean ) : if set to true [use level matching].

useLevelMatching

HTTP Example:
http://localhost:4430/titan/script/2/Triggers/AddDmxTrigger?mappingId={titanId}&targetData={}&panelIndex={titanId}&portIndex={titanId}&address={titanId}&threshold={titanId}&useLevelMatching=true