LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trapping Read From Spread Sheet Error

I am using the Read From Spreadsheet VI in an application.  If the app goes to open the file and it is not there the LabView Error Dialog pops up.

 

In other parts of the app I use a VI to verify if the file is present then if the file is not present it is skipped,  this is accomplished with a little extra coding.

 

I was just wondering if this feature is built into the Read from spreadsheet VI and i am simply overlooking it.

 

Thanks

Tim C.

1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
0 Kudos
Message 1 of 4
(2,798 Views)
No, it doesn't have that functionality. You could write a simple wrapper VI for it.
0 Kudos
Message 2 of 4
(2,794 Views)

As far as I could check, those VI's are coming with source code, so double click and debugging is possible. They use the old 'Easy Read/Write' file stuff, which has the error handler coded inside instead of presenting you the error cluster.

I have rewritten all these and added some extra error checking (as you already mentioned) and placed them in my reusable lib. Was worth the effort, so I'd recommend you to do the same and not using the build-in ones.

 

Felix

0 Kudos
Message 3 of 4
(2,792 Views)
Thanks for the tips.
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
0 Kudos
Message 4 of 4
(2,789 Views)