# Subscriber

Subscriber is a tool block that refers to specific Publisher and generate the output pins which are the same with the referred Publisher’s input pins. Subscriber and its referred Publisher does not need to be in the same task.

Here is an example of how Subscriber works:

1. PublisherA publishes a result data in TaskA

2. Subscriber in TaskB refers to PulbisherA, such that it got the result data passed over as an output.

One Publisher can have multiple Subscribers or no Subscriber, Whereas Subscriber has to have one Publisher referred.

Publisher and Subscriber are convenient to share data among tasks as no tags need to be created to pass those data.