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 03-04-2008
KelvinHo KelvinHo is offline
Flexsim User
 
Join Date: Jan 2008
Location: Hong Kong
Posts: 129
Downloads: 18
Uploads: 1
Thanks: 44
Thanked 23 Times in 7 Posts
Rep Power: 171
KelvinHo will become famous soon enough
Default how to send msg to another which do not have connection with the sender object

Hi,

In a case, there are 5 object at which the flow is:

A -> B -> C -> D -> E

I would like E to send a msg to A once E got the flowitem;

the problem is I don know how to reference a object NOT using inobject, outobject, centerobject where the sender have connection with the recevier.

In this case A & E have no actual connection.

Regards,
Kelvin
  #2  
Old 03-04-2008
qin tian qin tian is offline
Flexsim User
 
Join Date: Dec 2007
Location: Shanghai, China
Posts: 137
Downloads: 115
Uploads: 0
Thanks: 59
Thanked 3 Times in 3 Posts
Rep Power: 161
qin tian is on a distinguished road
Default

You can make a global variable(under Tool menu) to point to A .
Then you can reference the global variable.
  #3  
Old 03-05-2008
tobias.biemueller tobias.biemueller is offline
Flexsim User
 
Join Date: Aug 2007
Location: Bielefeld, Germany
Posts: 42
Downloads: 22
Uploads: 0
Thanks: 23
Thanked 18 Times in 16 Posts
Rep Power: 164
tobias.biemueller is on a distinguished road
Default

You can also do it with a direkt pointer in the trigger:

treenode destination = node("/A", model());

then you can use destination as adress.
The way of qin tian is also possible.

best regards
Tobias
The Following User Says Thank You to tobias.biemueller For This Useful Post:
Patrick Cap (03-26-2009)
  #4  
Old 03-05-2008
KelvinHo KelvinHo is offline
Flexsim User
 
Join Date: Jan 2008
Location: Hong Kong
Posts: 129
Downloads: 18
Uploads: 1
Thanks: 44
Thanked 23 Times in 7 Posts
Rep Power: 171
KelvinHo will become famous soon enough
Default

Hey,

Problem solved, thanks qin tian & Tobias

Kelvin.


Thread Thread Starter Forum Replies Last Post
send a flowitem from a mobile object to another mobile object KelvinHo Q&A 5 03-03-2010 08:24 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.