ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 06-10-2011
LINWEIXU
Guest
 
Posts: n/a
Downloads:
Uploads:
Default the BasicConveyor problem

In my model I use some BasicConveyors,I run the model ,the system console sometimes print this message,simetimes not,I donot konw the reason ,why come out this problem.
"
time: 27363.380798exception: Exception Caught in BasicConveyor::OnTimerEvent(fsnode *involved, int code, char *datastr) object: /crossroadD/crossroadD161/east3
time: 27363.380798exception: Exception Caught in ObjectFunction293__project_library_BasicConveyor_b ehaviour_eventfunctions_OnTimerEvent object: /crossroadD/crossroadD161/east3 i: /crossroadD/crossroadD161/east3/Product1105 class: /crossroadD/crossroadD161/east3
time: 27382.964798exception: Exception Caught in BasicConveyor::setitemconveystate(fsnode* item, double startpoint, double startspeed, double targetspeed, double accdec) object: /crossroadD/crossroadD161/east3
time: 27382.964798exception: Exception Caught in bcsetitemconveystate(fsnode* conveyor, fsnode* item, double startpoint, double startspeed, double destspeed, double accdec)
time: 27382.964798exception: Exception Caught in ObjectFunction045__project_exec_commandlist_bcseti temconveystate_node object: MAIN:/project/exec/commandlist/bcsetitemconveystate/node class: MAIN:/project/exec/commandlist/bcsetitemconveystate/node
time: 27523.686101exception: Exception Caught in BasicConveyor::setitemconveystate(fsnode* item, double startpoint, double startspeed, double targetspeed, double accdec) object: /crossroadD/crossroadD161/east3
time: 27523.686101exception: Exception Caught in bcsetitemconveystate(fsnode* conveyor, fsnode* item, double startpoint, double startspeed, double destspeed, double accdec)
time: 27523.686101exception: Exception Caught in ObjectFunction045__project_exec_commandlist_bcseti temconveystate_node object: MAIN:/project/exec/commandlist/bcsetitemconveystate/node class: MAIN:/project/exec/commandlist/bcsetitemconveystate/node
time: 27545.286101exception: Exception Caught in BasicConveyor::setitemconveystate(fsnode* item, double startpoint, double startspeed, double targetspeed, double accdec) object: /crossroadD/crossroadD161/east3
time: 27545.286101exception: Exception Caught in bcsetitemconveystate(fsnode* conveyor, fsnode* item, double startpoint, double startspeed, double destspeed, double accdec)
time: 27545.286101exception: Exception Caught in ObjectFunction045__project_exec_commandlist_bcseti temconveystate_node object: MAIN:/project/exec/commandlist/bcsetitemconveystate/node class: MAIN:/project/exec/commandlist/bcsetitemconveystate/node"
  #2  
Old 06-10-2011
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

Usually this means that you are having a pointer to an object that doesn't exists. In your case on object "east3" when creating the code for the basic conveyor probably sometimes your item pointer is not correct (either involved or item) It could also be the conveyor pointer but that seems unlikely.

So you could put a check (objectexists) in front of the code that is causing the problem and check when it doesn't exist and why.
The Following User Says Thank You to Steven Hamoen For This Useful Post:
RalfGruber (06-10-2011)
  #3  
Old 06-10-2011
LINWEIXU
Guest
 
Posts: n/a
Downloads:
Uploads:
Default

hi thank you , May not be the reason.because i write code in onentry trigger and oncover trigger , the item is parnode(1);
  #4  
Old 06-10-2011
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

Ok then this message might appear some in the chain of events. So your onentry or oncover might trigger something and that is cause of your problem but at this trigger the error is thrown.

If your error is reproducable by switching the repeat random streams on, you can open the list with events and step through the events looking which event is causing this problem and check inside that event.


Thread Thread Starter Forum Replies Last Post
conveyendtrigger on BasicConveyor Stephan Seidel Q&A 1 05-02-2011 09:27 AM
Basicconveyor with entry/outs both sides... Daniel_Rouchett Q&A 2 10-14-2010 07:05 AM
BasicConveyor stops too late? Steven Hamoen Q&A 3 04-20-2010 09:51 AM
question about item position of BasicConveyor kinematics LINWEIXU Q&A 3 03-25-2010 10:17 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.