AVOLITES TITAN API

EncodeGPIOStimulus

Encodes a GPIO input from the panel input and returns a trigger stimulous.

Namespace: Triggers

Syntax

MACRO

GPIOChangeEvent Triggers.EncodeGPIOStimulus(String group, Int32 pin, Single value)

HTTP

http://[ip]:4430/titan/script/2/Triggers/EncodeGPIOStimulus?group={string}&pin={titanId}&value={float}

Parameters

group ( String ) : The panel group name.

pin ( Int32 ) : The panel item id or pin.

value ( Single ) : The level of the input.

Returns

A trigger stimulous event that can be used with triggers.