LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

generate a cvip file

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 

Build Options.JPG

 

must I configure something else?

 

Thanks,

 

Jose Antonio Prieto

 

 

0 Kudos
Message 1 of 5
(4,315 Views)

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?

0 Kudos
Message 2 of 5
(4,306 Views)

Hello Wolfgang, good morning. Thanks for your quick replay, yes I'm going to do that you say.

 

Many Thanks,

 

Jose Antonio Prieto

0 Kudos
Message 3 of 5
(4,301 Views)

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.

0 Kudos
Message 4 of 5
(4,284 Views)

Hello Mohan, thanks for your replay. Yes I call CVIProfSetCurrentThreadProfiling (1) for profiling and CVIProfSetCurrentThreadProfiling (0) for end Profiling.

 

Many Thanks

0 Kudos
Message 5 of 5
(4,263 Views)