Hi! I need to change type of parameters in a couple of csv files. I don't know if its possible or how...
Thanks!
Change Type
Change Type
- Attachments
-
- ej2.PNG (50.22 KiB) Viewed 10876 times
-
- ej1.PNG (48.41 KiB) Viewed 10876 times
Re: Change Type
Hello! The data type is detected automatically based on the CSV content after the header line (the first line) and can't be changed. In your case, it looks like the problem is that the second line in the CSV file contains units, and unfortunately this is taken as string data items, so the data type becomes string. You have two options:
- Remove the line with units in a text editor.
- Use formulas to convert to new variables of the desired type, e.g. ActiveSetpt_float = float(ActiveSetpt).
Re: Change Type
Thanks!
Now is working properly.
Now is working properly.
- Attachments
-
- 2021-03-15 12_14_50-Flow CSV Viewer 1.0.4 - MT3Mon20210311130000.csv.png (24.33 KiB) Viewed 10855 times