snovotill
Joined: Feb 8, 2013 Posts: 80
|
Posted: Dec 13, 2013 5:46 AM Post subject: Passing values between RUN and PAUSE states of BioEra |
|
Hi Jarek, this is a great one for the forum: \"When you change between states like pause, start, stop then the behavior of elements connected to PreProcessor can be really unexpected, so those states should be separated.\"
And so I was successful in passing a value between RUN and PAUSE states as follows: ValueToBePassed -> Delay -> ElementNeedingTheValue <- PreProcessor The design starts, and when I hit pause then the value spits out nicely during Pause.
However this is not quite what you had in mind, so I wonder therefore how one might pass the value via Property? ie what is the BEST way to trigger Property to send out it's value after hitting Pause? Are there other official ways or prime \"elements\" useful for doing this? |
|
jarek
Joined: Oct 22, 2007 Posts: 1081
|
Posted: Dec 13, 2013 6:18 AM Post subject: |
|
Well, to be honest I don't know what is the best way. The pause state is almost never used for other purpose (like data exchange with PreProcessor) than to pause all elements. I never used it in any other way. So if what you did works, it is great.
I know Property has been used to exchange values between operations like design restart or nested design reload. So I thought it might be also useful here. |
|