LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Finding an open labview .Net com port handle?

Hello gents

 

I recently had an issue with LabView building a .NET component form LabView.

 

The component was built in labview and loaded (then run) from a third party program. All was well in the LabView environment but after running my third party application, (lats call it control_app)

 

control_app would refuse to close completely and the process would need to be killed in "Task Manager"

 

It turned out to be a com port handle that had not been closed in my labView component.

 

Now my questions is, is there an easy way of tracking down things like this?

 

My method involved sifting through the code (because I suspected something like this) until if found a likely bit of code, changing the code, rebuilding the component and trying it again.

 

The problem code was a couple of levels down and took quite a few iterations of the above before I finally got there.

 

So, is there a tool available for finding open handles in a third party program?

 

Thanks in advance and I look forward to hearing from you

 

Chuck

0 Kudos
Message 1 of 1
(2,765 Views)