LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Debug CVI Dll using LabView

I have created a DLL in CVI (6.0) and have a breakpoint in one of my functions. If I use VB6 or Visual Studio as the External Process then when I call the function I hit the breakpoint. I then take my DLL & FP to Labview and use the wizard to convert it to a Labview driver. If I use the vi in Labview that calls my function I don't hit my breakpoint. I know the vi is calling my dll because the instrument resets.

I did read in this knowledge base that this can't be done but Shelley Ericson asures me it does work, so how?
0 Kudos
Message 1 of 2
(2,819 Views)
You still have to start from CVI. Are you doing that? Go to CVI, load your DLL project. Then select the labview.exe as the external process. Run in debug mode which will launch LabVIEW. Then, open the VI that uses the DLL and run it. You should hit the break point. It worked fine for me here.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,819 Views)