03-11-2016 01:20 PM
I just decided to run the toolkit to see what it does on a project and found a unknown leak 0x0A185718. The event is described as a reference leak and it says it is in the top level VI and it happens when I stop the program. The toolkit is ver 2014 and I am running it on a 2011 sp1 project.
I notice that when I click on an entry in the toolkit it will take you to the location of the event. But since it is the top level VI it does not really help. I went through and closed every reference I could find, but I still get the unknown leak. I tried the LabVIEW example dealing with the toolkit and that seems to work fine.
So then I started to disable parts of the code and tracked the leak down to DAQmx read (Analog 1D Wfm Nchan Nsamp).vi. I created a test vi with only that vi and it will generate the unknown error when stopped. I also tried with the 2D DBL output and got an unknown reference error.
Is this a big deal? Any idea why it is an unknown error eventhough it is coming from the DAQmx vi?
Solved! Go to Solution.
03-11-2016 01:42 PM
Are you closing and clearing the task?
03-11-2016 01:56 PM
Doh!
That was it.