11-24-2020 03:16 AM
Hi all,
I'd like to know dynamicaly/programmaticaly which teststand file is in Ascii file format or in TestStand file format.
in fact, if ascii file I use winmerge to compare. If teststand file format, I use TS File Diff tool.
I see that all TestStand files start with "TSOF1" string. Is it a good way for that?
Thanks for your help
Solved! Go to Solution.
11-24-2020 01:24 PM
The API to get the format is Engine.GetFileInformation(path).FileWritingFormat.
If you don't want to use the API, you could check for "TOF1". That isn't guaranteed to never change, but I'm pretty sure there are no current plans to change it.
12-02-2020 06:18 AM
Hi,
Thanks for your response.
I use "TOF1" header checking and it's working well.