LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save to Text File with Save Button possible?

Solved!
Go to solution

I didn't mean for each event to write to the file. I wanted the Create event to create an original fresh file. The Open event to open a file that's already been created. And the Save event to save changes that have been made to an already created file. Right now, I only seem to be able to Create a new file. That's all.

0 Kudos
Message 11 of 13
(868 Views)
Solution
Accepted by topic author ShogunOrta

Hi Orta,

 

I wanted the Create event to create an original fresh file. The Open event to open a file that's already been created. And the Save event to save changes that have been made to an already created file.

Then why did you write that string to the file in all three events?

 

What have you tried in the mean time?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 13
(865 Views)

Thanks GerdW. I see what my problem was. I kept using the write to function for all events. I saw there is a read to file function and others now. I don't know. I was watching some video and it took me down the wrong turn. But actually it's all working now! I used the proper functions along with the Event structure and it was much easier than I thought. Thanks everyone.

0 Kudos
Message 13 of 13
(858 Views)