LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI Real-Time Trace Toolkit 2.0 Issue

I just recently purchased teh CVI Real-Time Eecution Trace Tool 2.0 software.  I have run the utility and have a problem.  The Function Events display only shows the TraceStart and and TraceStopAndSend functions.  Is there something special that needs to be setup in order to display the function information?  I am using the following to configure the tace utility:
 
TraceConfigure (1, 1, 0, 2500000, NULL);
 
Any advice?
 
 
0 Kudos
Message 1 of 9
(4,629 Views)
Did you enable tracing? (Target settings / Real-time function tracing )

Regards,
Nicolas
0 Kudos
Message 2 of 9
(4,621 Views)
I believe so.  I am capturing traces.  The thread view is working fine.  I just don't see any function trace information besides the two functions I mentined above.
0 Kudos
Message 3 of 9
(4,618 Views)
Are you sure you should have recorded events?
Have you tried TraceUserEvent?

Regards,
Nicolas
0 Kudos
Message 4 of 9
(4,613 Views)

I am using the TraceUserEvent function.  The events are "flagged" in the thread traces.  I just don't see and function traces.

 

0 Kudos
Message 5 of 9
(4,610 Views)
Did you enable "user-defined functions and library functions" for real time function tracing in target settings ?
Are you using an external compiler ?
Are you calling InitCVIRTE before calling TraceXxx functions?

Regards,
Nicolas
0 Kudos
Message 6 of 9
(4,579 Views)

I am using CVI 8.5 to compile the code.

I call InitCVIRTE() as the first order of business in RTmain().

I do not understand how to enable "user-defined functions and library functions" for real time function tracing in target settings.  As I stated in my orgainal post, I am calling TraceConfigure() to setup the trace settings.

 

0 Kudos
Message 7 of 9
(4,567 Views)
Build / Target Settings => there is the real time function tracing control (above 'embed project uir')

Regards,
Nicolas
Message 8 of 9
(4,563 Views)

That's it!  I completely missed that setting.  I will go give it a try. 

Thanks!

 

0 Kudos
Message 9 of 9
(4,560 Views)