• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [ANSWERED] Problem Using the Comparator To Trigger on Continuously Changing Value

    Troubleshooting and Bug Reports
    4
    5
    415
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SherLynn last edited by mark

      Hi All, 

      I have connected sensors to Isadora, and when detected it will activate scenes like this:


      The patch works fine, but after letting it run for a while, there might be times when the comparator doesn't trigger "true" to deactivate the scene and I will have to manually trigger it. So I changed the compare to "greater than or equal" and the notify to "always" as well as connected the "loop end" just in case the trigger misses, it works better but the same error would still happen occasionally. Is there a solution for this?

      Thank you for your help in advance.

      [EDIT: Changed the title to more clearly define the problem that was addressed -- Mark]

      Michel bonemap 2 Replies Last reply Reply Quote 0
      • Michel
        Michel Izzy Guru @SherLynn last edited by Michel

        @sherlynn

        It may be that the comparator misses the value 85 because the exact value of 85 shows, depending of the movie length, only a fraction of a second.
        You can find an explanation why Isadora can miss the value below. To get around this try to use the "inside range actor". There you can type a low and a high value. In your case for example 85 and 85.1 so it will trigger somewhere in-between these two values.

        ...General Service Task (v1.3 an up) Refers to the frequency with which Isadora will try to service all actors except Movie related actors in all currently active scenes. Generally this setting relates to actors that have to do with time like the envelope generator, wave generator, pulse generator etc. The General Service Task is specified as a multiple of the Target Frame Rate; the actual period between service tasks is shown to the right of the popup menu....
        ...Cycles reports how many times per second Isadora can process all of the actors in the currently active Scene(s). The higher this number, the better Isadora’s performance. This maximum value of this number is directly related to the General Service Task setting in the General tab of the Preferences – higher Service Task rates will yield a higher number of cycles per second....
        Conclusion: As soon as Isadora can't keep up the general service task the clock will run out of sync. You can see the cycle on the right bottom dropping when you for example move your mouse very fast. 

        Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

        1 Reply Last reply Reply Quote 1
        • bonemap
          bonemap Izzy Guru @SherLynn last edited by bonemap

          @sherlynn

          I would say @Michel explanation is on the money. I have this occur very often and I fix it by placing a Float to Integer actor before the comparator So that a rounded number is forced. For example: the comparator will not skip on 85 but it can skip on 85.25 so the Float to Integer ensures that when 85.25 is reached it sends 85 to the Comparator.

          Best Wishes

          Russell

          http://bonemap.com | Australia
          Izzy STD 4.2 | USB 3.6 | + Beta
          MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
          Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
          A range of deployable older Macs

          S 1 Reply Last reply Reply Quote 0
          • S
            SherLynn @bonemap last edited by

            @bonemap @Michel 

            Sorry for the late response, thank you for your advices. I have tried both the "inside range actor" and "Float to Integer + Comparator" and ran stress tests for both versions at the same time. 

            With Float to Integer:

            The activated scene with the comparator would still occasionally freezes at the last frame even with the "float to integer" actor.

            With Inside Range Actor:

            So far, the scene with the inside range actor seems to be working, it did freeze once, but after restarting, it haven't done so so far. 

            I will run some more test and hopefully it works well.

            Thanks for the feedbacks again!

            Woland 1 Reply Last reply Reply Quote 1
            • Woland
              Woland Tech Staff @SherLynn last edited by

              @sherlynn

              1. I can see from your screenshot you're using the Comparator to deactivate the same Scene all of these actors are inside. I would suggest you jump ahead one Scene to a blank Scene with a Jump actor set to 2 seconds instead of trying to deactivate the Scene that you're sitting in.
              2. Make sure that you set value1 on the Comparator to initialize at 0 otherwise it could trigger itself immediately upon entering the Scene (since it would still have the value1 from the last time you were in the Scene).

              TroikaTronix Technical Support
              New Support Ticket: https://support.troikatronix.com/support/tickets/new
              Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
              Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
              Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

              | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

              1 Reply Last reply Reply Quote 1
              • First post
                Last post