LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Excel remains open in Taskmgr

Highlighted

Hi,

 

I am trying to read excel sheet names. I am not able to close excel after operation. Could you please explain why?

 

Thanks,

Sanad MM

0 Kudos
Message 1 of 6
(1,029 Views)
Highlighted
I can't duplicate any error. It works fine for me.
PaulG.

LabVIEW versions 5.0 - 2018

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 2 of 6
(1,022 Views)
Highlighted

Hi Poul,

 

I don't know what is wrong in that system. It is working for me also in another system. I will try once again after restarting.

 

Thanks,

Sanad MM

0 Kudos
Message 3 of 6
(1,007 Views)
Highlighted

You have a breakpoint set right before your error out indicator.  But perhaps that is just from your debugging process.

 

Instead of having a shift register for the error wire on you For loop, make them regular tunnels.  Perhaps probe for errors in that For loop.  One problem with error wire shift registers in loops is that one potential error would keep all other iterations of the loop from executing as well.  It may not be the problem here, but is something to consider.

0 Kudos
Message 4 of 6
(999 Views)
Highlighted

I can't open your vi (only have 8.2 here), but I ran into an issue lately where Excel wouldn't close because it was waiting for input from the user.  The Excel files were originally saved in Excel 2002, but the PC running the LV app that opened them, read them, and closed them wanted to save them back as Excel 2003, which is what it had installed on it.

 

I don't know if there was a work-around in the Excel options or not - we just rolled the Excel install back to 2002 and that fixed it.

 

Good Luck,

Mike

  

0 Kudos
Message 5 of 6
(988 Views)
Highlighted

This happens only when "highlight execution" is enable. Otherwise it is removing from taskmgr also.

 

Sanad MM

0 Kudos
Message 6 of 6
(958 Views)