Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - blabla

Pages: [1]
General Board / use data from excel table
« on: April 23, 2015, 10:01:18 pm »

I'm using EA11. I want to use data from a excel file in a state diagramm.
for example:

time  data
  0      0
  1      2
  2      4
  ..      ..

Can I use this data. For example for a Transistion. [data>=3].

Maybe you can sen a short example. It would be very helpful.
thanks for every help ;)

General Board / SysML script read a textfile?
« on: May 29, 2015, 10:15:47 pm »
Is it possible to read a textfile with the script in JAVASCRIPT of a constraint block?

General Board / SysML parametric model trigger signal
« on: June 03, 2015, 04:36:29 pm »
hello together,

Is it possible to trigger a signal in a parametric sysml model.
time range 0 - 10 sec

trigger if time >=5 sec and use the trigger in a state chart as a transition-

General Board / change value variable in state diagram during simu
« on: May 23, 2015, 12:36:07 am »
I want to change the variable in a state diagramm during the simulation.
For example I have a external input, which delivers the values of a variable. May be a sensor signal for velocity.
So my Problem is to get in the data and change the state if the value is mor than 2 m/s.

The input is maybe given in a excel sheet. To make a statemodel is not the problem. The Problem is to get use the data of the excel sheet as a variable.

Does someone know what the simulationtime in EA is? Like in Matlab simulink you have solvers fix-step or variable-step.

General Board / Constraint Block script in SysML
« on: May 07, 2015, 11:36:02 pm »
I would like to read data from a excel file
in a constraint block script

how could I do this? or is this not possible

General Board / tagged value as transition
« on: April 30, 2015, 10:02:52 pm »
Can I use a taggedvalue as a transtion in a state diagramm.

Attributname   :  KL30
Tagvaluename :  initialvalue
Taggedvalue    :  6

State1   --[KL30.initialvalue>=6]-->    State 2

General Board / Data import to EA
« on: April 03, 2015, 01:29:55 am »

I'm using EA and UML at my first time.
Is there a possibilty to use a data series in EA in a State diagramm like in Stateflow (Matlab). And can I make settings about the simulation time like in Matlab (Simulink,Stateflow).

Thanks for any help  ;D

Bugs and Issues / ReferencError variable is not defined
« on: April 03, 2015, 01:23:03 am »

this is my first time I work with UML and EA. I'm sorry for stupid questions. I'm using the new EA 12 version.
I want to do a simple State diagramm with a transition.
I define a variable with right klick on state->features and properties->set Run state. The name of the variable typ int is "a". At the entry the first state should set the value of "a" to 1. The transition to the next state ist [a==1].

at the simulation execution a error occur

ReferenceError:a is not defined


May be someone can help me. Thanks for every help  ;)


Bugs and Issues / constraintblock script
« on: April 09, 2015, 07:11:38 pm »
Hello I want to insert an array in the script of a constraint block.
is it possible?

int[] myArray = new int[5 3 8 ];


Uml Process / State-chart execute do operation doesn't work
« on: May 22, 2015, 05:03:44 pm »
I want to execute all the time an operation with the action do.
I use this to count up something. Here is my code in the section Behaviour.

Code: [Select]
sim.T_WTO = sim.T_WTO+1;
Trace("time = "+ sim.T_WTO );

first time the code will be execute, but after the first run the operation will be not execute again. ??? may be someone can help why it doesn't work

Pages: [1]