LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
dj3

Fix the Write to Spreadsheet File.vi

Ever since I remember, when you use the "Write to Spreadsheet File.vi" and cancel when offered a dialog box, it throws up an error 43.

Error box

The vi does not have an error out connector so there is no way to stop this behaviour. I know that it can be overcome by using an explicit file dialog box so that the path isn't empty but then why offer the functionality of having it offer a file dialog box in the first place? It's an easy fix as I have to do it myself every time by saving a custom version and changing the internal error handler to no dialog. Just change that as the default and problem solved.

3 Comments
dj3
Member
Member

Or alternatively, just add error in and error out connectors - probably a better way of doing it especially for consistency.

altenbach
Knight of NI
Darren
Proven Zealot