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 > User Development
Downloads

User Development User developed add-ons to Flexsim

  #1  
Old 04-04-2012
Normand Côté Normand Côté is offline
SNC-Lavalin GTS
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 17
Downloads: 21
Uploads: 0
Thanks: 1
Thanked 24 Times in 13 Posts
Rep Power: 170
Normand Côté will become famous soon enough
Default Coordinated Task Sequence Profiler

Hi all,

This CTS_Profiler library (v6.0 only) will help you efficiently troubleshoot complex task sequences (coordinated and preemptive with callsubtask). It is based on Brandon Peterson's TS_Profile library (http://www.flexsim.com/community/for...ead.php?t=1079). Likewise, this library allows you to explore task sequences of any task executer object from its properties window. That was an excellent idea by Brandon. On the other hand, this CTS_Profiler library has a very simple gui and some enhancements that help you easily track and inspect the chain of activities undertaken by a task executer (see attached pictures). This is particularly usefull for coordinated task sequences. The library can be used in basic or advanced configuration mode. This is described in the help (see help tab in the first picture) available when the library is installed.

Your comments are welcome,


Normand

---------------------------------------------------
HOW TO INSTALL:
- unzip the file CTS_Profiler.zip in your model folder
- load the library from within Flexsim
- drop the CTS_Profiler object onto your model then reset your model
- double click any task executer object and look at the "task" tab

HOW TO UNINSTALL:
- delete node /Tools/ModelLibraries/CTS_Profiler from your model tree
- save and reopen your model. There should be no trace left of the library.
- delete dll folder from your model folder

NOTES:
The library is coded in Flexscript except for two commands that need to access data structure of task sequences. These two commands are coded in c++ and therefore would require you to compile your model. To avoid this, both commands have been moved into a dll file included with the zipped library. This dll file is in a folder that should be copied into your model folder. This is done automatically when you unzip the library in your model folder.
Attached Thumbnails
Click image for larger version
Name:	Basic_tasktab.jpg
Views:	233
Size:	116.4 KB
ID:	1735   Click image for larger version
Name:	Advanced_tasktab.jpg
Views:	222
Size:	317.9 KB
ID:	1736  
Attached Files
File Type: zip CTS_Profiler.zip (83.8 KB, 183 views)
The Following 4 Users Say Thank You to Normand Côté For This Useful Post:
Vincent Bechard (04-05-2012)
  #2  
Old 07-08-2012
syseo's Avatar
syseo syseo is offline
Flexsim User
 
Join Date: Aug 2007
Location: Korea
Posts: 290
Downloads: 439
Uploads: 0
Thanks: 249
Thanked 63 Times in 41 Posts
Rep Power: 211
syseo has a spectacular aura aboutsyseo has a spectacular aura about
Default Hi. Normand. Can you add the feature of TS Queue list ?

Hi. Normand.

Your TS Profiler help my TS study.
But it will be good if it has the queue list to show the TS generation and disappear like the old TS profiler.

I want to know when TS is created and disappear in TS Queue.
Your profiler show all behavior related with active TS but do not show the not related TS creation and disappearance in only TS not CTS.

When testing dynamic TS creation and disappear, the feature should be needed.

Thanks.
  #3  
Old 07-10-2012
Normand Côté Normand Côté is offline
SNC-Lavalin GTS
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 17
Downloads: 21
Uploads: 0
Thanks: 1
Thanked 24 Times in 13 Posts
Rep Power: 170
Normand Côté will become famous soon enough
Default

Syseo,

The feature is already there. Just read the help tab beside "In Progress" tab for instructions on how to activate TS and CTS queues tabs. I hide them to keep the interface simple and clean for most users.

Normand




Quote:
Originally Posted by syseo View Post
Hi. Normand.

Your TS Profiler help my TS study.
But it will be good if it has the queue list to show the TS generation and disappear like the old TS profiler.

I want to know when TS is created and disappear in TS Queue.
Your profiler show all behavior related with active TS but do not show the not related TS creation and disappearance in only TS not CTS.

When testing dynamic TS creation and disappear, the feature should be needed.

Thanks.
The Following User Says Thank You to Normand Côté For This Useful Post:
syseo (07-10-2012)
  #4  
Old 07-10-2012
LINWEIXU
Guest
 
Posts: n/a
Downloads:
Uploads:
Default

hi can you show dll code to us ,thank you .
  #5  
Old 07-12-2012
syseo's Avatar
syseo syseo is offline
Flexsim User
 
Join Date: Aug 2007
Location: Korea
Posts: 290
Downloads: 439
Uploads: 0
Thanks: 249
Thanked 63 Times in 41 Posts
Rep Power: 211
syseo has a spectacular aura aboutsyseo has a spectacular aura about
Default Hi. Normand. After uninstall your CTS profiler and delete all related folder, when re-open the model...

Hi. Normand.

Your CTS profiler has some problem of not completely uninstallation after using it.
After uninstall your CTS profiler from nodetree and delete all related folder, when re-open the model and click reset & running it, it still tells 'Note: before performing this action, it is recommended that you compile first....." through message window.

It is very troublesome.
Of course, after it compiled, it runs good. But it not hopeful to use it.

I think some trace to be left somewhere after uninstallation as your help file.

What's the problem?

Tags
callsubtask, coordinated task sequence, library, preemptive


Thread Thread Starter Forum Replies Last Post
coordinated task sequences Shahin Gelareh Q&A 2 02-20-2012 01:36 AM
Coordinated Task sequence and call sb tasks Lucie Lerivrey Q&A 1 11-02-2011 11:05 AM
About Coordinated Task Sequences Normand Côté Gripes and Goodies 1 06-21-2008 06:08 AM
Can coordinated task sequence and "break to requirement" be used together? qin tian Q&A 1 05-26-2008 10:44 AM
coordinated task sequence, need help. qin tian Q&A 4 05-12-2008 05:52 PM


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.