Mark Zacharoni Hamilton Posted May 16, 2013 Report Share Posted May 16, 2013 I have a program that constantly has a text file open and will write to the text file every 2 seconds or so, maybe longer.I need my labview program to constantly get updates from this file maybe every 400mS, I only want to get the last 2 lines of the file, I am working on some code that semi-works. The problem is sometimes the code will not detect any new data in the file. Also, I am wondering if the other program has the text file open all the time, can Labview open the text-file and read it? As long as I am not writing to the textfile from labview?Not sure how labview ownership of the file works. The updated information wrote in the file is "Keyboard got triggered key was: ##"## is some number, and the line ends with a LF character ConstantDataFIle.vi Quote Link to comment
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.