Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69515

string to 2d array to excel sheet

$
0
0

Greetings,
I am a beginner at labview, tring to explore it. I am stuck in a task as follows
I have a txt file which i want to convert it into array then display it into excel file.

 

Below is the string data in the txt file
x=1.0,y=4.0,z=2.5,x=1.1,y=4.1,z=2.6,x=1.2,y=4.2,z=2.7,x=1.3,y=4.3,z=2.8,x=1.4,y=4.4,z=2.9,

 

I want to convert the above data to an array/excel sheet like below

x=1.0  y=4.0  z=2.5 

x=1.1  y=4.1  z=2.6

x=1.2  y=4.2  z=2.7 

x=1.3  y=4.3  z=2.8

x=1.4  y=4.4  z=2.9

 

Now i know that match mattern would be used to seperate the delimiter ',' but what after then, i m confused in how to progress further.

Please guide me how to solve this task

Regards


Viewing all articles
Browse latest Browse all 69515

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>