11-17-2012 10:30 AM
Does anybody know how to trace execution of the ETT for a provider.
Specifically I am looking at the SCC instance.
My own Mercurail implementation is causing 'Exception: Access violation (0xC0000005) at EIP=0x00000200''
I'd like to track this with the Execution Trace toolkit. However the app-instance for this (mxLV??) is not available for the ETT.
11-19-2012 11:26 AM
Good question Ton. I do not know if this is possible or not, but I will follow up with R&D and let you know what I find out.
David
11-26-2012 09:45 AM
Sorry for the delay, the holiday weekend made it difficult to get the information I needed right away.
I learned that it is possible to Trace the provider context with the addition of an INI token for DETT. However I want to make sure to put the warning out that the LabVIEW Project Provider context triggers A LOT of events and it may not be completely helpful. In fact you may experience memory problems if the trace goes on for long periods of time. The below INI token should be used carefully and at your own risk, just as the Project Provider framework is. Please also don't share this information outside of this private forum.
INI Location: "<National Instruments>\MAX\Assistants\Trace Toolkit\TraceTool.ini"
INI Category: [GlobalSettings]
Token: PrivateContexts=True
Once this token is in place, you should restart DETT, create a new trace, click refresh and choose the App Instance "NI.LV.MxLvProvider"
On a related note, I have learned from the DETT developers that there will be some significant changes going into DETT 2013. Because of this they are planning an early beta for the product to get customer feedback. If anyone is interested, please send me a private message with your email address and I will pass your information on to the team who is working on this.
Let me know if you have success with this.
01-15-2013 03:01 PM
Hey All,
Just as a followup to this, I learned that the DETT 2013 Beta has recently opened. If you haven't gotten an invite already and are interested in joining, you can go to the Beta Program resource center (http://www.ni.com/beta) to sign up.
Enjoy!
01-22-2013 04:29 PM
It appears the directory above for the "PrivateContexts=True" no longer exists for the 2013 Beta -- would you report back if we're still able to trace the Provider context, and if so, how to enable it?
I've done some poking around in obvious locations and using Process Explorer, but to no avail so far...
01-22-2013 04:34 PM
JackDunaway wrote:
It appears the directory above for the "PrivateContexts=True" no longer exists for the 2013 Beta -- would you report back if we're still able to trace the Provider context, and if so, how to enable it?
I've done some poking around in obvious locations and using Process Explorer, but to no avail so far...
Aha!
C:\Users\<your-user-name>\AppData\Local\National Instruments\Desktop Execution Trace Toolkit\DETT.ini
And now the key is in the [GlobalSetting] section (notice the lack of an 's' at the end)
01-23-2013 02:38 AM
Would this mean that all new NI products get proper (userified) INI files?
Ton
01-23-2013 02:59 AM
The new key for DETT 2013 Beta is
[Preference]
ShowPrivateContext="True"
01-23-2013 09:08 AM
Jifan wrote:
The new key for DETT 2013 Beta is
[Preference]
ShowPrivateContext="True"
This setting appeared to not have any effect, even when set to TRUE -- it appears that "PrivateContexts=True" from the [GlobalSetting] remains the key that shows private contexts.
01-23-2013 11:29 AM
Would this mean that all new NI products get proper (userified) INI files?
Obviously we can't make promises on any future plans, but this is the first product I've heard to make this change. As always the proper channel is the idea exchange for this type of request. Sorry, I wish I knew/could say more.