Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

need some guidance on how to achieve this

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    need some guidance on how to achieve this

    Let's say I have count A which consist of 9 consecutive counts and upon the completion of count A, count B commences and consists of 13 not necessarily consecutive counts.

    While count B is counting, count A can initiate a new count if the conditions are right. In such a situation, it is also possible for the new count A to complete before the count B which was counting before the new count A started.

    As a result of this situation where the new count A has completed and count B is still counting, a new count B needs to be initiated and hence there would be two sets of count B counting but on different nunmber counts.

    Any ideas on how I can get the second set of count B to count?

    #2
    Then you would just need to create two separate B counters (B1, B2 for example) so the could count on different conditions triggered for you, you could perhaps also work with flags to switch counts as needed for your setup.

    Comment


      #3
      Thanks Bertrand!

      If I were to go with option A, I would be limited to 2 sets of counts when in reality there could be more.

      I'm not sure what you mean by option B. Would you mind elaborating?

      Comment


        #4
        From your first post I had the impression you were looking for 2 separate B counts that could return different individual readings in the process. The bool flag would just allow you to return out of your count at any time an external condition of yours would dictate.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        574 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        333 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X