NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging Labview Simple OI - breakpoints

I'm trying to understand how the callbacks work for the Labview Simple OI. I am looking at a sample the posts UI messages from a TesStand sequence and I would like to put breakpoints in the OI so that I can see (and probe) the messages when they arrive in the callback VIs. Is this possible?  When I put in the breakpoints the code never breaks there, but I know the code hits that point because the UI messages are working correctly. I would just like to debug it at that point.
 
Breakpoints do work in the Top Level via (event loop). Just not in the callbacks. It seems like they are ignored.  
0 Kudos
Message 1 of 3
(3,108 Views)
I am not sure about breakpoints in callbacks but I thought you could make use of this nugget by Darren that has help me out in situation like these.  It is a custom probe type that stores the history of the data to come accross the probe.  Maybe it will help.
0 Kudos
Message 2 of 3
(3,094 Views)
Hi jsmalley,

It is not possible to use breakpoints in the callback VIs. The best approach would be to use modal message popups in the callbacks to the display the data you are concerned with.

Have a great day,

Ecleamus R.
National Instruments
Applications Engineer
0 Kudos
Message 3 of 3
(3,084 Views)