I'm using UDP Send to send an 1D arry with 3 elements. On the other side I'm using UDP Read to read my 1D arry with 3 elements but they are coming in a string for somereason.

Using UDP send to send a data across a connection to UDP read data by using a Port and IP. The data I'm sending is 1D array with 3-elements. I'm taking the 1D array on UDP send side and converting to a string before I send out b/c UDP can not read an array. So I'm using "Array to Spreadsheet String" to and sending it.
On the Other Side I'm using UDP Read to read the data by listing to a port and capturing the data. I'm receving the data but they are in string format instead of 3 spreate elements. So how can I change that to 3 elements instead of string?
Any help would be grea
tful,
Thanks
Attachments:
udp_send_data.vi ‏54 KB
UDP_read_data.vi ‏55 KB

It is usually easiest to take any data and flatten it to string before sending.
On the receiving side, use unflatten from string, using the original data type as template.
You can do this with any kind of data (array of strings, array of numbers, booleans, complicated clusters, etc, etc), see attached code image.
Flatten and unflatten is very efficient and does not change the data. For example there is no rounding or formatting loss.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
FlattenUnflatten.gif ‏7 KB

Similar Messages

Maybe you are looking for

  • Activation error: Printer not activated, error code 20

    I have had my officejet 4215 all-in-one printer well over a year and it has connected and printed whatever I wanted.  Yesterday when I wanted to print an email it would not and the following box popped up: Activation error: Printer not activated, err

  • Time capsule wil not alow iphone to connect by wifi.

    My iphone can not go WIFI from my time capsul. When i try to connect i gett the message "could not conect to my network" How do i fix it? Johnny

  • _v and _h

    Should I stop using the _v and _h for the indesign files? Actually I need to go and read the latest docs.... but if anyone wants to answer this I would be grateful anyway Cheers Alistair

  • VI for measuring FRF having data writing problem

    Respected Sir/Mam,                                     I have created a Vi for measuring the signal during modal analysis. The Vi is giving a very good signal but the problem is in writing the data. The no of samples is given as 10K and rate is 100k

  • JPY Currency

    Hello to all, Just want to ask for a little help. We have this Payment Data Download program in SAP. The program gets the data from reguh and regup tables. The amount generated is 5,220,160.00. But the amount should be 522,016.000 as reflected in tra