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 06-14-2008
AlanZhang's Avatar
AlanZhang AlanZhang is offline
Flexsim Super Moderator
 
Join Date: Aug 2007
Location: CA
Posts: 289
Downloads: 64
Uploads: 0
Thanks: 88
Thanked 91 Times in 47 Posts
Rep Power: 225
AlanZhang is a jewel in the roughAlanZhang is a jewel in the roughAlanZhang is a jewel in the rough
Default Watch List

I was looking at the Flexsim manual and found the Watch List under Tools menu very interesting. According to the help, you can use Watch List to watch the changes to the object variables/attributes and fire some triggers. So potentially it could be quite useful for debugging and other purposes. However, very limited information is given in the help manual and no examples are provided. Some questions I have here:

1. If I have an object in a visual tool container, what I should put under the ObjectName?
2. What should be put under WatchVariable? Anything under variables in the object tree? What about the attributes? Where is this attribute list?
3. Is it possible that I can use the Watch List to watch object labels? If so, it would be very useful.

Some suggestion here:
1. An additional column could be added to turn on or off the watch variable.
2. An additional parameter can be passed into the OnChange trigger to tell which event makes the change to the value.
__________________
Best,
Alan
  #2  
Old 06-16-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

Alan,

Having looked at the watch list here are the answers to your questions:
1. If you had a Visual Tool called VT with a processor called P1 that you wanted to watch then you would put VT/P1 in the objct name column
2. The on reset of the watch list will search for a node in the object with a name equal to the watch variable column. So, if you wanted to watch a label called "Test" then you would put "Test" in the column, if you wanted the input then you would put "stats_input" (as that is the name of the node where that data is stored).
3. Answered above.

Adding a search to the watch list would be nice, maybe this is a user development project for someone.

Good Luck,
Brandon
__________________
thats not normal.
The Following User Says Thank You to Brandon Peterson For This Useful Post:
AlanZhang (06-16-2008)



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.