04-13-2012 01:57 AM
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..
04-13-2012 03:11 AM
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.
04-13-2012 04:09 AM
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
04-13-2012 05:05 AM - edited 04-13-2012 05:06 AM
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.