Requirements Gateway define excel covers

Hi,again I put this question at Labview.....
I have a problem to connect my testspecification in excel to the requirements in word, i tried to add an column with [Covers: xxx] and when testing the expression i get all column but not connected to req.spec
1. How to get only the text in column x
2. How to connect the [Covers:xxxx]
Could it be that I convert the word template to use Header2, Header 3 as requirement, because not to change the original req doc. 
Example in word
1.10 Download software
 type expression requirement: ^Heading 2\t(?[\d\.]+)[ \t](.+))$
Excel:
|1                         |2                                           |3                             |4                                     .......
[Covers:1.10]      1.10 Download software      Test with.....             070927/pv0.23               ........
Type expression covers reference: \|1 (\[Covers.+)
The excel should cover Excel.
Best regards CB

I am not exactly sure what you are trying to accomplish, but based on my best guesses, a reference attribute sounds correct.  If each column in the Excel Spreadsheet you attached is an attribute of a given reference, you want to use a reference attribute.  I have made changes to the types you attached.  First, in the Word type, you are having duplicates between sections and requirements since Heading 2 is used for both.  I removed the sections since it appears that you aren't using them for this purpose.  In the Excel type, I added a section for each line that contains a requirement.  I also added a reference attribute for each of the other columns and used the proper regular expression.
If you are confused by the regular expressions, I recommend reading more about the topic.  One of my favorite sites to get started is http://www.regular-expressions.info/tutorial.html.  This will get you used to the basics of understanding the expression language used.
Allen P.
NI
Attachments:
Project_REQ_rev_A.zip ‏2 KB

Similar Messages

  • NI Requirements Gateway 2012 and Excel

    Hi,
    Just a short question. I have an excel file wich is saved as .xml. I would like to use it in NI-RG 2012.
    Only .xls and .xlsx were supported.
    I there a posibility to use my .xml file
    Regards
    Juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

    Hi Juergen,
    Unfortunately there is no built-in type to parse .xml excel files, only the .xls and .xlsx files are supported, as you mentioned.  However, you could create a custom XML type to read this data.  To do so, open the Types tab in the configuration window, and click the New XML Type button at the bottom left.
    Refer to the Types topic in the Requirements Gateway help for more info on creating and customizing types.
    Al B.
    Staff Software Engineer - TestStand
    CTA/CLD

  • Is it possible to define limits, parameters, etc. (in TestStand) as requirements for Requirements Gateway?

    Hello guys,
    Actually this is more a "Requirements Gateway" question. However, as there seems to be no board for it yet, I'll try my luck here.
    So, this is my situation:
    I'm using Requirements Gateway mainly to manage changes and different versions of requirements.
    The requirements are written down in a Word file. Certain steps in TestStand sequences cover those requirements.
    What I am interested in is to be able to see when a change in my requirements has occurred but the TestStand file hasn't yet been altered to meet the new/changed requirement.
    Now by "requirement" I mean things like limits, parameters (voltages, currents, etc.).
    Does anybody know, how to do this?
    So far I am only able to process things that are formatted with the "Requirements_ID" style in a Word file.
    However, the parameters mentioned above are in the "Requirements_Text".
    Ok, sorry once more if this is the wrong place to ask this.
    Greetings from Wetzlar, Germany

    Hi there,
    I found a solution to my problem. However not with the help of the people of NI!!
    As a matter of fact, I'm still waiting for some practical advice from NI.
    When I phoned them on July 12th, the woman at the other end didn't even know at first that Requirements Gateway was a National Instruments product !!!
    I then got outreached to a guy who wanted me to mail him my problem. I did but got no answer. So I called again and was promised to be called back. Yesterday (13th), after having left for the day some guy called back and a collegue of mine left me a note with the email address of the NI guy.
    I wrote him an email this morning and I'm waiting for his reply.
    I have to admit, I expected more. Now I'm rather disappointed by NI. I mean, you buy a software worth $2000 and they don't really know it's on their products list !!! Come on!!
    However, HERE IS THE SOLUTION I FOUND:
    First load your project (if not already loaded) into Requirements Gateway (NIRG).
    In the menu bar click on "File" then on "Edit snapshots".
    A dialog box called "Configuration" will appear.
    You can now make a snapshot of your current project by clicking on "File" in the menu bar and then on "Make a snapshot of current project...".
    NIRG will prompt you for a name for your snapshot.
    Afterwards you will see your snapshot in the left column.
    Whenever a change occurs to your project, NIRG notices this (it asks you whether or not to reanalyze the project), you can now go to the "Configuration" dialog box and click on the snapshot you took earlier on.
    In the right column you will then see EVERY change in your project. When you click on an item that has changed, in the two gray fields below you can even see HOW things have changed.
    By selecting "Display" -> "Selected snapshot view" you can even see what your project looked like when you took the snapshot.
    OK, this is as far as I got.
    I won't tell NI about my solution . I'm really curious to see whether they come up with the same idea or something even better.
    Take care!
    Gabriel

  • Requirements Gateway - Searching for requirements in table rows in a Adobe PDF file

    In my quest for creating a good understanding of the coverage of requirements of my test cases I download the NIRG (NI Requirements Gateway) and started out importing my SRS (System Requirement Specifications) documents and some of the test cases. There are many different types of sources which can be imported (Word, Excel, Visio, Access, PDF, ...) and NIRG uses REGEX (Regular Expressions) for extracting the requirement and coverage information of the sources. NI have defined some standardized REGEX formats but they (NI) have also made it possible for tweaking these to fit your purpose. 
    Instead of adding/changing the SRS documents to fit these standardized REGEX formats, I dived into how to create REGEX for my purpose. 
    Check out 
    - http://www.regular-expressions.info/ 
    - http://opencompany.org/download/regex-cheatsheet.pdf 
    NI Requirements Gateway Coupling Series 
    (http://zone.ni.com/devzone/cda/tut/p/id/8414)
    NI Requirements Gateway for Test, Measurement, and Control Applications 
    (http://zone.ni.com/devzone/cda/tut/p/id/3721)
    Is there anyone who have any experience on using NIRG on a PDF document to get information from the rows in a table?
    Best Regards,
    Marcus
    Marcus Törndahl
    Senior Software Designer @ Prevas AB

    Hi Manooch_H,
    Here is the example document and thank you for taking the time and helping me out .
    The columns which I would like to import into NIRG are actually all of them. The UC, Verification, Priority and Responsible columns should be imported as attributes to the requirement. The ID and Requirement columns should be imported as the Requirement and Text respectivaly.
    Best regards,
    Marcus
    Marcus Törndahl
    Senior Software Designer @ Prevas AB
    Attachments:
    SRS.pdf ‏212 KB

  • Requirements gateway & regular expressions

    I'm trying to create a regular expression that will match a Requirement ID type in a MS Word document using Requirements Gateway.
    Our syntax for a Requirement ID is as follows:
        '* shall [::requirement id] *'
    An example would be
        'The system shall [::requirement1] self destruct after 1 minute of use.'
    I'm using the following RE.
        shall[ \t]*\[[ \t]*(.*):.+)\]
    I've been able to get it to match 'most' of Requirement ID's ,but a few aren't caught...most noteably those Requirement ID's that run past the end of the
    line.
    When 'shall' is on one line and '[::requirement1]' is on the next, the Requirement ID isn't matched.
    Are there any limitations to the RE engine that Requirements Gateway uses?
    If not, any help with the RE would be MUCH appreciated.
    thanks
    Pat

    Allen,
    Thanks for the advice.  Unfortunately it didn't help
    Again, our requirements are identified by a 'shall' followed by a tag in brackets. 
    Ie  The unit shall [<optional source>::requirement id] be expensive.
    The RE, "shall\[(.*):.+)\]" doesn't always work. (Sorry for the embedded emoticon)
    Most of the time it identifies the tag but says
    Requirement ' : XYZ' can't be covered.
    Error: Requirement defined several times
    Other times is combines two tags into one.
    I'm attaching the modifed type and the doc thats causing the problems.
    Thanks for your continued help,
    Pat

  • Requirements Gateway Beta Available

      The Requirements Gateway beta is available for public use.
    Please sign up at ni.com/beta to participate!
    Features of the Beta include:
    Support for Windows Vista
    Enhanced LabVIEW type extends coverage specification to block diagrams
    Analysis of LabVIEW project (*.lvproj) and library (*.lvlib) files for large application support
    Increased impact analysis through custom and included marks
    Added types for Microsoft Office 2007 support
    PDF report generation
    ...and more!
    Josh W.
    Certified TestStand Architect
    Formerly blue

    Andrey,
    When you define a custom type in Requirements Gateway, you have the option to define the editor to open your file with.  I haven't tested it with Calc, but if you choose the "Text" editor, and then define Writer as the default program to use for ".txt" files, I believe that it should open the file.
    The problem is that navigation is not simply opening the file, Requirements Gateway will navigate to the place in the file where the requirement or coverage or section exists if you double click on one of those items.  However, it does this through the program's API (Word or Excel for example) which is not going to be equivalent to the OpenOffice API.  In this way, we can't simply drop OpenOffice in for Microsoft's product and get it to work.  The method I described above should allow you to at least open your document.
    Josh W.
    Certified TestStand Architect
    Formerly blue

  • NI Requirement Gateway Table Requirements

    I am trying to pull requirements out of a *.docx table and understand that I must first create a custom type in order to perform this. As I understand I must edit the regular expression for the Requirement Type in order to parse the requirement from the Intermediate File. Where can I find this intermediate file in order to base my regular expression off of it?
    References:
    http://forums.ni.com/t5/LabVIEW/Associating-requirements-in-my-Word-Document-with-NI-Gateway/m-p/987...
    http://forums.ni.com/t5/LabVIEW/Requirements-Gateway-1-1-doesn-t-recognize-requirements-defined/td-p...
    Thanks,
    Craig

    Hi Craige,
    In order to generate the intermediate file, you'll need to enable it in the Project tab of the Configuration Window (see the checkbox in the image below).  Once this is selected, a folder called "Intermediate" will be created in the location of the document file, and this folder will contain the intermediate file.  Once you have this file, you can paste the contents into the Text analysis  zone (in the Expressions tab in Configuration) to test your regular expressions.
    Hopefully this clarifies things - let me know if you have further questions!
    Al B.
    Staff Software Engineer - TestStand
    CTA/CLD

  • Using Requirements Gateway with LabVIEW classes

    Does anyone know how to get the NI Requirements Gateway to read coverage information from the documentation contained in a LabVIEW class (.lvclass)?
    Requirements Gateway appears to load the documentation content fine from VIs, controls, .llb, .lvlib, .lvproj etc, but not .lvclass? My LabVIEW keeps crashing out when I try to point Requirements Gateway at a project with .lvclass files!
    If this can't be done then is there a neat way to add requirements coverage information (you know, the "Covers: ID" field) into the class properties, or something near the class maybe, that Requirements Gateway can read?
    Thoric (CLA, CLED, CTD and LabVIEW Champion)
    Solved!
    Go to Solution.

    Hi Manooch,
    Thank you for your prompt reply. The example you attached, with a little alteration to include the coverage ID tag in the class documentation field, does precisely what I need, thank you. The snapshot below shows the LabVIEW class satisfying requirement 2:
    However, this doesn't work in my project. I have similar content, and when I ask Requirements Gateway to analyse the project it shows nothing and then LabVIEW crashes! I'll have to try stripping my project down to the bare bones to find the problematic element. I hate it when this happens....
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • Import the test results and doors links back to doors with NI Requirement Gateway

    Hi together,
    I will try to explain my problem:
    We are using TestStand, DOORS and the NI Requirement Gateway.
    We created a test specification in DOORS, TestStand used the DOORS IDs to connect the TestSteps in Teststand with the requirements in DOORS.
    TestStand runs the test and creates XML-results, the NIRG is able to import these XML-results back to DOORS and creates a new(!!!) DOORS module, parallel to the said test spec.
    This module contains some attributes like the single test steps, the results (pass,fail, whatever, ...) but now I am missing a relationship between the DOORS test specification and these results of the XML file or better, the XML-import in the new DOORS Module.
    We want to manage our test results only(!) in DOORS so it should be possible to link(!) automatically the results of the XML to the DOORS TestSpec cause we are able to transfer the DOORS-IDs or other attributes (i.e.. The "un"unique NI ID#") too!
    in ASCII-art:
    DOORS_TestSpec -> NI_TestStand -> NI_Result -> DOORS_Result  <--------- with LINKS to the DOORS_TestSpec!!!!!!!!!
    Next Step is the DOORS Analyze Tool but we need the links to follow them and to show us the results.
    Would be nice to know if somebody else knows the problem or perhaps someone has an other solution. Thanks for your time!
    Greet

    Regarding your statement "We will generate a chunk of XML-Results, so we are not able to link all the requirements by hand", are you concerned about having to update the path to the XML files each time you run the test?  In this case, I would recommend creating a directory to store only the most recent report (the report path can be modified in the TestStand report options), and set the XML report project in Requirements Gateway to point to this directory.  In your TestStand sequence, you could call code which moves the previous report file into a backup location so that only the newest file is in the specified directory.  THis would prevent you from needing to modify the Requirements Gateway project to access the latest report; reanalyzing would reload the project with the new file.  The traceability information will therefore always be up to date, and you can see that the DOORS requirements are being covered by the test results.
    I agree that there is not really a good solution for importing the XML reports into DOORS, but I think you can acheive the result you are looking for using the report files directly.
    Al B.
    Staff Software Engineer - TestStand
    CTA/CLD

  • Requirements Gateway customize DOORS Advanced Type

    Hello, I am in trouble with R-Gateway...first of all i did not find a R-Gateway Board to post my question, sorry 
    I started adopting the "DOORS Linking Example" as follows:
    -added a LabVIEW project as document with [Covers: DesignReq], PASSED.
    -added attributes to DOORS Linking Example Req-Flag (which shall be used instead of Object Type) and Req-No (which shall be used instead of ReqID)
    Now 3 documents in R-Gateway configuration: DOORS SRD, DOORS SDD and LabVIEW Project
    -changed the SDD type from Object Type = Requirement and requirement ID = ReqID to Req-Flag = "R" with requirement ID = Req-No, PASSED
    -changed the SRD type from Object Type = Requirement and requirement ID = ReqID to Req-Flag = "R" with requirement ID = Req-No, FAILED (SRD requirement status changed from "covered" to "not covered" Note: the DOORS Objects are linked with "refers to" links)
    Trying narrowing...back pedal
    -changed the SRD type from Object Type = Requirement to Req-Flag = "R", PASSED
    -changed the SRD type from requirement ID = ReqID to requirement ID = Req-No, FAILED: again coverage lost
    I can not figure out the problem. Hoping there is someone out there who is familiar with R Gateway i am looking forward to hearing from you soon =)
    Thanks in advance
    RZM
    Solved!
    Go to Solution.

    Here is Req-No displayed                      Here "Absolute Number"
    DOORS uses the attribute "Absolute Number" as unique ID for DOORS objects. This attribute is read-only for all DOORS users including admins. I want to cover these IDs with [Covers: ReqID] entries in LabVIEW code. The reason is I don't want to rely on requirement numbers which shall not be changed. For example when SDD shall be exported for inital release a user might reassign consecutive requirement numbers for beautification.
    For analysis and compliance matrix I don't want to use "Absolute Number" but the "Req-No". SDD object "1" has the requirement number "SDD-10". I know haw to display it in the attributes canvas located bottom left. How can I reference it with somthing like "$i" to display it instead of "$i"?
    Thank you =)
    Yours
    RZM

  • Requirements Gateway - Front Panel Objects

    Hi,
    I am just about to start using the requirements gateway and I have a couple of questions to help me get going...
    1 - If I create a vi on a machine without RG installed and then move it to a machine with the RG installed, will the tags still be recognised?
    2 - Does RG recognise the [Covers XX] syntax if it is on a front panel and not the block diagram?
    Thanks for your help.
    Darren.
    Solved!
    Go to Solution.

    DazzaNL wrote:
    If not, I'm always looking for an excuse for a tea break...
    Don't expect it to be that bad.  
    Whever I see someone at NI talk about Requirements Gateway, or see them use it, I am reminded how disconnected these individuals are with how it is used in the real world.  2-3 VIs?  Who has 2-3 VIs?  If you have a program with 2-3 VIs I think you can track the requirements your self.
    The largest program I think I used it on had something around 3000 requirements, and that went into 4000 or so derived requirements, that linked to VIs, TestStand files, and Word documents.  Ever used that one tab in RG that shows how each file links to each file with requirements?  The one with all the lines pointing to all the bubbles?  Yeah that is utterly useless if you have more than 10 or so requirements.  For that program I described it looked like a conduit made of 1000s of little lines.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Erreur NI Requirements Gateway

    Bonjour,
    J'essaye de charger une lvlib dans NI requirements Gateway. Pour cela je créée un projet NI Req, ajoute un document de type Labview et sélectionne ma lvlib.
    Melheureusement j'obtiens deux erreurs :
    COM error (echec de l'appel de procédure distante)
    Conversion problem (file : ma lvlib)
    La PJ donne le détail des erreurs.
    J'espère que quelqu'un pourra m'apporter un début de réponse...
    D'avance merci,
    Philippe
    Pièces jointes :
    2010-12-06_155609.jpg ‏109 KB

    Bonjour,
    Avec la même version de NI RG je n'ai pas eu de problèmes pour charger une librairie.
    Qu'est-ce qu'il y'a exactement de votre librairie ? Des classes LV ? Des controles ? Uniquement des VIs ?
    Est-ce que vous arrivez à ouvrir cette librairie avec LabVIEW sans problèmes ?
    Avez vous recompilé les VIs de cette librairie ?
    Typiquement un LVLIB est just un fichier XML qui indique ou sont situés les VIs présents dans la librairie. Il ne devrait pas y'avoir de soucis. Comment avez vous ajouté cette librairie a votre projet d'exigences ?
    Cordialement,
    Da Helmut

  • Requirements Gateway: Visio - COM error

    Dear Developers!
    I have a problem using Visio files in Requirements Gateway 1.1: when I open the example project ('Visio Example.rqtf) this info is shown:
    Error: COM error (Class not registered)
    Error: Conversion problem (file ...\Visio Example.vsd)
    The operation system is Windiws Server Standard SP1. There is no full version Visio installed only Microsoft Office Visio Viewer 2007. Could this be the problem, or should I change some configuration of the Requirements Gatewaw?
    Knáb László

    You can perform traceability analysis on Visio documents by capturing
    traceability information from the custom properties in Visio 2003 or shape
    data in Visio 2007 or by creating references in the Graphical View in
    Requirements Gateway.
    (Excerp from "Coupling Microsoft Visio with NI Requirements Gateway")
    Hm, i would say your guess is quite promissing: you will need i full version of Visio in order to get it to work since ther is nothing said about Visio Viewer.
    Maybe you can get some kind of evaluation version for Visio in order to test this.
    thanks,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Ni requirements gateway examples

    We are using Microsoft Word for capturing our requirements.  LabVIEW and TestStand to actually run/control our tests.  I would like to use NI Requirements Gateway to link all of these sources of data.  I'm stumbling my way through the customization and user guide for Gateway, but I'm not really clear on some things.  I'm wondering if anyone has a small example they can share that shows how these items would all be linked?

    This depends greatly on the format of your Word Document that holds requirements.  The default format that Requirements Gateway can read consists of using Styles in Word to determine what is a Requirement and what is the description text of that requirement.  This example can be found in the NIRG directory under <NIRG>/examples/Word/.  This format can be customized if you are using a different format.  However, in order to be parsed, there must be some regular format that can easily be understood by a computer.  For more information with using word, the Coupling Document on Word found in the Help is the best place to start.
    Allen P.
    NI

  • Come The New Requirements Gateway Users Group

    Hello all,
    Have you ever tried to find an answer to a issue you are having with Requirements Gateway and been frustrated by not finding a dedicated forum or users group, well no longer!
    A Requirements Gateway User Group has been created on the communities and everyone, even those who are only curious, is invited to join.  There isn't much content at the moment since it's still a bit of a fledgling.  Please join and add your content, questions, & tips to help us grow.
    You can join by going to https://decibel.ni.c...way-users-group
    See you there.
    Wire Warrior
    Wire Warrior
    Behold the power of LabVIEW as my army of Roomba minions streaks across the floor!

    Hi D. Kelley,
    Thanks for the details. Based on your description, you might need to change or update the SID for users. Try identity command to change the username if you never use the new username in TFS. Check this page for more information about
    identities command in this
    page.
    You can also check the table "tbl_Identity" in the tfs_configuration database to see if the new user exists, or it has the old user. Another option is have a check on other machines to see if it works fine. Refer to links below for more information:
    https://social.msdn.microsoft.com/Forums/en-US/93568425-a877-4d21-8497-1adc4561b6d3/unable-to-check-in-code-to-tfs-due-to-tf14002-the-identity-old-user-name-is-not-a-member-of-the?forum=tfsversioncontrol
    https://social.msdn.microsoft.com/Forums/en-US/acc56859-624f-41bc-b698-cbb5e0b8f525/cant-check-in-code-the-identity-devoldusername-is-not-a-member-of-the-team-foundation-valid?forum=tfsversioncontrol
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • ATS files in cache hang system at startup

    We have this inconsistent problem happening on all our Mac's (10.4.10). The problem does not happen each day or consecutive days. Here is what happens. Start the Mac in the morning. When it get's past the startup screen and then starts the load the d

  • Acrobat 7 pdf printer won't install

    Finally managed to get CS2 installed on a new Vista machine after old pc died, and apps appear to work. Acrobat 7 launches with no issues. However if I try to create a PDF from Word, it tells me the pdf printer isn't installed (and its not listed in

  • String Plug In's

    Has anyone got recommendations for string plug in's? I was looking at Miroslav Philharmonik, couldn't see if it was Intel Mac compatible yet. It sounds excellent, any other recommendations? or does anyone use this piece of kit. I see you need a USB k

  • IE 11 not displaying report parameter window

    We have noticed that IE 11 is not displaying the input parameter window where user inputs their parameters like date ranges or other parameters. While parameter windows shows up in firefox. We are using crystal reports 2011 on tomcat 7 production ser

  • Music cutted out during last few seconds!!

    I just insert some of my new musics into my Ipod 5G, but most of them got cutted out at the last seconds then play back. I did reinsert the musics, but still the same. Any idea?