Regardless of which I/O window you use, as soon as your program terminates, the window disappears, which might make it hard to see the output. However, you can use the "copy standard I/O window to debug output window" option to echo output in the CVI workspace, which survives after the program terminates. You can also use DebugPrintf instead of printf which will send the output to the Debug Output window.