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 08-22-2010
LINWEIXU
Guest
 
Posts: n/a
Downloads:
Uploads:
Default what is the problem ,the system console print ?

time: 370765.316797exception: Exception Caught in FixedResource::frsetstate(fsnode *flowitem, int state)
time: 370765.316797exception: Exception Caught in FixedResource::makenodeready(fsnode* item) object: /jiaodaiji/meidui/liaotiao_a/A_dui5/zhongjian_meiliang5
time: 370765.316797exception: Exception Caught in FixedResource::frrelease(fsnode* item) object: /jiaodaiji/meidui/liaotiao_a/A_dui5/zhongjian_meiliang5
time: 370765.316797exception: Exception Caught in Queue::OnTimerEvent(fsnode *involved, int code, char *strdata) object: /jiaodaiji/meidui/liaotiao_a/A_dui5/zhongjian_meiliang5
time: 370765.316797exception: Exception Caught in Queue::OnReceive(fsnode *item, int port) object: /jiaodaiji/meidui/liaotiao_a/A_dui5/zhongjian_meiliang5
time: 370765.316797exception: Exception Caught in ObjectFunction216__project_library_FixedResource_b ehaviour_eventfunctions_OnReceive object: /jiaodaiji/meidui/liaotiao_a/A_dui5/zhongjian_meiliang5 class: /jiaodaiji/meidui/liaotiao_a/A_dui5/zhongjian_meiliang5

zhongjian_meiliang5 is a queue object? i do not know what cause the problem?
  #2  
Old 08-23-2010
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

I don't know either

But it looks like the flowtime does not exist. So maybe you wrote code on the onentry of the queue directly in stead of using senddelayedmessage.

If you want to know why you should use the senddelayedmessage construction, use the search function because there are few posts written about that.
  #3  
Old 08-23-2010
LINWEIXU
Guest
 
Posts: n/a
Downloads:
Uploads:
Default

I must use sendmessage ,because i sent message to otherobject "senddelayedmessage(first(tonode(getlabelnum(curre nt,"duiquliaoji2"))),0,current,3,fangxiang,0);".
  #4  
Old 08-23-2010
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

You send this message to another object, but are you sure that "first" exists?
  #5  
Old 08-23-2010
LINWEIXU
Guest
 
Posts: n/a
Downloads:
Uploads:
Default

yes, the first is not item, it is a FixedResource.
  #6  
Old 08-23-2010
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

senddelayedmessage(NULL,0,current,0,0,0) doesn't throw the exceptions you are receiving so even if first() didn't exist, that line of code is not the problem.

In order to know what is going wrong in your model, we would need to be able to see the model. If you can't attach it to the forum, send it to support.


Thread Thread Starter Forum Replies Last Post
Suppressing "FULL PARTNER in-out" in System Console david_white Q&A 1 07-30-2010 12:52 PM
system console problem ? LINWEIXU Q&A 16 06-18-2010 03:25 AM
Can I write to the system console? Steven Hamoen Q&A 2 11-26-2008 06:37 AM
Print information into output console (Debugging) Tom David Q&A 11 09-04-2008 03:46 AM
Print function David Chan Gripes and Goodies 0 05-21-2008 09:38 PM


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.