Data Streams
If variables are available for recording they will be shown automatically as a so called Stream. At the moment it is possible to record data directly from the EtherCAT process image or from the PLC application.
![Data Streams 1:](Images/png/9007203835593611__Web.png)
PLC Application:
If variables from PLC should recorded by the Analytics Logger, the user must set an attribute in front of each variable in the variable declaration.
The attribute syntax is: {attribute 'TcAnalytics'}
![Data Streams 2:](Images/png/9007203835595275__Web.png)
As already described a new stream is automatically add to the Analytics Logger configuration after rebuild of the PLC project. In the stream a Selection tab is available to choose finally the variables by checkboxes who should be recorded.
![Data Streams 3:](Images/png/9007203835596939__Web.png)
Process Image:
If an EtherCAT process image is available in the given configuration, an additional stream will be shown under the Data Logger tree node.
![Data Streams 4:](Images/png/9007203835602059__Web.png)
On the Selection tab the user can choose again the values who should be recorded by the Analytics Logger.
![Data Streams 5:](Images/png/9007203835604491__Web.png)
Start Record
With the activation of the TwinCAT configuration the Analytics Logger starts logging. Depending on the basic settings to a MQTT Message Broker or into a local binary file. By the given format there are different settings possibilities on the Data Handling tab of each Stream. See therefore the following chapter.