01-15-2015 05:04 PM - last edited on 10-26-2015 04:44 PM by LiliMcDonald
Hi,
i am working on this small code where I want to select a sensor which will output 3 axis. but I set the list box of the sensor selection to 1 or more selection mode. So when I pick more than one sensor I get 6 axis (3 for each sensor) in my indicator array. My problem is I want to list those axes in a list box. but the list box for the axis is 1D array and the item names property node is 1D array as well. My problem is the reference array for the sensor axes are 2D array. How do I get them to list?
Please help..... An image of the short code is provided
Admin Note - Attachment removed per user's request
Solved! Go to Solution.
01-15-2015 05:32 PM
Use Reshape Array to change your 2D array into a 1D array.
01-20-2015 09:45 AM - last edited on 10-26-2015 04:45 PM by LiliMcDonald
Thanks. I decided to use a multicolum lisbox instead so I can have all the three axes of my sensor showing when i select more than one sensor. But I am not able to select item on the second or third column of the multicolum lisbox. Is there a reason why? I trying playing with the properties but nothing works
Admin Note - Attachment removed per user's request
01-20-2015 09:59 AM