I am working with multiple CSV files (mostly positional data) importing into the controller. The application will allow someone to generate a CSV from Excel, import into the Robot and then also allow these positions to be touched up on the actual Robot and update the CSV file with the new data.
It is all working but I am facing some issues surrounding the formatting of the CSV's and how the actual controller interprets them.
The CSV when loaded from my PC is Windows format but when the controller resaves it is UNIX.
The issue is the line breaks are interpreted differently depending on the file encoding.
Does anyone know any way of identifying the encoding or even better saving as windows ( I doubt this is possible)
Just wondering if anyone has ever tried doing anything similar or come across this.
The worst part of this issue is if I work on a virtual controller the application works fine (because it remains in windows format).
Otherwise I am going to have to identify the differences between the line breaks or add a step to the process of converting which is not ideal.