fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Issue with "Write to file" block?

    Questions & Answers
    0
    7
    286
    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.
    • Meshii
      Meshii last edited by

      Hi, tell me if you have the same problem, every time I place a "write to file" block under a "condition" block, the condition is being ignored and the file is written every tick; if I place it under a "time filter" block instead, it works like should

      1 Reply Last reply Reply Quote 0
      • W
        William29 last edited by

        are you sure the condition is not true all the time?
        Try adding Trace Activity block to TRUE outcome to see the activity in the block.

        Meshii 1 Reply Last reply Reply Quote 1
        • Meshii
          Meshii @William29 last edited by

          @william29 I created a test project for the purpose
          https://fxdreema.com/shared/9onLjKlE

          And here is the screenshot, test with one day, 2 activity on chart and more than 500 lines inside the file
          0_1673189577202_Screenshot_2.jpg

          1 Reply Last reply Reply Quote 0
          • W
            William29 last edited by

            i cant duplicate the issue since i don't know where the excel file should be.

            you said time filter block worked.

            try this

            0_1673191188416_548b1cc5-aac3-4b95-a6a2-437b7ef97977-image.png

            Meshii 1 Reply Last reply Reply Quote 1
            • Meshii
              Meshii @William29 last edited by

              @william29 Under "Every n ticks" the number of written lines is huge, so under a condition the behavior is different

              1 Reply Last reply Reply Quote 0
              • W
                William29 last edited by

                try counter
                0_1673195392535_8d1612f6-26cf-4439-9cc5-70a8538398a3-image.png

                alternatively you can use counter with turn off blocks block.

                a bizarre issue for sure.

                Meshii 1 Reply Last reply Reply Quote 1
                • Meshii
                  Meshii @William29 last edited by

                  @william29 Yes with counter works, thanks for the help.

                  Can you check this @FXDREEMA

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

                  Online Users

                  J
                  2
                  C
                  R
                  Q
                  N
                  E
                  S
                  L
                  N

                  19
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors