View Single Post
Old 08-17-2009
Dane Lee's Avatar
Dane Lee Dane Lee is offline
Flexsim User
Join Date: Jun 2009
Location: Beijing China
Posts: 23
Downloads: 187
Uploads: 0
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Power: 134
Dane Lee is on a distinguished road
Smile About founctions of kinematic

In the first model, use setloc(),Visualtool go down 1m, then it can back to original position; but use addkinematic(),Visualtool9 can't back to original position in the second model.
In the second model,the code in OnEntry:
double endtime=addkinematic(label(stamp,"kinematics"),0,0 ,-1,1,0,0,0,0,time(),KINEMATIC_TRAVEL);
addkinematic(label(stamp,"kinematics"),0,0,1,1,0,0 ,0,0,time()+endtime,KINEMATIC_TRAVEL);
I think that the distance of it travel down double it travel up.
Please,Tell me how the result of second model can be the same as first model,using addkinematic();
Help your reply,thanks!
Attached Files
File Type: zip Kinematic (262.8 KB, 206 views)
Reply With Quote