exciterSubId — determines the element that raised the event and returns its SUB-ID.

Description:

u8 exciterSubId ();

Returns SUB-ID of the element raised the event.

Return values:

Returns SUB-ID of the element raised the event: Type of return value u8.

Example:

<item addr="524:248" name="Test for exciterSubId function" type="script">
V-ID/V-ADDR 
{
	if(opt0())
	{
		u16 exciter_sub_id = exciterSubId();
		u8 strForMess[70]; 
		sprintf(strForMess, "%cSub-Id of the element raised the event:: %d", 1, exciter_sub_id);
		setStatus(@exciterId():32, &strForMess);
		setStatus(V-ADDR, 0);
	}
}

</item>

The result of performing the example in the interface:

“Sub-Id of the element raised the event: 0”