AVOLITES TITAN API

SetLed

Menu function to set the value of an Led with a Booolean.

Namespace: Panel

Syntax

MACRO

Void Panel.SetLed(String itemClass, Int32 index, Boolean value)

HTTP

http://[ip]:4430/titan/script/2/Panel/SetLed?itemClass={string}&index={titanId}&value={bool}

Parameters

itemClass ( String ) : The class the LED to be set is in.

index ( Int32 ) : The index of the LED in the class.

value ( Boolean ) : A boolean value of whether the LED is on or off.

value

HTTP Example:
http://localhost:4430/titan/script/2/Panel/SetLed?itemClass={string}&index={titanId}&value=true