キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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,640件の閲覧回数

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,633件の閲覧回数

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,622件の閲覧回数

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,622件の閲覧回数

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,619件の閲覧回数