From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exploiting Win32 OutputDebugString() using LabVIEW

Solved!
Go to solution

Is it possible to implement debugging facility using Win32 OutputDebugString() API's in LabVIEW?

0 Kudos
Message 1 of 5
(2,626 Views)

I don't really see how, as there is no debugger, per se, in LabVIEW in the sense that that function expects.

0 Kudos
Message 2 of 5
(2,615 Views)

What I meant is, the LabVIEW application should keep posting messages using the OutputDebugString() API so that some debugger program like Dbwin32 can capture the messages and display it. If that can be implemented, it will serve as a mechanism to observe what the LabVIEW application is doing now and also it will behave like a probe so that we can utilize it as a debugging tool.

0 Kudos
Message 3 of 5
(2,608 Views)

Well, I suppose you can try calling it using the Call Library Function Node. The prototype for it is pretty simple - it just has a single string input.

0 Kudos
Message 4 of 5
(2,604 Views)
Solution
Accepted by Flamboyant

OutputDebugString.png

 

 

George Zou
0 Kudos
Message 5 of 5
(2,601 Views)