Message Boards Message Boards

0
|
4528 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

At the end of my first exercise. Using Dynamic.

The attach file that I send has no errors when I run Ctrl-Enter the first time.

If I run Ctrl-Enter again an instant mistake that I can not see appears and disappears immediately.

On the other hand, I can not control the same units in both graphs.

I'm at the end of my first personal exercise; It is almost complete, but I want to have it as clean as possible.

Thanks for the help.

Attachments:
POSTED BY: Ernesto Espinosa

So I managed to get a screenshot of the problem, and it looks like something's going wrong with the order of evaluation. Because you have put everything in the same cell so everything evaluates at once, it looks like miCirculo and miCoseno are not evaluating in time.

To fix this, I'd suggest putting the definitions of miCirculo, miCoseno, miPanel and miGrafica into the DynamicModule as an Intialization. So after the SaveDefinitions-> True, add another option of Initialization:>( copy and paste the definitions into here). This should mean these are all evaluated first so you won't get an error.

The error

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract