# Enumerable

This Datastream specific fields INCOMING and OUTCOME allow to transform integer data to string.&#x20;

![](https://1839001309-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MBFTVMf7L6S67HOuqVC%2F-MS38eAwDU_ETe0HZkeW%2F-MS3M6Y7FX-xGOwEKXdE%2Fenum_DS.PNG?alt=media\&token=6cd11f4d-631f-4282-b763-f17628e1e363)

Example:\
Device has sets of three positions: Open, Vent, Closed. In means of servo they are: 130, 20 and 0 \
This Datastream allows you to link these values: 130=Open, 20=Vent, 0=Closed\
So each time servo reaches any of those positions you'll get a readable state result instead of degrees.\
\
Follow these steps to create value translation:

1. click **add row**
2. set integer value than can be sent by your Device in **INCOMING** field
3. in **OUTCOME** type string value that will be used/viewed instead of original integer value
4. you can assign a color to this conversion
5. click **add row** to set further conversion values

![](https://1839001309-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MBFTVMf7L6S67HOuqVC%2F-MSgpUoWbCEb73jYyGzt%2F-MSh4nL9gvnfPXwD_g5k%2Fenum.gif?alt=media\&token=eec6c6fe-8d57-42ab-9619-e80f34c8bf53)
