ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 91 when using Read Delimited Spreadsheet.vi

Hello community, 

I want to read the voltage and current data from the txt file. However, when I import the txt file, Error 91 pops up.

The indicator in the front panel will show the data from the txt file correctly but I just can't solve the error 91. Can anyone help? 

Thank you. 

Billy90_0-1686547871888.png

螢幕擷取畫面 2023-06-12 133157.png

Billy90_1-1686548106461.png

 

0 Kudos
Message 1 of 2
(879 Views)

Your error has nothing to do with reading the file, it occurs later in the "update display" case when you try to convert an empty variant into a string.

0 Kudos
Message 2 of 2
(861 Views)