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-16-2010
juan alberto juan alberto is offline
Flexsim User
 
Join Date: May 2009
Location: Valencia, Spain
Posts: 74
Downloads: 14
Uploads: 0
Thanks: 19
Thanked 3 Times in 2 Posts
Rep Power: 138
juan alberto is on a distinguished road
Default TASKTYPE NODEFUNCTION

Hello everyone!! I have a doubt about the TASKTYPE_NODEFUNCTION.
Can I receive a value or a treenode that the function called in nodefunction returns? In that case, How I can receive this value?

Thank you a lot!
  #2  
Old 04-16-2010
Luciano Luciano is offline
Flexsim Distributor Italy
 
Join Date: Oct 2007
Location: Cuneo (IT)
Posts: 22
Downloads: 66
Uploads: 0
Thanks: 31
Thanked 27 Times in 9 Posts
Rep Power: 170
Luciano will become famous soon enough
Default

Hi Juan,

I never used the TASKTYPE_NODEFUNCTION but I think that you cannot retreive the return value of the function you call because the task type doent' define a 'return point' for the called function: it call the nodefunction and stop (like a trigger). If you want to know the returned value you need to place in some place (a node) or you can modify some parameters of other subsqeuent task to hold the returned value (changetask command)

Regards,
The Following 4 Users Say Thank You to Luciano For This Useful Post:
Phil BoBo (04-16-2010)


Thread Thread Starter Forum Replies Last Post
about nodefunction Dane Lee Q&A 10 03-15-2012 03:42 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.