LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to open excel sheet

Hi.
If i read the excel sheet immedialty after disposing it,  throghs an error saying can't open the file.
Please see the attached vi. Call this twice for same file without any delay throughs an error.  I am giving the correct parameter.
I added 200ms dealy to avaoid the problem.
 
NOTE: this problem is seen in high speed systems.
 
Please let me know wheather my ci is wrong.
Thank you,
Ranjith
 
0 Kudos
Message 1 of 8
(3,340 Views)
Your VI is not attached.
0 Kudos
Message 2 of 8
(3,339 Views)
hoops... sorry for that..
0 Kudos
Message 3 of 8
(3,331 Views)

Hi Ranjith,

do you use a template? I can´t see the described behavior, also not if i delete the 200ms wait.

Mike



Message Edited by MikeS81 on 07-16-2008 07:58 AM
0 Kudos
Message 4 of 8
(3,327 Views)
No. Its not template. Even In my PC this problem is not seen. This problem seen in other PC's which are high speed .
 
0 Kudos
Message 5 of 8
(3,314 Views)
Hi Ranjith,
why do you need to call it so often? Can you explain please? Maybe its possible to change somthing, to get what you need.
Mike
0 Kudos
Message 6 of 8
(3,301 Views)
Yes, i need to read 3 sheets from xls file.
0 Kudos
Message 7 of 8
(3,299 Views)

Hi Ranjith,

but in your example you create everytime a new report! You can open your file ones and read then three sheets. For more information you can also see the Excel Board.

Mike



Message Edited by MikeS81 on 07-16-2008 12:26 PM
0 Kudos
Message 8 of 8
(3,297 Views)