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 04-07-2013
Vadim Fooks's Avatar
Vadim Fooks Vadim Fooks is offline
Flexsim User
 
Join Date: Feb 2012
Posts: 67
Downloads: 26
Uploads: 0
Thanks: 50
Thanked 24 Times in 13 Posts
Rep Power: 118
Vadim Fooks will become famous soon enough
Default trouble overriding begintask() for a custom module

Ladies and Gentlemen,
I am trying to extend the functionality of the Transporter by building a custom FlexSim module implementing "a transporter on steroids", but I cannot override begintask() and OnTimerEvent() of the TaskExecuter because of the LOGEVENT macro, which the compiler cannot find.
Does anybody know where/how this macro is defined?

To clarify, my immediate goal is to add extra load and unload delays depending on the external state of the transporter and a number of new animations to be played during the load and unload tasks.


Thank you!
Vadim
  #2  
Old 04-08-2013
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

Simply comment it out. It is not necessary for the functionality.
The Following 2 Users Say Thank You to Steven Hamoen For This Useful Post:
Vadim Fooks (04-08-2013)
  #3  
Old 04-08-2013
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

There is a logevent-command if you need it. But as Steven already mentioned it's not necessary.
The Following User Says Thank You to Carsten Seehafer For This Useful Post:
Vadim Fooks (04-08-2013)


Thread Thread Starter Forum Replies Last Post
Overriding default states for a taskexecuter Vadim Fooks Q&A 1 06-28-2012 06:08 AM
Updateing a module dll to Flexsim6 Esther Bennett User Development 3 06-22-2012 12:24 PM
Pie Chart Trouble Gutirallo Tips and Tricks 0 03-08-2012 12:19 PM
Conveyor Trouble Gutirallo Q&A 2 01-18-2012 10:07 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.