LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get numerical values from 2D array of string

Hello! 

I start by saying that I have a base knowledge of LabView. I'm using LabView 2011. I'm doing some communications test via Can-Bus protocol. As you can see in pictures of the block diagram and of the front panel that I've attached I'm using "Transmit Receive same Port" LabView example. It works very good but I would need to insert the 8 data bytes that I receive from the server in 8 different numerical variables so that I could use them to make some operations. How can I get numerical values from the 2D array of string that I attached? 

Every example that you can provide is important! 

Thank you very much! 

Download All
0 Kudos
Message 1 of 4
(2,687 Views)

Unbundle the data cluster coming out of the read function…

Best regards,
GerdW


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

Thank you GerdW, 

Now my question is how can I unbundle the data cluster from coming out the read function? 

Sorry but I'm a really newbie of labview programming.. 

0 Kudos
Message 3 of 4
(2,662 Views)

Hi martiflix,

 

ehm: to unbundle data from a cluster I would use the function Unbundle(ByName)

 

When you are new to LabVIEW you should take all the FREE online resources offered by NI on their website!

Best regards,
GerdW


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