PI UFL for reading CSV files : EOS() function not valid while loading the INI file?
Can you provide us with the contents of the INI file and how the EOS() function is used? At what step was an error thrown, and what is the exact error message? It will also be helpful to provide us with your UFL interface version.
FYI, I have moved this discussion over to All Things PI > PI Interfaces for continued discussion.
Our UFL interface version is 184.108.40.206.
I do not see that function in the user guide. Can you clarify?
I saw it in the document "PI Interface for Universal File and Stream Loading (PI UFL).pdf" on page 42 (chapter =Miscellaneous functions)
I am looking at the manual for version 3.3.12.x and I don't see that function nor that chapter either. Which version of the manual are you using?
I use the here attached file.
I concerns the 3.4.21 version but doesn' indicates the version since the EOS function is available.
Thanks Maxime. This might be a function that is recently added in 3.4.x version. Since you are still using 3.3.x, this function might be unavailable. How about upgrading your interface version?
Eugene Lee is correct! That was added in 3.4.
So, I stop trying to use it.
But how can we detect the end of file with an older version than 3.4?
I would need to know your use case. Typically, you would not be concerned about EOF.
The interface will process each line in the file and the interface will stop once it reaches the end of file. It will then move to the next file in the folder.
For example, I need to write the number number of lines that have not succesfully updated their tag as a post-treatment.
Retrieving data ...