10-14-2011 03:32 AM
Hello,
I am reading a .txt file in a while loop. I read the .txt files in sections.
How do I detect othe end of the .txt file and exit out of the while loop?
Nevica
10-14-2011 04:05 AM
Take a look at this file/example. If you change it. Remember to save it in your project folder.
C:\Program Files\National Instruments\LabVIEW 2010\vi.lib\Utility\file.llb\Read File+ (string).vi
10-14-2011 04:09 AM
I'm sorry. Is this an example file. Could you please send me the .vi if you have it?
Thanks,
Nevica
10-14-2011 04:14 AM
Hi Coq Roque,
How do I unlock the .vi. At the moment I cannot move wires around open items on he block diagram. It seems to be locked!
Nevica
10-14-2011 04:20 AM
@nevica wrote:
I'm sorry. Is this an example file. Could you please send me the .vi if you have it?
Thanks,
Nevica
You will have it for sure. And it is best to use your local one. The folder may vary depending on which Labview version you use. But it will be in the
"......\Labview install folder\vi.lib\Utility\file.llb\ " folder. Just search for the file "file.llb" Do not just sit on your thumb, dare to be an explorer 😉
10-14-2011 04:25 AM
It's an NI locked file. Cannot get to it from example finder so its of no use.
Nevica
10-14-2011 04:26 AM
Not easy to know for Labview beginner. in the toolbar slelect operate->change to edit mode (Ctrl+m). You can also drop it in your block diagram as is.