07-10-2015 08:55 AM
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
07-10-2015 09:49 AM
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,
07-13-2015 04:02 AM
I would like to know if you have any suggestion?
Thank you.
07-13-2015 04:20 AM
Hi hapiest,
I think you need to give people more time for answering
For me, I have no suggestion, I am running CVI2013 SP2 and the execution profiler is working, no crashes so far.
07-13-2015 05:43 AM
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)
07-13-2015 06:01 AM
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 ().
07-15-2015 04:30 AM
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
07-16-2015 03:07 AM
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.
07-16-2015 03:32 AM
This was an easy task yes, I have the same files.
07-20-2015 11:11 AM
Hello Hapiest,
Did you follow the steps as it is explained above?
http://www.ni.com/white-paper/10311/fr/
Best regards?