Jump to content
Seoksan Kim

To base, From base block question

Recommended Posts

I made a"To Base" and "From Base"

My understanding is 

(1) data are calculated and write at "A"

(2) "From Base" block get the data from "A"

But if you see the below picture, "From Base A" has an default value "1"

 

How can I make it what I want?

 

image.png.fc237efd027ce455ca21537a8a6c7091.png

 

 

base_test.scm

Share this post


Link to post
Share on other sites

My understanding of 'Base' blocks is:

 

- if they are not activated externally 'To Base' writes its input at the end of simulation run, 'From Base' reads the value at the beginning of a simulation run

- if 'A' isn't defined in base context (see Variable Browser), the default value is used (first simulation run, after that the variable is defined automatically)

- in case of external activation you can exchange values at certain events.

 

In contrast 'Signal In' and 'Signal Out' exchange their values permanently.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×