AVOLITES TITAN API

SetLedFlash

Sets the flash state of an LED.

Namespace: Panel

Syntax

MACRO

Void Panel.SetLedFlash(String itemClass, Int32 index, Boolean on)

HTTP

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

Parameters

itemClass ( String ) : The class that the led is in. Supports a list a list of items seperated by a semi colon.

index ( Int32 ) : The index of the led within the class.

on ( Boolean ) : True = turn on flash, Falsse = turn off flash.

on

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