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 09-04-2008
Nico Zahn's Avatar
Nico Zahn Nico Zahn is offline
Flexsim User
 
Join Date: Sep 2007
Location: Bingen am Rhein, Germany
Posts: 179
Downloads: 19
Uploads: 4
Thanks: 66
Thanked 60 Times in 32 Posts
Rep Power: 201
Nico Zahn has a spectacular aura aboutNico Zahn has a spectacular aura about
Default 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  
Old 09-04-2008
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

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  
Old 09-05-2008
Nico Zahn's Avatar
Nico Zahn Nico Zahn is offline
Flexsim User
 
Join Date: Sep 2007
Location: Bingen am Rhein, Germany
Posts: 179
Downloads: 19
Uploads: 4
Thanks: 66
Thanked 60 Times in 32 Posts
Rep Power: 201
Nico Zahn has a spectacular aura aboutNico Zahn has a spectacular aura about
Default

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  
Old 09-05-2008
Brandon Peterson's Avatar
Brandon Peterson Brandon Peterson is offline
The Flexsim Consultant
 
Join Date: Jul 2007
Location: Salt Lake City, Utah
Posts: 382
Downloads: 29
Uploads: 6
Thanks: 192
Thanked 516 Times in 235 Posts
Rep Power: 490
Brandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant future
Default

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  
Old 09-05-2008
Nico Zahn's Avatar
Nico Zahn Nico Zahn is offline
Flexsim User
 
Join Date: Sep 2007
Location: Bingen am Rhein, Germany
Posts: 179
Downloads: 19
Uploads: 4
Thanks: 66
Thanked 60 Times in 32 Posts
Rep Power: 201
Nico Zahn has a spectacular aura aboutNico Zahn has a spectacular aura about
Default

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


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.