Memory through 2 different lvl
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.
@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.
@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.