NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Flamboyant
Posts: 163
0 Kudos
Accepted Solution

Exploiting Win32 OutputDebugString() using LabVIEW

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

Module Lead
Certified LabVIEW Developer
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: 163
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.

Module Lead
Certified LabVIEW Developer
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,600
0 Kudos

Re: Exploiting Win32 OutputDebugString() using LabVIEW

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page