Using current simulation time as a variable
Hi I need to do a simulation in motion view which has a large amount of different steps that will need to be set up using the template to activate/deactivate motions etc.
Im wondering whether there is a way to set up the simulation so that when the time for one step is changed, the other steps dont need to be changed.
I was thinking that there should be a way to use the current Time , such as 'TIME + 5' etc for the value of the end_time, then TIME + 2 for next step etc, so you are only controlling the duration of each step, but when you change one step, the other steps will stay the same duration.
Does anyone have any ideas.
Also if you have any extra resources on sequential simulations other than tutorials MV-1011 and MV-1051
Also I have tried to use dataset variables and solvervariables as inputs for the end_time in simulation, and it doesnt work. Why doesnt it read the variable name and convert it to a real number?
Instead of using 'end time' to specify when the each phase should stop, you can use the keyword 'duration'
Documentation for this is in the MotionSolve reference guide, under the 'Simulate' command statement