06-20-2019 12:05 AM
aoa.i have attached my vode but this code readsnonly single line data replacing it with the next recieved single line data but i want to acquire each single line data for further calculations
neither i am able to transform it ino one multi line string so i can separate later
nor i am able to extract one by one each line..it just vanishes
moreover my inside loop is executing if i chect it by using probe but the itration value of loop stays zero throughout
kindly help
06-20-2019 12:43 AM
Hi Mrsnaveed,
only single line data replacing it with the next recieved single line data but i want to acquire each single line data for further calculations. it just vanishes
Then you need to collect all received data in your "String"!
It's your fault: Right now you only format the actual received data into the string, but instead of appending new data to older one you just prepend an empty string…
my inside loop is executing if i chect it by using probe but the itration value of loop stays zero throughout
It's your fault: you created a loop iterating just once…
06-20-2019 12:52 AM
i am able to achieve now all sensor data at once..how do i store each line separately
each tym udp.packet ccomes so i want to store each line so i can take average of values for like 10 min but i am unable to store each line indvidullay
kindly help
06-20-2019 12:57 AM
Hi Mrsnaveed,
each tym udp.packet ccomes so i want to store each line so i can take average of values for like 10 min but i am unable to store each line indvidullay
You already get all lines as array elements: each element contains one row/line of text.
What else do you need?
Do you mind to attach your VI instead of those huge JPGs? (I prefer LV2017.)
06-20-2019 01:03 AM
i need to take the second line... extract visibility value and store it ....than for second packet again i want visibility value from second line of second packet and so on but i dont know how to extract the same lines each tym from the incoming packets..similarly for each packet i want other values as well...sorry ill atach vi actually i am replying by mobile