Example Code

LabWindows/CVI Tip: Viewing Output After Program Termination

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.

Adri Kruger
National Instruments
LabVIEW Product Marketing

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors