LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Execution Profiler does not work in CVI/Labwindows 2013

Dear All,

I use Labwindows CVI on w8.1, and I would like to use profiling for debugging, but It seems to me that the execution profiler does not work.

 

I can open the profiler viewer in « Tool>>Execution profiler viewer », and run it but nothing happens in the viewer (no statistics are shown).

I enabled the profiling in «options>>debug option>> profing=user fonction and profiling »

 

I have insered also in my code

CVIProfSetCurrentThreadProfiling(1) to enabel it, but it is not working.

 

I see that my appliction is slowed a lot when the profiler is enbled but no information are shown in the profiler, and there is no generation of «.cvip» file. I have set the cvip out file in the viewer to a certain folder, but nothing is generated in the that folder.

 

 

I would like to know if someone has used this profiler ? and how can do to make it working ?

 

Thank you for your answer,

Best regards,

--

Hapiest

0 Kudos
Message 1 of 12
(5,815 Views)

When I use a simple program(interface with a button call back), and when I enable profiling in «options>>debug option>> profing=user fonction and profiling », I got unrecoverable internal error, as shown in the attached image.

 

When the profling is disabled, I hvae not this internal error.

 

Do you have please any suggestion for this issue?

Best regards,

 

0 Kudos
Message 2 of 12
(5,803 Views)

I would like to know if you have any suggestion?

Thank you.

0 Kudos
Message 3 of 12
(5,742 Views)

Hi hapiest,

 

I think you need to give people more time for answering Smiley Wink

 

For me, I have no suggestion, I am running CVI2013 SP2 and the execution profiler is working, no crashes so far.

0 Kudos
Message 4 of 12
(5,738 Views)

To make it working, did you intsall additional soft? (is the profiler installed in the CVI LAbwindows SP2)

could you please tell me how did you configure the output file(cvip)?

Did you call the two functions to make it working:

CVIProfSetCurrentThreadProfiling(1)

 

and

CVIProfSetCurrentThreadProfiling(0)

0 Kudos
Message 5 of 12
(5,712 Views)

No additional software is necessary, but Execution Profiler is not installed automatically. First you should install CVI, and then once it is working (i.e., after a possible reboot), EP.

 

Yes, to use EP I added CVIProfSetCurrentThreadProfiling(1) as the first line of my code in main ().

0 Kudos
Message 6 of 12
(5,700 Views)

Dear,

Ok, but I still have the same problem.

Could you please tell me what is wrong, and why the Executon Profiling is not working?

Best regards,

--

Hapiest

0 Kudos
Message 7 of 12
(5,649 Views)

Could you tell me if you have the same files as me in the following Execution Profile folder C:\Program Files (x86)\National Instruments\Shared\CVI\Profiler

 

Attached the image of the list of files.

 

I would like to know if there is some files that are absent in my Execution Profile folder.

 

0 Kudos
Message 8 of 12
(5,620 Views)

This was an easy task Smiley Happy yes, I have the same files.

0 Kudos
Message 9 of 12
(5,610 Views)

Hello Hapiest,

 

Did you follow the steps as it is explained above?

http://www.ni.com/white-paper/10311/fr/

 

Best regards?

 

Jovan N. - Application Engineering
0 Kudos
Message 10 of 12
(5,555 Views)