08-03-2020 03:08 PM
"Read and Write from text file" functions indicates that these functions do not work in a LLB.
That's exactly what I want to do that however?
First .. Is not working from a LLB true about the simple "Write to a text file" and "Read from a text file" functions?
Second- is there any way around this?
(I see the other functions within File I/O group- however they seem a little complicated at this point for me?)
Is there a simple Read and Write to text file that is compatible with LLB?
I'm using full development 2018
08-03-2020 03:13 PM
Hi chrlum,
@chrlum47 wrote:First .. Is not working from a LLB true about the simple "Write to a text file" and "Read from a text file" functions?
Second- is there any way around this?
1. Yes, it's true. You cannot access (or create) text files inside LLB files using these functions.
2. No. Why do you need it anyway?
General comment: Using LLBs is not recommend - since several a lot of years…
08-03-2020 03:27 PM
well,
I want to record data into a text file as my program progresses through its measurement cycle.
And I really want a very simple treatment of this so what would I use?
08-03-2020 03:30 PM
Hi chrlum,
@chrlum47 wrote:
I want to record data into a text file as my program progresses through its measurement cycle.
And I really want a very simple treatment of this so what would I use?
Then just use Read/WriteTextFile.
Why do you even care about "LLB files"?
08-03-2020 03:35 PM
oh pull my main VI out of the LLB and then use the rewrite file functions?
08-03-2020 03:50 PM
Hi chrlum,
@chrlum47 wrote:
oh pull my main VI out of the LLB and then use the rewrite file functions?
Now I guess I understand your concerns…
The WriteToTextfile function can be called from a VI saved inside a LLB file, but the text file created needs to be located in an "ordinary" folder (not inside a LLB file)!
08-03-2020 03:53 PM
okay thanks I'll give it a try I'll let you know how it turns out