Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 3 out of 5     Rate this Document

How Do I Display Standard Output in Debug Output Window in CVI?

Primary Software: LabWindows/CVI Development Systems>>Base Package
Primary Software Version: 7.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: When my programs terminates, the standard I/O window, which has the standard output my program produced using printf, is destroyed. How do I get access to this information after my program exits?

Solution: You can redirect the program's standard I/O to the Debug Output window in CVI by selecting the Options -> Environment... menu and checking the Copy Standard I/O to Debug Output Window option. This way your printf output will be echoed to Debug Output window, which will stay open even after the program stops running.

Related Links: KnowledgeBase [2148BH5I]: How Do I Keep the DOS Display Window for CVI Open?

Attachments:





Report Date: 01/16/2005
Last Updated: 01/20/2005
Document ID: 3HFAOKKF

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit