05-29-2014 12:09 PM
When you create a new QD VI from the template, you can't debug it.
The probe indicates that the VI is not executed.
05-29-2014 01:36 PM
06-02-2014 03:25 PM
I see. It has to be in the NI.LV.Editor "domain".
06-02-2014 03:28 PM
zou wrote:
"domain"
The official term is "application instance".
06-03-2014 04:13 AM
zou,
The easiest way to get going is to not use the quick drop to test the plugin.
Just create a new VI, and put your new plugin on the diagram. Wire a static VI reference to a DUT VI, and wire the required inputs (shift and combobox) with constants or meaningfull values.
Then simply make a selection in the DUT, and run the test VI. The behaviour should be exactly the same as invoking it in QD (since it does exactly the same as QD).
Be awair though, that doing this will give naming conflicts with the QD. Since your VI is in memory, invoking the function of your plugin from QD will not work correctly (or so I noticed a few times). So do your testing, debugging and tweaking the easy way, and do a final test after resetting LV.
Wiebe.
03-03-2015 10:48 PM
Hi Darren,
I am wondering what is the difference between NI.LV.Editor application instance and NI.LV.Dialog. And how should I get the application reference for them?
Thanks!
03-04-2015 07:16 AM
Generally you don't get a reference to the private application instances. Is this the point it is called Contexts? I've seen the two terms used and I'm guessing it is a C vs LabVIEW thing.
Using some super secret debug stuff you can get references to these instances, but why do you need to? As others have said you can drop a break point, save it, then invoke your QD which will open that VI in that instance and you can probe around like normal. You could do goofy things too like using the "This VI" reference, then get the application reference from the VI ref. After being invoked in the QD command the VI will run and can return that private instance.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord