Insertion des requirements du sequence file dans le header du rapport TestStand

Bonjour,
je suis à la recherche d'une solution pour que le rapport généré par TestStand contiennen dans son header les requirements renseignés soit au niveau de la séquence soit au niveau du sequence file.
comme ce sont des chmps prédéfinis dans la séquence, je pense qu'il doit y avoir une solution simple, mais je sèche.
J'ai réussi à récupérer les requirements grace à un additional result (dans un step de la séquence) mais dans mon rapport je ne génère que l'entête.
Si quelqu'un a une solution, merci d'avance

Bonjour,
Avez-vous jeté un œil sur les documents suivants :
Modifying HTML Report Headers to Include Custom Information in TestStand
http://digital.ni.com/public.nsf/allkb/F8243CE782AFF42086256E62006B3FC1?OpenDocument
How to Modify a TestStand XML Report Header
http://digital.ni.com/public.nsf/allkb/17ABBD0BF2A60D908625774200798869?OpenDocument
En espérant que cela vous aider,
Cordialement,
Matthieu RICORD
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
Été de LabVIEW 2014
12 présentations en ligne, du 30 juin au 18 juillet

Similar Messages

  • Sort sequences in a sequence file

    I just copied a bunch of sequences from different files into a common sequence file. I think there were multiple versions of some of the sequences, but sonce there's such a long list of them now, it's difficult to compare. If I could sort the sequences then the similar ones would all bunch together, and I could then decide which ones to keep.
    Does anyone know of a way to sort the sequences in a sequence file in TestStand 2.0.1 or eralier?
    Thanks in advance for eny help you can provide

    Hello,
    If your sequence file has a large number of sequences, the best way to rearrange the sequences is to build an application which does it using the TestStand ActiveX API. Here is an outline of something you could try. First, you can get a reference to your sequence file using the GetSequenceFileEx method of the TestStand Engine. From here you can get a reference to each sequence in your sequence file using the GetSequence method. Once you have a reference to each sequence in your sequence file, you can use the Name property to get the sequence name. Once you have the name you could order the sequences and then insert them into your sequence file using the InsertSequenceEx method.
    This should get you started with building your application which rearranges the sequences in your sequence file. Also, there is good documentation on the TestStand ActiveX API for TestStand 2.0.1 in the TestStand Programmers Help. This can be found by going to Help >> TestStand Programmers Help. I hope that this information is helpful to you.
    Regards,
    Kevin L.

  • HELP Sequence file translator, how to insert a sub sequence ?

    Hi,
    I would like to know how insert sub sequence in the sequence pane and
    how insert steps in this sub sequences with the sequence file translator which use
    text file (.lvtf).
    Which vi do i have to modify in the project LabVIEW of Seqfiletranslator ?
    (I think about the main vi TextTranslateToSequenceFile.vi maybe it's here.)
    Is someone who can help me please ?
    Attachments:
    wanted result.jpg ‏214 KB
    sequence file translator main vi.jpg ‏284 KB

    Assuming you are on CC:
    Drag the sequence from the Project Window into the main timeline.
    For induvidual clips uncheck this button.

  • How do I save a running sequence file

    Part of my testing requires a large number of variables to be passed to and from the UUT within TestStand. I can store some of these variables in the station globals, but I'd like the option to store others in the sequence files at run time and save them to disk (save the sequence file) at the end of the test. I can create variables in the station globals and commit the globals to disk just fine (LabVIEW vi's using the TestStand API). However, I cannot figure out how to do the same thing with a sequence file. My code is able to create and populate the locals variables with no problem, but I cannot save the running sequence file to disk with the new locals (or file globals) intact (they disappear when the sequence ends.) The reason I want to save the sequence file is to avoid manually entering all these variables into each sequence file locals list.
    So, I think the questions are:
    How do I make the new locals or file globals a part of the running sequence file?
    How do I save the sequence file to disk before it stops running?
    I can increment the change count on the file. I have figured out two or three ways to save the file while it's running without errors (although I doubt it's actually doing anything.) I'm using the TestStand API in LabVIEW vi's to pull this off and cannot find the functions I'm looking for.
    Sorry if this is rambling, it's kind of hard to describe.

    Hi Lars,
    The reason that we can't save the local variables created during
    runtime is because TestStand creates a runtime copy of the variables
    when the sequence starts. After the sequence is finished executing,
    this copy is discarded. The reason behind this is that TestStand allows
    for a single sequence to have multiple executions at the same time, and
    each instance gets its own runtime copy of the local variables. If new
    locals could be saved to the actual sequence file in memory, it could
    cause major problems for other execution threads of that particular
    .seq file.
    You can use the API to add variables to the actual file using
    GetSequenceFileEx and incrementing the Change Count, or create a
    separate sequence that modifies another sequence file, but adding these
    locals to the sequence file from itself isn't possible.
    Hope this helps Lars,
    Have a good one.
    Dan Weiland
    Applications Engineer
    National Instruments
    www.ni.com/support
    Dan Weiland

  • How to revert changes made to sequence file dynamicall​y

    Problem synopsis:
    1. TestUUTs entry point of custom process model, which is based on NI SequentialModel is being executed.
    2. PreUUT step of process model set Execution.ClientFile according to serial number, provided by operator.
    3. During sequence execution step module inserts additional steps into running sequence.
    4. After first UUT loop iteration sequence contain all the original steps plus all the steps, which were added dynamically.  This is exactly what I need.
    5. Next UUT loop iteration is executing on updated sequence file. This is what I trying to prevent.
    This design is serving following requirements:
    a) dynamically load test sequence
    b) dynamically add test results.
    So my question is: how to implement this correctly?
    I tried to release sequence file of previous iteration ("Engine.ReleaseSequenceFileEx") but it "SequenceFile.CanUnload==false" and "SequenceFile.IsExecuting==true".
    But this happens during execution of PreUUT of process model. I think, at this point client sequence shall not be executing.
    Steps 2. and 3. (see above) are executed in dll written using MS VC++ 2005.
    TestStand is 3.5.0.725
    Help me please.
    Thanks,
    Misha

    rishi_86 wrote:
    i have created a jTable in netbeans6. The table model is DefaultTableModel.
    i'm not understanding the concept of firecellupdate and other events listeners.
    i want the changes i make to the table during runtime to be written into a Text file.
    any help would be greatly appreciated.you need to add the TableModelListener to your table model.
    for example:
    model.addTableModelListener(new TableModelListener() {
                public void tableChanged(TableModelEvent e) {
                    // TODO Auto-generated method stub               
             });then, you need to put your custom business logic(saving data to a text file, etc) into the tableChanged method.
    From TableModelEvent you can get all information about the model changes.

  • When to release a Sequence File

    (ref. I'm trying to build my own operator interface in C++)
    When I get a reference to a SequenceFile object I have to release this object when I'm done.
    But If I AddRef the SequenceFile object before releasing it a first call to the ReleaseSequenceFile method should not actually release it, should it, It should do the actual release when I call the function for the second time.
    This is my understanding from the teststand activex help reference, however when trying this, it does not work...the sequence file gets released the first time ?
    can anybody help me out, maybe I'm doing something wrong here.
    here's my code:
    tsSequenceFile1.AttachDispatch( m_Engine.GetSequenceFile(strSequenceFile, TS_GetSeqFile_OperatorInterfaceFlags), TRUE);
    tsSequenceFile1.m_lpDispatch->AddRef();
    tsSequenceFile2.AttachDispatch(tsSequenceFile1.m_lpDispatch, FALSE);
    now releasing it twice...
    m_Engine.ReleaseSequenceFile(tsSequenceFile1.m_lpDispatch);
    // release sequence file
    tsSequenceFile1.ReleaseDispatch();
    m_Engine.ReleaseSequenceFile(tsSequenceFile2.m_lpDispatch);
    // release sequence file
    tsSequenceFile2.ReleaseDispatch();
    The second releaseSequenceFile, gives me the error message that the specified
    sequence file is already been unloaded by the engine.
    regards

    Adding a reference to an ActiveX object never makes a new copy of the object. The ActiveX object must offer some explicit method of duplicating it. In TestStand, this method is PropertyObject.Clone.
    Unfortunately, cloning a SequenceFile has a couple of wrinkles that don't arise for other object types.
    1) Before TestStand 2.0.1, you could not save a cloned sequence file.
    2) You cannot run a cloned file unless you first "load" the clone. Currently, the only way to "load" the clone is to save it or use GetSequenceFile to load it. Since you can't call GetSequenceFile on the clone until you have saved it, either method requires TestStand 2.0.1. I have attached an example 2.0.1 sequence which clones a sequence file object and then saves th
    e clone in order to "load" it so it can run. Please read the description of the label step for more information. If you don't have a beta copy of 2.0.1, the only way I can think of to clone a SequenceFile object (and still be able to run the clone) is to call a file system function to copy the disk file to a new name and then load the new file.
    - James
    PS. You could probably avoid both wrinkles by writing your own sequence file cloning function that creates a new sequence file and inserts clones of the sequences and variables from the original file. It would also have to copy over all the property settings you need. Note that I haven't tried this.
    Attachments:
    fileclone.seq ‏27 KB

  • How can I restore FileGlobals in a Client Sequence File that is reloaded?

    Hi,
    I'm using TS2.0.1f1 and dynamic client files (search "DynamicClientModel" to see an example) in order to load different test sequences depending on what product should be tested.
    We do something like this,
    newseq = IEngine.GetSequenceFile(...)
    Execution.ClientFile = newseq
    Do testing
    IEngine.ReleaseSequenceFileEx(newseq)
    Goto
    The first time a client sequence file is loaded it will copy the default FileGlobals from RunState.ProcessModelClient.Data.FileGlobalDefaults (TS does this automatically).
    The problem though is that after calling ReleaseSequenceFileEx() the actual sequence isn�t really disposed. Since when we later start over with another prod
    uct that uses the same client sequence file the GetSequenceFile() call returns the same copy that was used before and doesn�t copy the FileGlobals from RunState.ProcessModelClient.Data.FileGlobalDefaults, there by the second time the same sequence file is used, the FileGlobals don�t have there default values.
    So, to get back to the subject, how can I make sure that the second time around the FileGlobals have there default values?
    (Keep in mind that all this is done within the same execution of the processmodel.)
    I�ve included a short demonstration of this in the attached zip file.
    Any help appreciated.
    Cheers,
    Hans
    Attachments:
    TestModelFileGlobals.zip ‏12 KB

    Hi Scott,
    Thanks for the answer, I had been thinking about option nr 1 in particular but that would require more changes than I'm prepared to do right now.
    I tried option nr 2, but instead of adding that line to the client sequence file I made the copy operation in the process model like this.
    Execution.ClientFile = Locals.ClientSeq
    Locals.ClientFileGlobalsRef = Execution.GetFileGlobals(Locals.ClientSeq)
    Locals.SerializedCopy = ""
    [RunState.ProcessModelClient.Data.FileGlobalDefaults] PropertyObject.Serialize(Locals.SerializedCopy, "Test", 0)
    [Locals.ClientFileGlobalsRef] PropertyObject.Unserialize(Locals.SerializedCopy, "Test", 0)
    This seems to do the trick, although option nr 2 does seem a bit like doing things the way they weren't
    supposed to be done.
    Regarding option nr 1, are there any �Best Practice� documents, guides or examples on how one should best manage Engine and Execution lifetimes? Or to put it differently when to spawn new Executions and or Engines during the span of working with several units of the same product type and/or different product types?
    Cheers,
    Hans

  • Inserting line in a Text file using java

    Hi,
    I am working on a project in which the some data is required to be stored in a text file. I have lines of data in the file and I read 1 line at a time. So now I need to insert some lines of text in between. How to do this ??
    Now i'm using a temporary file and then after creating the data I replace the original file with the new one. But want to know is there any better way to do that same..?!?!

    Ok.. If I maintain a data in XML format, is it
    possible to insert a node. I'm using Xerces and DOM
    api for handling xml data.
    As a file, XML is just a text file so you insert as you would any file.
    Once parsed to a DOM model then sure you can insert nodes. Just look at the Javadoc for XML Document, Element, Node etc.

  • XI Sequencing: File Receiver adapter

    Hi All,
    I am in a IDOC to file scenario.
    Requirement is to process the IDOCS in the same sequence as they were created in SAP.
    E.g: if IDOC 1001 (created at 12:00:01 hours) and 1005 (created at 12:00:06) were created in SAP, then they should create the files in XI in the sequence File 1001 and then create file 1005.
    Currently both IDOCS came to XI almost at same time and somehow XI processed 1005 before 1001.
    Is there a way on the File adapter on receiver side how to achieve file sequencing for above issue.
    Regards
    Shirin

    Hi Shrin,
    As per my knowledge, IDOC sequence must be strictly maintained at sender side.
    Irrespective of the configuration you set in XI like maintain order runtime or serialization, how does it guarantee you that IDOC is been sent in sequence.
    Also note that IDOCS are processed via TRFC and not QRFC.  Moreover, can i know the reason or background of this requirement.
    I have never come across such a requirement except for in BPM where we collect all IDOCS and bundle it.
    OR you are just trying some prototype

  • Advantages and disadvantages of using only sequence files or working with sequence files in projects

    Hello,
    can anyone please tell me the advantage of using projects instead of just a sequence file? Do I need projects only if I have more than one sequence file?
    Thanks a lot!

    MGH,
    Projects are meant to help with organization of TestStand files, but with the intention of use as part of a deployment of your test system.  As the TestStand Reference Manual (page 2-5) puts it:
    "In TestStand, you can create a workspace to organize and access your development files. A TestStand workspace file (.tsw) contains references to any number of TestStand project files. A TestStand project file (.tpj) contains references to any number of other files of any type.
    Use TestStand project files to organize related files in your test system. You can insert any number of files into a project. You can also insert folders in a project to contain files or other folders."
    John B.
    Applications Engineer
    National Instruments

  • Edit Items in TestStand Sequence File Combo Box?

    Hello All,
      I am creating a basic user interface VI Project, based off of the examples included with TestStand.  In the "Simple" example, there is a Open Seq File button, and an associated combo box to select the Sequence File to run.  For my application, I would like to limit the sequence file options from which the operator can choose (not allow the operator to browse the entire hard drive to find a sequence file).  Using basic Labview functions, I would have done this with a regular combo box, and use the "Edit Items" option to load file options into the drop-down menu.  However, the TestStand UI combo box does not allow this, presumably because it is an ActiveX control, and configuration is different from normal Labview functions.  Is it possible to pre-load the TestStand UI combo box with allowed sequence files?  Or, if there are other suggestions on how to accomplish the requirement, I am open to them as well. 
    Thanks in advance,
    GSinMN       

    One idea is to use the native LabVIEW controls.  Then hide the TestStand UI controls and update them from the events triggered by the native LabVIEW controls. I have had to do this before on UIs when the customer wanted a certain look and feel.
    So basically have the native LabVIEW combo box set like you want.  When the user makes a selection, in the event for that selection update the hidden TestStand Sequence File Combo Box witht he correct sequence file.
    Another option is to use events for the Sequence File Combo Box and just filter and force certain behavior.
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • "The required index.xml file is missing."

    Hello everyone !
    I created a pages files a couple of days ago.
    I modified it successfully yesterday, by adding some jpeg files in it.
    But, now i can't open it.
    The massage is "The required index.xml file is missing."
    Although I still can have a "quick look" at my file.
    This is the first and only time I've had this.
    What can I do ?
    Thank you for your concern.

    speckel wrote:
    I tried using the .zip trick, but it doesn't work...
    May you explain what means "it doesn't work".
    I know what means "it works" : we get a package in which we may find the Index.xml file
    "It doesn't work" may means :
    (1) double click the zip file can't expand the file
    (2) it expands it but there is no index.xml file in the resulting package
    (3) it expands, there is an index.xml file but Pages can't use it
    It's a bit odd but we get the same error message in the three cases
    In case 1, your unique help is the pdf displayed in Preview.
    In case 2 & 3, you may retrieve your picture files if you inserted some of them.
    In case 3, sometimes, we may extract the text contents when a preview.pdf isn't available but for you, it's unneeded as the preview is available. So, you may extract the text component with a Copy/Paste action.
    CAUTION : I hope that this stupid accident will help you to understand that computers aren't perfect tools. When we use them, the main rule is *_keep incremental (chronological) backups_*. This will give you the ability to retrieve an usable document among a set of consecutive copies.
    You may achieve this goal with :
    (1) my free autosave script (dedicated to iWork)
    (2) the application ForeverSave which apply to every applications but is not free (to get incremental backups).
    Yvan KOENIG (VALLAURIS, France) lundi 20 décembre 2010 16:02:05

  • Questions about "Diff Sequence File With..." function

    Hello,
    I've started working on a project where I'm maintaining a piece of older code written by a since-departed employee of my company.  It's a TestStand 3.0 sequence file calling on Labview 7.0 code. The thing is, there were two of these installations done at different times and, somewhere in the woods between stations 1 & 2, the code base diverged.  Part of it was due to not being able to get exact duplicate hardware for the PXI chassis and part was, apparently, due to the fact the client used the 2 machines to test different UUT models.
    So, I'm looking at copies of the installed code base on the two machines using the diff feature in TestStand.  (If it makes a difference, I'm doing this viewing in TestStand 3.5 since TS3.0 has mysteriously gone corrupt on me at the moment on my main development computer and, if memory serves, you have to uninstall all the later version of TS to reinstall an older version.  An altogether fun process, no doubt, but a little time consuming.)
    Anyway, the first thing I notice is that very many of the sequence steps have different Step Properties.Step ID values that look something like this: "ID#:2vMTp0db002mQDXArddRSA".  Messing with the diff screen showed an option to "Ignore Unique Step Ids" which got rid of these.  Regarding these unique step ID's: When are they generated and do they remain constant on a particular machine?  Beyond mere curiosity, I wonder because another diff is in some of the "On Pass Target" or "On Custom Condition True Target" under certain Step Properties and the value under there looks suspiciously like those unique ID's (i.e. ""ID#randomstuff"").  Are these all dynamically updated at runtime or will I break something by changing those (say if I copy a sequence from one version overwriting it in the other)?
    So, I filtered the unique ID's out.  The next large area of difference is that many, but by no means all, Labview VI calls have a difference under Step Properties > Flexible Labview Adapter Properties > ViCall > Connector Pane Checksum > Value.  Also, in a few other instances, ViCall > error out > Connector Number is different as well.  Does this indicate a different underlying VI?
    There are a few other differences, but I can interpret those.  My goal is to get one sequence file for both machines so the code will be easier to maintain.  I do think that some of the VI's with different Connector Pane Checksums may be different between the two installations since one of the different hardware components required a different driver library.  This leads to a third question, what does it take to use identical sequence files when the underlying VI's might differ?  Is it just the interface needs to be the same?  Like the connector pane has the same geometry and data types for the exposed inputs and outputs?
    Thanks for any help,
    Mike
    Solved!
    Go to Solution.

    I just got off the phone with NI support, so no worries on the answers.
    Short versions:
    The unique ID's are regenerated when a sequence is copied.
    Teststand doesn't need higher versions uninstalled to reinstall an earlier copy.
     Connector Pane Checksum implies a different underlying VI, but having the same connector geometry/inputs/outputs/types should allow you to have a different VI for different installations without different sequence files.
    Still waiting to hear back from support on whether the goto pointers get updated properly when a sequence or portion of a sequence is copied.

  • Insert Object (create from pdf file) in wordpad fails

    Problem:
    I am unable to insert object (create from existing pdf file) in wordpad application.
    Environment:
    OS: Windows 7 Professional + SP1 (64-bit)
    Acrobat X (32-bit installer)
    Procedure:
    Open Wordpad application, click on 'Insert Object', choose 'Create from File', Browse and Select exsting pdf file, click 'Display As Icon' and Click 'Ok'
    Expexted Result:
    PDF should get inserted as OLE object to wordpad
    Actual Result:
    Error message "Failed to create object. Make sure the application is entered in the system registry."
    Addition Notes:
    I noticed that while insterting PDF (OLE object) it seach for certain registry key (AutoConvertTo) which is not available hence it fails.

    Yes, I am aware. But this problem appears only when I insert PDF file (which is Adobe file).
    I guess this has nothing to do specifically with 'wordpad' but I referenced known application from standard offiering. It happens with any 64-bit application using 'rich-edit' control (this is Microsoft too ) and allowing user to insert OLE objects.
    I guess somewhere Adobe Acrobat installation fails to create required registry entries which are being referred by 64-bit applications while inserting PDF files as OLE objects.

  • Help:set up simple test sequence, operator selects particular test then teststand links to part of sequence file and performs test

    Hi,
    I am extremely new to TestStand, please see question below and offer advice.
    I want to set up a simple test sequence.
    I want a message to popup on screen that asks the operator which unit of 6(max 10) Units to test(i.e. there are say 6-10 box's to select from).
    Then the sequence goes to the particular part of the sequence and performs the test on which ever unit was selected.
    What is the best way to do this?
    Could i use message popups to do this?and if so what do i need to do link it to the correct part of the sequence file?
    Do message popups only allow 6 options to select from?
    Thanks,
    Solved!
    Go to Solution.

    Hi,
       You can do using message popup method. You can ask the user which unit want to execute by inserting message in message expression in message popup step settings.Something like below
    "Enter unit number to execute 
     1.  Unit1
     2.  Unit 2
     10. Unit 10"
    then check "Enable response text box" from options tab in step settings.When user enters unit number you can get the user entered value by inserting the below statement in post expression of message popup step settings
        Locals.String = Step.Result.Response 
        Note : String is a local variable to be defined.
    Convert that string in to number and send that output to switch expression there by you can use a sequence call step to call sequence whichever to be executed. (I hope your each unit will be seperate sequence file)
    I hope these resolves your problem. If you don't understand let me know so that I can develop a small example and send it to.
    Cheers,
    krishna 

Maybe you are looking for

  • Formula variable / Replacement path issue

    Hi Experts, I have a Field which has different status description. I want to bring the count of only one preferred description. Model Status A1     New A2     Open A3     New B1     Closed B2      Pending B3     New I want to view only the closed cou

  • My iphone 5 suddenly won't switch to landscape mode when texting

    I've had iphone 5 for about 2 weeks and recently when I turn my phone to landscape when texting it doesn't switch to landscape

  • Mapping and transormations

    hi experts,i am mapping between source field and target infoobj by dragging ,but what should i do for fiscal variant,ocalday, ocalmonth,fical year,for these time based targets,is it any thing to do in transformation settings ,if so tell me,what are t

  • Best approach to store collection for html:options

    I am using struts to develop my web application. I am trying to figure out the best way to store a Collection for html:options inside a html:select element. My JSP page has a html:select statement which lists all the groups in a system. I have a memb

  • Muse cc 2014 showing trial with membership

    I have a subscription to the Muse software that is current. It has been showing the trial countdown ever since I updated it through the desktop software app. I am afraid that in 4 days when the countdown is over, I will lose the use of my app. Thank