NI Home > Community > NI Discussion Forums

LabVIEW

Reply
Member
Flamboyant
Posts: 169
0 Kudos
Accepted Solution

Exploiting Win32 OutputDebugString() using LabVIEW

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

Knight of NI
Posts: 18,064
0 Kudos

Re: Exploiting Win32 OutputDebugString() using LabVIEW

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

Member
Flamboyant
Posts: 169
0 Kudos

Re: Exploiting Win32 OutputDebugString() using LabVIEW

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.

Knight of NI
Posts: 18,064
0 Kudos

Re: Exploiting Win32 OutputDebugString() using LabVIEW

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.

Active Participant zou
Active Participant
zou
Posts: 1,979
0 Kudos

Re: Exploiting Win32 OutputDebugString() using LabVIEW