hexagon logo

Independent Looping program

I'm not well versed with loops so bear with me. 

I have 10x10 grid of parts. 

I'm treating each row as it's own independent Loop because if I have an issue with a part I want to go back and at least only have to run that row and not the entire 10x10 loop all over again. So I have 10 independent "groups" and each is its own loop. 

If I need to go back and run an individual row, and then stop, how do I regenerate the rest of the results including the updated rerun loop? 

Parents
  • You can probably do this with a DO / UNTIL loop. 

     Looping question: Unique Input for Each Part plus Skipping Stations 

    This way, you run a specific row.

    As for generating the new results along with the old results, I would suggest sending a serial number (Date and Time combo) to a txt or csv file at the initial run. Then if you have to "rerun" a row, then based on a "rerun" flow, open up that txt or csv file to read the serial and that at the print command have it "append" to that initial PDF report of the same serial code. 

    It will be a lot of coding of flow control, but definitely doable. 

    Then with each initial run, that txt or csv file will rewrite with a new code, so if you have to "rerun", it will use that new code. 

Reply
  • You can probably do this with a DO / UNTIL loop. 

     Looping question: Unique Input for Each Part plus Skipping Stations 

    This way, you run a specific row.

    As for generating the new results along with the old results, I would suggest sending a serial number (Date and Time combo) to a txt or csv file at the initial run. Then if you have to "rerun" a row, then based on a "rerun" flow, open up that txt or csv file to read the serial and that at the print command have it "append" to that initial PDF report of the same serial code. 

    It will be a lot of coding of flow control, but definitely doable. 

    Then with each initial run, that txt or csv file will rewrite with a new code, so if you have to "rerun", it will use that new code. 

Children
No Data