04-05-2011 09:57 AM - edited 04-05-2011 10:02 AM
I'm trying to run profiler on an application specifically designed to test a rather large re-entrant VI on an RT system. I am calling this VI in a for loop running 10,000 times. However, I don't seem able to do this so long as the VI is set to re-entrant execution, even though the application otherwise works as designed. I also can't use highlight execution (the button isn't even there). The profiler seems to log timing details at first, but then simply stops after a second or two... while the application proceeds. If I try to profile on a windows machine, it runs fine.
I can't really post the VI because it's proprietary. It is set to allow debugging. Is there anything else I should look for?
04-06-2011 05:43 PM
Hi kgolden,
I'm not sure about the differences between LVRT and LV as far as reentrant VIs are concerned. Are the rest of the debugging tools (probe and breakpoint) available to you?
04-07-2011 10:33 AM
They are for non-reentrant VIs. When I try to run this projhect on the RT system (in interpreted as opposed to a build), it locks up as soon as I call a re-entrant VI and ceases operation. When the application is built, everything runs fine.
The goal here is to track down bottlenecks where they exist and without profiler and the ability to run interpreted on the RT target, I can't use the profiling tool.
04-08-2011 03:43 PM
Hi kgolden,
After doing some research, I found that it is normal for the re-entrant vi to not allow debugging. To get debugging tools, you have to change it's behavior to non-reentrant. So when the vi is built as an executable, it behaves as expected, but when it is run from within labview it hangs?