Jump to content
JackDunaway

Desktop Execution Trace Toolkit private context INI keys

Recommended Posts

To enable private context tracing in Desktop Execution Trace Toolkit, in the file %LocalAppData%\National Instruments\Desktop Execution Trace Toolkit\DETT.ini place the following:

 

[Preference]
ShowPrivateContext="True"

It's important to ensure DETT is closed down when you change the file; on exit, DETT flushes to file it's currently loaded settings.

 

 

(Placing this info here with some searchable terms, to save my future self that infrequent 20-minute spelunking exercise of finding it again)

  • Like 1

Share this post


Link to post
Share on other sites

What is meant by private context?

 

post-17237-0-78820500-1408628371.png

 

Generally, this is not recommended (or even useful at all!) unless developing IDE mods and/or XNodes.

Share this post


Link to post
Share on other sites

Hah. Got it. "Context" can mean many things, depending on...context?

  • Like 2

Share this post


Link to post
Share on other sites

Hah. Got it. "Context" can mean many things, depending on...context?

They aren't the same, but another term you maybe more familiar with is Instance, as in Application Instance.

Share this post


Link to post
Share on other sites

I saw something in the GenerateCode ability VI for one of NI's XNodes that says to open the VI in the NI.LV.XNode context. Would this let me do that?

Share this post


Link to post
Share on other sites

I saw something in the GenerateCode ability VI for one of NI's XNodes that says to open the VI in the NI.LV.XNode context. Would this let me do that?

 

You can open a VI in any context you want by using the code Jack showed earlier to get the context references. 

Then use any of these references as an input to the Open VI method, to open your VI.

 

/J

Share this post


Link to post
Share on other sites

Yeah I figured that, but I was wondering if maybe there was an easier way I could enable that NI used to debug xnodes.

Share this post


Link to post
Share on other sites

But in  Desktop Execution Trace Toolkit  2016, I can't found the  %LocalAppData%\National Instruments\Desktop Execution Trace Toolkit\DETT.ini  File.

Share this post


Link to post
Share on other sites

I'm sure you got this working by now but did you run DETT in LabVIEW 2016 before looking for the .ini? I just had to change this ini last week and found it in the location you listed.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.