10-01-2025 10:20 AM
Hello, I need to add multiple comment to text file each time the user is clicking on add comment. using the simple code, it writes only one sentence and every click on add comment results in rewrite the new comment and delete the old one.
10-01-2025 10:37 AM - edited 10-01-2025 10:39 AM
open the file before the loop and keep it open.
(You are constantly re-open the file, and to append with your code you would need to move the file position to the end first before writing the new data)
NOTE: attaching pictures often does not tell the full story. Please attach your VI instead. Make sure to save fore previous, e.g. 2019)