| Author |
Message |
Marius
Joined: Jun 10, 2013 Posts: 51
|
Posted: Dec 17, 2013 7:17 PM Post subject: ScalarValue element does not remember last values |
|
In element S_Value I have set
Initial Value - some numer remember last value \"yes\" send initial value on start \"yes\"
When the design is run, saved during runtime through DesignInteractor, closed, and reloaded,
the S_Value returns to the same inital value as before, a value change during runtime is not remembered.
How can I make the element rememer the value, like the checkbox says?
Marius |
|
 |
jarek
Joined: Oct 22, 2007 Posts: 1073
|
Posted: Dec 17, 2013 8:30 PM Post subject: |
|
The last value is remembered:
1. During stop 2. If there was at least one input value which can be remembered. |
|
 |
Marius
Joined: Jun 10, 2013 Posts: 51
|
Posted: Dec 18, 2013 3:13 PM Post subject: |
|
I see. I assume there is and AND between the two conditions you named.
Any hint what is the easiest way to remember a value through save (with design interactor) and reload?
|
|
 |
jarek
Joined: Oct 22, 2007 Posts: 1073
|
Posted: Dec 18, 2013 9:12 PM Post subject: |
|
| Yes, AND. I see no other way but restart. |
|
 |
Marius
Joined: Jun 10, 2013 Posts: 51
|
Posted: Dec 21, 2013 4:41 PM Post subject: |
|
Can you provide the requested behaviour as a paid feature?
The ScalarValue element should remember it's last value when the design is saved and reloaded. For example by providing a checkbox \"set inital value to be last value\" where the initial value is changed with every change in present value.
We have about 100 instances in our software where this behaviour is requested by the customers
Marius |
|
 |
jarek
Joined: Oct 22, 2007 Posts: 1073
|
Posted: Dec 21, 2013 7:32 PM Post subject: |
|
This is intended behavior.
You should always STOP the design before you save it. You should also always stop design before you exit BioEra. That is a major assumption and many elements rely on this. |
|
 |
Marius
Joined: Jun 10, 2013 Posts: 51
|
Posted: Dec 21, 2013 11:00 PM Post subject: |
|
So you say the S_value will be remembered through Stop-Save-Reload but not through Save-Reload ? Many of our designs get saved during runtime and it hasn't caused trouble so far
This wasn't clear to me from the previous coversation, as you said:
The last value is remembered:
1. During stop [so here you implied saving and reloading?] 2. If there was at least one input value which can be remembered.
|
|
 |
Marius
Joined: Jun 10, 2013 Posts: 51
|
Posted: Dec 21, 2013 11:26 PM Post subject: |
|
So I tried this to get the values remembered
SystemInteractor - STOP Delay 1 Design Interactor - SAVE Delay 2 Design Interactor - LOAD any other design
The problem is, after the STOP has been called, the action chain will not go on. Everything is connected to PreProcessor, which should ensure that it keeps running after STOP.
Where is the problem? Does Processer not work with delays? |
|
 |
jarek
Joined: Oct 22, 2007 Posts: 1073
|
Posted: Dec 22, 2013 1:36 AM Post subject: |
|
The option \"Save then Load new design\" in DesignInteractor stops current design before it saves it. So there is no need for a separate stop. And looks like your problem is somewhere else.
|
|