Page 1 of 1

Using ALH Manipulate Values

PostPosted: Tue Nov 10, 2020 9:04 am
by brisonsm@msn.com
I am very new to MagicDraw. I am trying to use ALH getValue and setValue to manipulate values along my model. The problem I am having is with accessing a value from another block. When my model was simpler (no IDB or state machines), my ACT worked. Now, when I add the activity to the state diagram, it says that inte is not defined. How do I access the values from the other blocks?

BDD.png


IBD.png


Vehicle1_stm.png


ACT.png

Re: Using ALH Manipulate Values

PostPosted: Sat Nov 28, 2020 12:14 pm
by brooks_wm@msn.com
New also to Cameo, but a simple mistake I make is running the simulation at the wrong level. Be sure you are executing the simulation on the System and not a sub component.