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: 

Converting multiple column Arduino string data to Labview numerical data

Solved!
Go to solution

Dear Experts,

 

I'm trying to convert multiple column string data coming from an Arduino to numerical Labview data. The data itself is created with a certain sample rating that eventually gives the following response if I use the response function within Labview. The display is extended with a row when a timestep has passed with new data being gathered for that same timestep. Each column is separated with a space.  

 

iljardickhof_0-1658144850827.png

 

I already tried converting the data with the string to numerical function within Labview but was not very successful. I think the difficulty lies in data being present within multiple columns. My Labview code is within the attachment.

 

I would love to hear from you.

 

With kind regards,

 

Iljar Dickhof

 

PS. I'm quite new to Labview

 

 

0 Kudos
Message 1 of 2
(567 Views)
Solution
Accepted by topic author iljardickhof

Hi Iljar,

 


@iljardickhof wrote:

I'm trying to convert multiple column string data coming from an Arduino to numerical Labview data.


Use SpreadsheetStringToArray to convert the whole string at once…

Best regards,
GerdW


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