The code you posted opens a file as a reference for read/write inside the LabVIEW program, not with notepad. To open it in notepad, you have to issue an exec
, with System Exec.vi that launches notepad.exe
, and give the file as an argument:
Also instead of looping on listening to the stop button, use an event loop, it's better when you'll write more complex code.