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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...