Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67219

Updating an array in MyRio LabVIEW

$
0
0

I have a program that is updating a array with the robot's current status. I'm using a for loop to scan through all of the robots. Currently, there is two robots, but more will be added in the near future. (See Capture.JPG or the full VI below). (Note: I drew in the parts of the VI that got cut off. The conditional statement is false after the first while loop iteration because I'm using it to define the matrix. So, the red line shows the proper connection when the conditional statement is false.)

 

I'm trying to update the array in the control panel picture after each iteration of the for loop. When I run this VI, it receives the values needed to update the array when I probe for values inside of the for loop, but it only updates the array of the second robot (Robot number one). Any suggestion on how to get the array to constantly update the values? Thank you!Control_Panel.JPG


Viewing all articles
Browse latest Browse all 67219

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>