ATTENTIONThis 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 |
#1
|
||||
|
||||
Invalid link, event not created
Hi,
when I run my model I get the following output in the system console: createevent: invalid link,event not created Does anybody know how I can get to the source of this message? I like to have a clean system console when the model is running.
__________________
kind regards Nico. |
#2
|
|||
|
|||
The problem is likely to be that the first parameter of createevent is NULL, while it needs to be a pointer to a Flexsim Object. This could be caused by a delayedmessage where the first parameter (to) is NULL.
Last edited by Jason Lightfoot; 09-04-2008 at 05:47 AM. |
The Following User Says Thank You to Jason Lightfoot For This Useful Post: | ||
Cliff King (09-04-2008) |
#3
|
||||
|
||||
Yes, I found the missing reference. It´s quite hard to find such errors in a big modell. I hope the debugger will improve a lot in the next release...
__________________
kind regards Nico. |
#4
|
||||
|
||||
Nico,
As a genral rule of thumb I try to never build large parts of a model at one time. I have found it much more time efficient and less stressful to build and thoroughly test a small part of a model before going on to the next section. While it's still possible this method will reduce the chance of getting an error and not knowing where it came from. Good Luck, Brandon
__________________
thats not normal. |
#5
|
||||
|
||||
Well,
in general your right, but in this special case it was a update of a large model, so I change things in cetrain places of the model. Unfortunately an object which was at a centerport of another object before had to be deleted, so the reference by the centerport was not valid anymore. The message was send afer quite a bit of runtime so testing gets costy and time consuming. I guess we all agree that a good and precise debugger would lower timeconsuming searches and so for cost while developing models.
__________________
kind regards Nico. |
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with user event | Yasemin Vatandas | Q&A | 2 | 08-06-2008 02:49 AM |
profileevents() and order of event nodes under project/exec/events | Tom David | Q&A | 3 | 05-15-2008 11:33 PM |
question about User Event | Ning Wang | Q&A | 3 | 04-22-2008 10:56 AM |
New custom commands in Downloads link | Cliff King | Q&A | 0 | 09-24-2007 05:46 PM |
Can the new object like followed explanation be created? | syseo | Q&A | 0 | 09-23-2007 06:15 AM |