LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Checking breakpoints

Hi i am using LABWINDOWS/CVI 2010, i want to check for active breakpoints at runtime when cvi is configured in debug mode. any sugestions.. Thanks..

0 Kudos
Message 1 of 4
(2,965 Views)

If you want to see a list of the active breakpints, you can execute Run >> Breakpoints... menu item (or press Shift+F9): a panel will be shown with active breakpoints listed that you can operate on in various manner (edit, disable/activate, delete.....). See this help topic.



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?
Message 2 of 4
(2,963 Views)

First, Thanks for your reply.

Actually i want to find out active break points using programatically.

Is there any in built library function to check active breakpoints or any other suggestion

0 Kudos
Message 3 of 4
(2,953 Views)

Ok, this question is notably more complex!

Nevertheless, CVI application can actually be interfaced via ActiveX, so you can operato on the CVI IDE remotely. CVI comes with some sample programs that demonstrate this functionality and an instrument driver that exposes all these features for use in a CVI program. The sample programs are located in <CVISampleDir>\activex\cvi folder: I suggest you start looking at cvidemo example that demonstrate the main interoperability features. Next you can go and study the functions in cvisrvr.fp: CVI_AppGetAllBreakpoints () is probably the most general function that operates on breakpoints, but you can find several other functions to operate on individual breakpoints in a given source file.

 

I must admit that even if I have looked at these functions, I have never tried using them. That is: I can show you the path but cannot help you more than this.



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?
0 Kudos
Message 4 of 4
(2,947 Views)