ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Requirements Gateway 1.1 doesn't recognize requirements defined in a wordx table

Hi all,

 

I'm encountering a problem with Requirements Gateway 1.1 build 586.

 

I do have a wordx file in which I use tables. In these tables, there are some coverage information for some upstream requirements. These coverages are well detected by requirements gateway. 

 

I do also have some new requirements defined in such tables and these aren't detected by requirements gateway (although I use the correct styles). The only way to get them recognized is to move them out of the table...

 

Any ideas ?

 

BR,

Martin

BR,

Martin
CLD
0 Kudos
Message 1 of 5
(3,013 Views)

Martin -

 

You will have to create a custom WordX type to be able to parse requirements within tables. When you create the custom WordX type, try changing the Requirement regular expression from:

 

^Requirement_ID[ \t]+(\S+)(?:[ \t]*\:[ \t]*(.+)|)$

 

To:

 

^.*Requirement_ID[ \t]+(\S+)(?:[ \t]*\:[ \t]*(.+)|)$

 

Let me know if this helps.

Manooch H.
National Instruments
0 Kudos
Message 2 of 5
(2,999 Views)

Dear Manooch,

 

I did not quite work, as we have several columns with a requirement in each. A colleague (more familiar with regular expressions than me I have to admit Smiley Happy ) came with the following expression that does the work perfectly.

 

Requirement_ID[ \t]+(\S+)(?:[ \t]*\:[ \t]*([^\|]+))

 

Thanks for your help !

BR,

Martin
CLD
0 Kudos
Message 3 of 5
(2,990 Views)

Good to hear Martin. Glad you are able to move forward.

Manooch H.
National Instruments
0 Kudos
Message 4 of 5
(2,985 Views)

This regex worked for me:

 

\|\d Requirement_ID[ \t]+(\S+)(?:[ \t]*\:[ \t]*(.+)|)$

0 Kudos
Message 5 of 5
(2,891 Views)