Hi aneps,
when your software is recording the data why can't it display your information directly? Why to go the redirection by reading the data file?
Yes, you could read the datafile and parse the injection number. But:
- the datafile may be set to exclusive access from the writing routine. Then you will have a hard time to read it while it is written to.
- You need to parse data from the end of the file. Either you need to read the whole file again and again or you need to remember the last read position…
Best regards,
GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019