09-10-2018 08:31 PM
I have unity x,y,z coordinates of a gameobject being sent to labview through a UDP connection. The string looks like this ex. "(4,-5,6)". The values are sent over within the parenthesis and I don't know the exact format specifier to put in my VI so that it takes the values within the parenthesis and puts it into an array. What I have so far only receives the x value but places it in the wrong array index and completely ignores my y and z values. Thank you for your help in advance.
Solved! Go to Solution.
09-10-2018 09:07 PM
Try this.
09-10-2018 09:09 PM - edited 09-10-2018 09:10 PM
Do what clnglenn did
09-11-2018 12:24 AM
Or do this if the number of item can vary.
Benoit
09-11-2018 01:14 PM
Thank you so much for responding so quickly! This solution worked perfect!!! I can't believe the formatting was that simple. I feel so silly.
09-11-2018 01:18 PM
Thank you so much for your suggestion. I might use this if I plan on sending both gameobject transform and rotation coordinates from unity which would increase the number of items in my string. Since I'm only sending transform coordinates the first solution worked great.