Skip to content

Commit f6ce0ad

Browse files
committed
Updated documentation
1 parent 9698542 commit f6ce0ad

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

docs/getting-started/operations.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,21 @@ Second example is the oposite, note that startX is greater than endX, so the x v
8080

8181
Supported registers: **HOLDING_REGISTER**, **INPUT_REGISTER**
8282

83-
*For **INPUT_REGISTER** type *FLOAT32* is not supported!*
83+
*For **INPUT_REGISTER** type *FLOAT32* is not supported!*
84+
85+
86+
## Csv
87+
Uses a CSV as data source based on the specified column.
88+
89+
```
90+
<csv symbol="TEMPERATURE_MOTOR3" file="test_data.csv" column="1" replay="true"/>
91+
<csv symbol="TEMPERATURE_MOTOR4" file="test_data.csv" column="2" step="2" startRow="2" endRow="5" replay="true"/>
92+
```
93+
94+
Both **symbol** , **file** , **column** are mandatory fields.
95+
96+
**column** must have the number of the column to be read, please notice that the values on the CSV must
97+
follow the same type of the specified **symbol** definition.
98+
**step** must be a positive value of type INT16 which is related to the row index
99+
100+
Each time this operation is executed it will get the next row of the column specified and set to the specified symbol.

0 commit comments

Comments
 (0)