LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows handles left open after opening and closing registry key

When I open a registry key with 'Create Registry Key.vi' or 'Open Registry Key.vi' and thereafter close it with 'Close Registry Key.vi', there are 2 Windows handles left open. As my program polls the registry for changes repeatedly, my system crashes because after a certain time of use, no handles are available anymore.

I'm using Windows XP and Labview 8.6.

The VI in the attachment illustrates the problem (reading and writing of values are left out as these have no influence on the problem).

 

How can I read and write the registry, without leaving open handles?

 

Ruud

0 Kudos
Message 1 of 3
(2,551 Views)

Dear Ruud,

 

thank you so much for your post on our webforum. I noticed that this is a known issue for Labview 8.6, a while ago it was reported with a Corrective Action Request (CAR# 132471). The issue should be resolved with Labview 2009. I wasn't able to reproduce the issue wit Labview 2010, the number of handles stayed arround 28000,

 

best regards,

Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 2 of 3
(2,530 Views)

Dear Martijn,

 

Thanks.

Now I know I'm not hunting gosts.

 

Ruud

0 Kudos
Message 3 of 3
(2,521 Views)