REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login

    Memory through 2 different lvl

    REXYGEN Studio
    2
    4
    409
    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.
    • B
      belgacom
      last edited by

      Hello everybody,

      I would like to know how I can use an internal memory status through 2 different level of the EXEC block.
      I tried with GOTO and FROM, but it doens't seems to work.

      Thank you for you help.

      c5236700-bc19-4b46-bee9-9e825919d0bb-image.png

      J 1 Reply Last reply Reply Quote 1
      • J
        Jan Reitinger @belgacom
        last edited by

        @belgacom Hi Arnaud,
        to transmit signals between taks can used the Inport and Outport blocks. Documentation can be found
        here.

        Cheers,
        Jan

        B 1 Reply Last reply Reply Quote 0
        • B
          belgacom @Jan Reitinger
          last edited by

          @jan-reitinger Hello Jan, thank you for your answers.

          As I have done some test yesterday, I come with another question.
          As you can see on my printscreen, I have 3 Rexlang in one task, these task is doing reading on probes.
          1 Rexlang per probes, as I only want to read values on the probe every 30 sec, I change the tick and ntick inside the EXEC.
          My problem is that I would like to have also manual action in this task. ( turn on/off, output ) as I have change the scan time of this task, the manual action as a long delay before the change.

          Therefore I tried to put back the original values of the scan time in the EXEC. ( 0.05 / 10 lvl0 ) As soon as I put these values, it's like if I'm killing the rexcore in my raspeberry pi. A lot of trouble to connect, no more possible to go in live watch, etc...
          My question is: is it possible that the fact that I have 3 rexlang in 1 task, with ( 0.05 *10 ) scan time, could kill the "CPU" ?
          Do I have to manage the Hold of the Rexlang, to only do measurement when I need it ?

          Hope my explanation is clear.
          Arnaud

          J 1 Reply Last reply Reply Quote 0
          • J
            Jan Reitinger @belgacom
            last edited by

            @belgacom Hello Armaud,
            using multiple REXLANG blocks in one task should generally not be a problem. However, it depends on how computationally intensive the programs in the REXLANG blocks are. Please try to set a longer task period and look at Diagnostics in the watch mode. I am mainly talking about time statistics. Check the:
            Target -> Diagnostics -> task name -> Task -> Enable
            We are especially interested in max time and average time. Please note that times are in milliseconds.

            Cheers,
            Jan

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

            This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

            There is also an outdated REXYGEN community forum.

            Powered by NodeBB.