10-17-2017 05:33 AM
Hi,
I'm trying to import the latest version of a file from a folder (outside PlantSim). For instance, the folder contains:
- File_20171017_v1
- File_20171017_v2
- File_20171016_v1
I use a variable where I enter the date in which I'm interested, e.g, 20171017. Now I require a way to get the file names which match File_<date>_...
If I have this list of potential latest versions, I then would need to look at the last value (the version number) and select the highest.
Anyone thoughts on how to do this in PlantSim?
Regards,
Paul
Solved! Go to Solution.
10-17-2017 06:47 AM - edited 10-17-2017 06:47 AM
have a look
10-17-2017 08:35 AM
Hi simulator, I had to make some minor adjustments for PlantSim 10, but your solution works perfectly. Thanks a lot!
Regards,
Paul