取消
显示结果 
搜索替代 
您的意思是: 

split number data string

已解决!
转到解答

Hello Darin.K,

I have similar problem can plz solve it

INPUT = 25.656;25.659;25.669;25.679;25.684................

I have input like this then how u will devide this numbers and save it in array

I know to save in array but I don't know how to split the values

looking forward for your support

regards,

vinay

0 项奖励
11 条消息(共 15 条)
1,372 次查看

Use Spreadsheet string to array function with ; as delimiter.

then you will get the values as

25.656

25.659

25.669

25.679

25.684

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
12 条消息(共 15 条)
1,365 次查看

hello palaniveIT,

 

thank u I got it but one more problem I identified while running the program is

as u can see in attached pictures there is data in two line and I can successfully transferd to the array but I observed in graph that

there is a two line in graph I need single graph value with whole data how can I do it

 

regards,

Vinay

0 项奖励
13 条消息(共 15 条)
1,354 次查看

hello palaniveIT,

 

thank u I got it but one more problem I identified while running the program is

as u can see in attached pictures there is data in two line and I can successfully transferd to the array but I observed in graph that

there is a two line in graph I need single graph value with whole data how can I do it

 

regards,

Vinay

下载全部
0 项奖励
14 条消息(共 15 条)
1,354 次查看

Hi Vinay,

 

you have two lines with 5 values each.

You convert this text into a 2D array with 2 rows and 5 columns.

You display that 2D array in your graph, which uses one plot per row.

 

What else do you expect?

What do you want?

 

When you only need one plot of all 10 values you need to reshape the array. (Or append the rows to get a 1D array…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
15 条消息(共 15 条)
1,351 次查看