Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Analysis Wizard Code
Topic Summary: An issue I'm trying to solve with the Analysis Wizard
Created On: 19-May-2006 00:52
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Dan Hopping, on Monday, May 22, 2006 11:32 PM

Answer:
This is not the most efficient, however if you must use the 'wizard' created code, you could add a couple of lines to simply pass over any links that do not go to modules you want in the trace column by comparing the link info to the module name. Just continue to the next link in the lm if the link does not point to one of the modules you want traced.

as you read each link out of the link module...

string modname = target l
if ((modname != your_module1) && (modname != your_module2) ... etc ) continue
 19-May-2006 00:52
User is offline View Users Profile Print this message


Kim Turner

Posts: 20
Joined: 28-Apr-2005

For Step 6 of the Wizard, I don't want to select *FINISH*, and I don't want to select a single module, either.

When I select either of those two options, I look at the code generated and see that I get "*" as
my linkModName, and/or a hex identifier in the array for the link and/or formal module selected at each level.

In my analysis, I only want to go 2 levels. I want to go from source module A to modules B and/or C and/or D etc., then to module Z.

I know which link modules I want to go through at each stage, but can't seem to get the right combination of link modules and formal modules with the Wizard, or through code that I've tried, to solve the traceability I'm looking for. I feel like it's right there in front of me, but keeps eluding me.

More simply stated, I want to go from [Formal module A] -->[link module i]--> [Formal module "*"] -->[link module j]--> [Formal module Z], and/or, from [A] --> ["*"] --> [!Z] .

For the entire chain, Fml mod A is known; link mod i is known; Fml mod "*" could be anything; link mod l needs to be selectable to Z or !Z.

Make any sense?

Do I have to do a 'for' loop through link mod i & Formal mod "*", or is there a better way? The Analysis Wizard in v7.1 doesn't seem to provide this much flexibility.

Thanks in advance for any advice.

Kim

Edited: 20-May-2006 at 00:47 by Kim Turner
Report this to a Moderator Report this to a Moderator
 22-May-2006 21:16
User is offline View Users Profile Print this message


Dan Hopping

Posts: 75
Joined: 21-Nov-2002

Answer Answer
This is not the most efficient, however if you must use the 'wizard' created code, you could add a couple of lines to simply pass over any links that do not go to modules you want in the trace column by comparing the link info to the module name. Just continue to the next link in the lm if the link does not point to one of the modules you want traced.

as you read each link out of the link module...

string modname = target l
if ((modname != your_module1) && (modname != your_module2) ... etc ) continue
Report this to a Moderator Report this to a Moderator
 22-May-2006 23:31
User is offline View Users Profile Print this message


Kim Turner

Posts: 20
Joined: 28-Apr-2005

Dan,

Thanks for the tip! I knew it was right in front of me, but was getting my variables wrong.

Kim
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.