From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
pblase

debug_printf

Status: New

Might it be possible to implement some utility so that the debug_printf function could print to a window (or even the debug-output window in LabWindows/CVI) from a program that is NOT running under the debugger? I'm workng on a program that does some near-real-time data acquisition, and running it with the debugger from within LabWindows/CVI slows it down too much, to the point where it can't respond to the DAQmx notifications and the program crashes. Since I have a multi-core machine, I can, however, run it as a separate process at the same time as LabWindows/CVI. 

1 Comment
RobertoBozzolo
Proven Zealot

Hi pblase,

as noted in this forum discussion, DebugPrintf messages can be seen in external debugger when running a CVI executable. I have tested with DebugView and I can see DebugPrintf messages in it while the app is running



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?