Loop for data manipulation

Hi guys,


I’m stuck with a routine whereby I am try to map locations (spaces) of terminals back to a parameter in the host mechanical equipment by system.

It all works, however I am confused as to how to loop through a number of items in a two level list. In the scenario below I have to enter 0, 1, 2 etc manually each time (orange group) to get the routine to run on each piece of mechanical equipment. How can I run it through the entire list?












































Hope this help you with an alternate approach…

ver o.92

ver 1.0