LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Replace Error Code 7 with custom dialog

I would like to replace the default Error Code 7 dialog box with a custom text dialog box with ok button, when I try to open a file that does not exist, with "Read from spreadsheet file.vi". How do I "trap" the error code 7, so I can replace it?
0 Kudos
Message 1 of 3
(2,896 Views)
Hi
this error code pops up because of the general error handler VI that is used in building of the "read from spread sheet string.vi"
 
For getting more relevant error meassages, use intermedeate VI, shich as open file, read file and close file
something like this VI attached
 
regards
Dev
 

Message Edited by devchander on 03-05-2006 10:04 PM

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

Thanks Dev,

Answered my query exactly.

AB1

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