John Lokanis Posted November 6, 2008 Report Share Posted November 6, 2008 Does anyone know how to use the VI profiler to collect data on VIs that are dynamically called and are reentrant? When I run it now, the data for a given VI disappears/resets everytime it leaves memeory. I want to sum up all the calls to each instance of a VI and see where the slow code is. thanks, -John Quote Link to comment
Mark Smith Posted November 6, 2008 Report Share Posted November 6, 2008 John, This might be something that's useful (the third item on the page) http://forums.ni.com/ni/board/message?boar...=277358#M270293 I found this the other day when I was wondering about how to profile reentrant VI's. I haven't used it yet but it looks like you could have each reentrant instance attach their names to a message on entrance and exit and find out how much time is consumed (with the added complication of guessing how much overhead this call adds). Mark Quote Link to comment
Aristos Queue Posted November 7, 2008 Report Share Posted November 7, 2008 Could you, for the purposes of profiling, go ahead and load all the VIs into memory (by opening their front panels) and then run? That way they stay in memory throughout the run. True, you would lose the timing info of how long it takes to load/unload those VIs, but if what you're after is algorithm overhead, that might suffice. Quote Link to comment
John Lokanis Posted November 7, 2008 Author Report Share Posted November 7, 2008 QUOTE (Aristos Queue @ Nov 6 2008, 12:33 PM) Could you, for the purposes of profiling, go ahead and load all the VIs into memory (by opening their front panels) and then run? That way they stay in memory throughout the run. True, you would lose the timing info of how long it takes to load/unload those VIs, but if what you're after is algorithm overhead, that might suffice. I will give that a try. Thanks for the idea. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.