LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Spreadsheet string to array

Hello All,

 

Please tell me how can I convert this type strings to array directly?

 

Spreadsheet String to array.png

Munna
0 Kudos
Message 1 of 6
(2,734 Views)

Hi Munna,

 

you need to search/split the groups in quotation marks first. After splitting the string into subsets you can convert each subset on its own and build an array of the results…

 

SpreadsheetStringToArray will not do what you want.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,716 Views)

Hi GerdW,

 

Thanks for your help.

 

I’m just thinking how CSV (if I open same string in csv file) is giving correct result (as I expected).

I thought Spreadsheet string to array also will give same result.

 

Thanks for your confirmation.

Munna
0 Kudos
Message 3 of 6
(2,698 Views)

Something like the VI below (LV2013) may work, but it needs for sure some improvements.

Message 4 of 6
(2,674 Views)

@chembo wrote:

Something like the VI below (LV2013) may work, but it needs for sure some improvements.


Can you please attach the VI in 2012 version.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 5 of 6
(2,666 Views)

P@Anand wrote:
Can you please attach the VI in 2012 version.

LV2012

0 Kudos
Message 6 of 6
(2,648 Views)