Cicode Programming Reference > Cicode Function Categories > Tag Functions Introduction > SubscriptionGetInfo

SubscriptionGetInfo

Reads the specified text information about a subscribed tag.

Syntax

SubscriptionGetInfo(iHandle, sAttribute )

iHandle

Integer handle of the subscription to read from.

sAttribute

Attribute of the tag to read. Supported Attributes are:

Return Value

String representation of the requested information for a subscribed tag. On error, returns an empty string and an error is set.

Related Functions

SubscriptionGetTimestamp, SubscriptionGetQuality, SubscriptionGetValue, SubscriptionGetTag

Example

STRING TagName = SubscriptionGetInfo(hSub, "TagName");

See Also

Tag Functions