From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading text from a spreadsheet file

Hi,

 

How can I read text from a spreadsheet, when my vi already has a spreadsheet being read for integers? I tried to use the index array to take a column from the file which contains text, and create an indicator to show the text from that column on the front panel. But because I already have integer indicators coming from the index array, it created with another integer indicator instead of string which does not show any of the text.

0 Kudos
Message 1 of 2
(2,164 Views)
Try doing the opposite. Read the spreadsheet as a string, then convert to int where you need to. Or, read the spreadsheet twice.
0 Kudos
Message 2 of 2
(2,147 Views)