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: 

From dynamic data to string

Solved!
Go to solution

Hi, 

 

I would like to convert my dynamic data (4 channels and time) to sink of string (I am using UDP Write).

I tried to build an array, and then use Nnmber to fractionnal string, but I can't wire the two, because it's 1D array of string. 

 

Thanks for your help!

 

Sarah

 

Images intégrées 1

0 Kudos
Message 1 of 6
(3,982 Views)

Use a for loop, input the array of numbers as auto-indexed, input that to the convert function, and output the result as an auto-indexed tunnel. The result will be an array of strings.

0 Kudos
Message 2 of 6
(3,977 Views)

It is already in a for loop. And the input of the UDP is a sink of string.. 

And I don't know what is an auto-indexed tunnel

0 Kudos
Message 3 of 6
(3,973 Views)
Solution
Accepted by sarahdan
did you check Array To Spreadsheet String Function
?
0 Kudos
Message 4 of 6
(3,965 Views)

@sarahdan wrote:

It is already in a for loop. And the input of the UDP is a sink of string.. 

And I don't know what is an auto-indexed tunnel


Attach your VI.

 

And if you don't know what is an auto-indexed tunnel, then take the tutorials.


LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

 

 

0 Kudos
Message 5 of 6
(3,959 Views)

sarahdan wrote:  I am using UDP Write

And what is recieving the data on the other side?  Another LabVIEW program?  A microcontroller?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 6
(3,950 Views)