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
FAQ Downloads Calendar Search Mark Forums Read

Q&A Using Flexsim and building models

Reply
 
Thread Tools Display Modes
  #1  
Old 05-18-2016
Hanguang Qiu
Guest
 
Posts: n/a
Downloads: 0
Uploads: 0
Default Exception Caught in FixedResource

I built a simple task quence model in the on creation trigger. however some exception caught when i run this model. i couldn't fix it? does anybody know what is wrong?

the exception is as follows:
time: 55.732428 exception: Exception Caught in FixedResource::setItemState(treenode flowitem, int state)
time: 55.732428 exception: Exception Caught in FixedResource::releaseItem(treenode item) object: /Processor3
time: 55.732428 exception: Exception Caught in Processor:nTimerEvent(treenode involved, int code, char *datastr) object: /Processor3
time: 55.732428 exception: Exception Caught in ObjectFunction235__project_library_FlexSimObject_b ehaviour_eventfunctions_OnTimerEvent object: /Processor3 class: /Processor3
Attached Files
File Type: fsm model-2.fsm (33.3 KB, 543 views)
Reply With Quote
  #2  
Old 05-19-2016
Axel Kohonen
Guest
 
Posts: n/a
Downloads: 22
Uploads: 0
Default

Hi Hanguang,

After a quick look at your model is seems that the exception arises as the item enters the queue before the operator gets there and therefore the item goes to the sink and is destroyed. The exception disappears if you disconnect the queue and the sink as then the item still exists when you refer to it in the task sequence.

Do you have any particular reason to not use the standard functionality for moving the item? Or are you just testing how the task sequences work?

Hope this helps!

Axel
Reply With Quote
  #3  
Old 05-19-2016
Hanguang Qiu
Guest
 
Posts: n/a
Downloads: 0
Uploads: 0
Default

thank you .
Reply With Quote
  #4  
Old 05-19-2016
Hanguang Qiu
Guest
 
Posts: n/a
Downloads: 0
Uploads: 0
Default

I just test how the task sequences work.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exception caught in globalcommand_savebyname mutyisi Q&A 2 12-15-2014 05:55 AM
Incomprehensible exception mearjun Q&A 4 09-09-2013 01:37 PM
Exception Caught Sung Kim Q&A 1 05-14-2013 11:39 AM
Exception caught in basicconveyor when speeding up model koenslootmans Q&A 0 01-25-2013 10:16 AM
ObjectFunction Exception David Chan Q&A 5 07-17-2009 09:08 AM


All times are GMT -6. The time now is 08:05 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.