05-29-2014 03:05 AM
I want to debug and improve the application, then I want to generate a cvip file and later open with LabWindows CVI Execution Profile Viewer.
I have Labwindows CVI 10.0 FDS
I have configured :
Options - Build Options
must I configure something else?
Thanks,
Jose Antonio Prieto
05-29-2014 04:09 AM
Looks good 😉
If you want to improve your code you might also have a closer look at the compiler warnings, i.e., why not set the four 'Compiler Warnings' check marks and change the 'Uninitialized local variable detection' to aggressive?
05-29-2014 04:33 AM
Hello Wolfgang, good morning. Thanks for your quick replay, yes I'm going to do that you say.
Many Thanks,
Jose Antonio Prieto
05-29-2014 08:10 AM
You must also call CVIProfSetCurrentThreadProfiling(1) in your program to begin profiling. If your program has multiple threads, then you must call this function at the begining of each thread function. If your program only has a single-thread, then just call it at the begining of the main function.
05-30-2014 04:42 AM
Hello Mohan, thanks for your replay. Yes I call CVIProfSetCurrentThreadProfiling (1) for profiling and CVIProfSetCurrentThreadProfiling (0) for end Profiling.
Many Thanks