![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() 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 | |
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
Dan,
Thanks for the tip! I knew it was right in front of me, but was getting my variables wrong. Kim |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Analysis Wizard Code
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.