Modifying reportgen_txt.seq Sequence Filepath

I am attempting to modify the reportgen_txt.seq file to print to a receipt printer, which requires many of the printed lines to be shortened.  I have placed a copy of the reportgen_txt.seq and the SequentialModel.seq in my ...\Components\User\Models\TestStandModels folder to make the required modifications.  My problem is that, while I am able to change the header information, I am not able to change the results information.  I would like to delete the subseqence filepath information from the report.
This in what I have tried.  In my User reportgen_txt.seq file AddSequenceResultToReport subseqence, had attempted to delete the [Add Sequence File Path] step.   This has no effect on the  displayed report.  I have attempted to step through the sequence, but don't see where or how the sequence infromation gets added to the report.  I only see the header and footer being added.
Am I missing something??

Hi,
In reportgen_txt.seq the sequence file path is added to the report string in the sequence AddSequenceResultToReport at the step in the main called "Add Sequence File Path".
Hope this helps
Regards
Ray Farmer
Regards
Ray Farmer

Similar Messages

  • Where the string "failed" is created in steps in the main sequence to fill into Parameter.Result PostUUT in the NI teststand II courese example 4-1 Modifying callback.seq

    For PostUUT in  the NI teststand II  courese example 4-1 Modifying callback.seq, there are two steps, one is Test Passed,
    the other is Test Failed, both set each preconditions, for example, Parameters.Result.Status == "Failed"  in the test failed step, if the step failed in the main sequence,the string "failed " is filled into Parameters.Result.Status
     but I can't find where the string "failed" is created in steps in the main sequence. 
     Because I can't find any expression in any steps  to fill into Parameters.Result of  the test failed step in the PostUUT. 
    In fact, when running if step fails, the string "failed " is filled into Parameters.Result.Status 
     Would you please  explain for it ? 
    thanks,

    Hi,
    Look at the Sequential Model Sequence File, and either the sequence SinglePass of Test UUTs for the step that invokes the step Post UUT.
    Then look at the Parameter List for the SequenceCall for that step. you will find your answer.
    Regards
    Ray Farmer

  • When building deployment, install reportgen_txt.seq but when removing program don't remove reportgen_txt.seq from the TestStand\Components\Models\TestStandModels directory?

    Basically I want to install a custom reportgen_txt.seq file to the TestStand Dir\Components\Models\TestStandModels upon installation of the program but when I remove the program from my computer I want to keep the custom reportgen_txt.seq file...Right now when I remove the program, the custom reportgen_txt.seq file is also removed...
    Anyone have any thoughts besides having to have a second deployment to install the file?
    PLEASE HELP!!!  And thanks in advance
    Solved!
    Go to Solution.

    I went ahead and implemented using the custom commands, worked like a charm!!  Thank you Thank you! 
    I just added a custom command using the xcopy function (see below).  I needed three files to be copied over to specific directories once they were installed in the install directory.  My three configured files were:
    reportgen_txt.seq
    Users.ini
    TestExec.ini
    Attachments:
    customcommand.JPG ‏55 KB

  • FCE4 'Modify Scale to Sequence' - not here .. :(

    pg 801 of the FCE handbook describes a method to scale stills (and videos) 'automatically' to Sequence properties.. it says:
    .. To scale an image within a sequence to exactly fit the sequence dimensions:
    1 Select one or more clips in the sequence. ∏ Tip: You can also place the playhead over a clip in the Timeline without selecting any clips.
    2 Choose Modify > Scale to Sequence.
    Each selected clip’s Scale parameter is set to the appropriate amount so that both horizontal and vertical image dimensions fit within the sequence dimensions. The images are not squeezed or stretched, but they may appear letterboxed or pillarboxed if the aspect ratios of the image and the sequence don’t match.
    Note: The Scale to Sequence command works on video clips as well as still-image clips.
    unfortunately, there's no 'Scale to Sequence'-command in that menu of FC/e 4.0.1 ..
    Uploaded with plasq's Skitch!
    so.. ? wrong chapter in handbook, FC/p only? ..
    appreciate any insights ..

    thanks, Tom, mystery solved!
    they translated this error into the German manual too

  • Modify the Edit Sequence Call dialog

    In TestStand v3.5, and/or v4.x, is it possible to modify the Edit Sequence Call dialog that comes up when using the SequenceCall Step type? If so, where is the source for this?
    What we want to do is add help information to the Edit Sequence Call dialog by either adding a Help button and/or adding the Parameter comments from the selected sequence prototype, along with the Sequence comments, so that we can provide guidance on the sequence usage to the developer at edit time. I've looked everywhere I can think of in the Help and the folders in the TestStand (v3.5) directory (StepTypes).
    Any help here would be greatly appreciated.
    -Jack

    Hi Jack,
    Thats a really good question !
    In the new TS versions there are some "bulid-in" StepTypes. For example if you take a look at "Wait" in TS4.0 there is a buttton "Configure Wait" . In the new TS 4.1
    the hole configure stuff is implemeted in the tab controls view like in the sequence adapter and the code modules. In the old TS 2.0 the sources where available. But in the new versions of TS 4.x
    it looks different for me. Just take a look callexec. The shipped TS 4.0 uir looks completly different than in editor under the tab control.
    Last year did a user step type.  And to modify my stuff i had to click this stuip "Edit" button.  I would like to have the same feature than the "build-In" one. But one change !!
    After some reverse hacking of some TS ini and xml files. TS editor was always crashing with a .net exception. So in my mind all the "build-in" ones are .net components
    like the hole Editor.
    So i am very courius what our NI-Guys here are saying to your question.
    Greetings and waiting for some "blue" anwsers.
    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=

  • Modify to-call sequence name in pre-step?

    Hi, I have the following problem: I have customized the "Call Sequence" step type, creating a custom step type that calls a sequence dynamically. The name of the sequence to call is represented by a step variable, which is edited in an edit substep.
    This works fine.
    Now I wanted to modify that step variable in a pre-step substep and found out, that obviously the step module is already "preloaded" (the to-call sequence name is evaluated) before the pre-step is executed. This results in a runtime error, something like "sequence not found".
    What can I do?
    Best regards,
    Martin

    This
    DECLARE
      nSeq number;
    BEGIN
      select loc_seq.nextval
      into nSeq
      from dual;
      loc_change(nSeq, :DATA_BLOCK.VARIABLE);
    END;should do the job...
    you can also put the fetching of the sequence into the database procedure. if you have DB Version 11g, you can reference the sequence simply by this:
    nSeq := loc_seq.nextval;in prior 11g you have to fetch it using select into from dual.
    regards

  • How can I programatically modify a teststand sequence global in Labview ?

    Hello,
    I am automating some tasks using Labiew to modify data in a Teststand sequence file. How can I programatically modify the value of a Sequence Global from labview ?
    Thanks,
    Sam

    You have to pass in the TestStand variable RunState.ThisContext to the vi through the connector pane.  I'm not sure about the exact variable name because I don't have TestStand loaded at this time.  But  there is a variable for the sequence context in TestStand and this has to be passed to the vi.  Note that you cannot run the vi stand alone.  You must run it from TestStand in order to get the proper sequence context.
    - tbob
    Inventor of the WORM Global

  • Modify Cycle Set sequence based on counter outcome

    Dear Experts,
    I have a question with relation to multiple counter plan. We have a scenario where we have 3 cycles based on time and one based on counter. Now the requirement is, when the counter crosses a particular value - for example - if we consider failures - and the equipment fails 3 times, we have to restart the sequence from the beginning, or in other words, the day of performing maintenance based on counter should become the new Start date of the plan/ cycle set.
    Also the other thing is, the number of failures need not be regular - so we should not get any maintenance calls for the same.
    I tested different options in multiple counter plan, but I dont see a standard solution for the above scenario.
    Has any of you come across such scenarios? And do you have a solution?
    Regards,
    Veera

    Dear Pete,
    I have proposed the same solution to business - around the time I posted this query. I was about to leave, when I saw replies from you and Mahesh.
    Thanks. I am marking yours as the answer, as I feel that we don't have any other alternative.
    By the way, Mahesh, you are correct, we cannot maintain multiple time based and performance based alternatives in multiple counter plan. Also, the problem for prediction, is that the plan depends on annual estimate to give a call, and in practical circumstances, will not be able to predict the performance based counter unless it has daily entry.
    But what we can maintain is a sequence of activities on time or performance, based on the cycle set sequence.
    Regards,
    Veera

  • Printing failed results, not Begin and End of Sequence.

    Hi
    Using TestStand 2.0
    I am using a ticket printer to show test failures.
    I have added a print line into the process sequence and formated the header with no problems, changing reportgen_txt.
    The "report options" are set to ASCii format and to exclude Passed/Done/Skipped results.
    The ticket prints nicely. But it shows every sequence call with a:-
    Begin Sequence: 1
    (C:\Sequence Name)
    End Sequence: 1
    I have 67 sequences, this is a lot of wasted paper.
    Does anyone know of an expresion that I can add into "Report Options" to remove this sequence info?
    Or is there another way of doing what I want?
    Thanks
    Hugh

    Hi!
    I found myself into a similar situation when I needed to create my own customized report.
    What you need to do is modify the reportgen_txt.seq sequence file. Go the sequence called AddSequenceResultToReport. The steps called AddSequenceName and AddSequenceEndMarker add the "Begin Sequence..." and "End Sequence" labels. You can modify or delete these steps.
    For anyone using the HTML report, you can modify the reportgen_html.seq. The sequence and step names are the same.
    I hope this helps you.
    Good Luck,
    Marcela

  • SequenceFileDiffer.exe opens only sequences with .seq extension

    Hi Ppl,
    I have to save the sequence files in xml format. So I have changed the sequence file format to xml and I save them with .xml extension instead of .seq.
    Now its necessary that I have to also use the sequence file diff tool for these .xml extension sequences. I found out that this tool allows only .seq sequences to be opened, because the file dialog pattern is set to .seq and there is no all files option. Is there a way to open these .xml files. I'm hoping that there should be some command line arguments that will enable this option.
    Thanks

    This might not be ideal, but if you type:
    in the  File Name edit control of the open file dialog box and hit return it will then show you all files.
    You can even do:
    *.xml
    to see xml files only.
    Hope this helps,
    -Doug
    Message Edited by dug9000 on 04-15-2010 09:21 AM

  • Teststand problem when try to close a modified seq file.

      I have a problem when using Teststand. My seq file consists several custom step types, which call external DLL/VIs. The problem is every time when I modified this seq file and tried to close it without save it, Teststand will always popup a warning dialog "Unable to discard seq file, because it is in use", please see below. Hope somebody here could give me some suggestions on it and tell me how to resolve this problem.
    Thanks!
    Jacky
    Attachments:
    screenshot1.JPG ‏108 KB

    Hi Ray
      Attached is the structure I used in Teststand. Here I want to describe my problem once again:
    Case1: if I open a seq file and then close it, there will be OK
    Case2, if I open a seq file and insert some custom step types, then close it, it will be OK.
    Case2: if I open a seq file and run it, then try to close it, but without any chang, there will popup a dialog"unable to discard this seq file,because it is in use...."
    Thanks!
    Jacky
    Attachments:
    Structure.jpg ‏13 KB

  • Modify Report Header using an expression

    Hi All,
    I would like to know if we can modify the Report Header programmatically? I basically would like to append a couple of lines in the header.
    I can think of two ways -
    1. ModifyReportHeader callback - this is really not an option for me as we need to do the implementation in a custom step.
    2. Override the default reportgen_txt.seq and reportgen_html.seq and edit them as necessary - this one seems a bit ugly to me.
    Any other ideas?
    thanks and regards,
    aCe
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.
    Solved!
    Go to Solution.

    Ray,
    Sorry, I if I was not clear earlier.
    This custom step would be used by a test sequence developer who has very little understanding of TestStand.
    The idea is that the person would drag and drop this step in to a sequence and add details of the Unit under test during edit-time which then should appear in the report header along with serial numbers etc. when the program is run. 
    For example, data such as:
    Test Specification: X123-456-789 Issue x
    Unit Part#: xxxxxxx
    Interface Part# xxxxxxxxxxxx
    Asking someone to add the callback would then require TestStand skills and would defeat our goal of trying to deskill this operation.
    I hope I am making sense!
    Thanks and regards,
    aCe
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • Modifying Test Report with on-the-fly reporting

    Hello,
    I am using teststand3.0 and trying to use on-the-fly reporting. The problem I am getting is report is adding begin sequence and end sequence tags to the report. Is there any way that I can remove these tags. The sample report looks like this
    Begin Sequence: MainSequence
    (Unsaved Sequence File)
    Message Popup: Failed
    Button Index: 0
    End Sequence: MainSequence
    End UUT Report
    I want to remove the text in italics. I have removed this one by editing AddSequenceResultToReport sequence, when I didn't used the on-the-fly option. But now the tags with on-the-fly option were inrtoduced by "Process Step Result" step of "ProcessOTFStepResult" sequence. And my sequence stack is upto 5 sub sequences. So when a step fails, it report prints 5 sets of begin and end tags, which I wan to avoid. Any help???
    Thanks
    mama007

    Hi,
    You need to modify the InitializeOFT sequence found in the reportgen_html.seq or reportgen_txt.seq. You will see two steps. One the template for the Sequence Header and the other for the Sequence Footer.
    For example:
    Locals.SequenceHeaderTemplate = "<H5>" + ResStr("MODEL", "RPT_BEGIN_SEQUENCE") + "%Sequence%\n<BR>(%SequenceFile%)<BR></H5>\n"
    The SequenceHeaderTemplate is a string built up to create "Begin Sequence: MainSequence". You probably can spot the various parts.
    Hope this helps.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Can the FrontendCallback.seq be located in another directory?

    Hi,
    The normal location for the (customized)FrontendCallback.seq is \Components\User\Callbacks\FrontEnd. If you want to make a modification and place it in another directory, how you configure TestStand to look at this modified FrontendCallback.seq (i.e. not the default user directory)?
    Thanks...Kevin

    Hello Kevin,
    Unfortunately you cannot change the location of the FrontEnd callback sequence. TestStand searches automatically for this sequence first in \Components\User\Callbacks\FrontEnd and if not found it searches at \Components\NI\Callbacks\FrontEnd.
    Regards,
    Roberto Piacentini
    Applications Engineer
    National Instruments
    www.ni.com/ask

  • Accessing the original sequence path

    Hi all,
    """Begin Sequence :  MainSequence
    (C:\Documents and Settings\157257\Desktop\Sequence1.seq)""""
    comes in the body of the report. I want to put the same in my header file. How to do that.
    I am getting the path of the report file but not the path of sequence file. I tried using "RunState.SequenceFile" activex, but it is showing me the path of reportgen_txt.seq.
    Please help!!

    Hi Ray,
    Thanks a lot, it is working but with some problems. While executing the original seq, a run-time error popup is coming, even if I say ignore, I am getting the original sequence path getting printed on the report header.
    I want to know why is that Run time error coming.
    The error reads:
    The post-expression for the step 'Add_Sequence_Path' could not be evaluated.
    Unknown variable or property name 'Parameters.MainSequenceResults.TS.SequenceCall'.
    My function step looks something like this in the report header sequence:
    Locals.Header += Str(ResStr("MODEL", "RPT_FS_SEQUENCE"), "%-30s") + Parameters.MainSequenceResults.TS.SequenceCall.SequenceFile + "\n"
    Thanks a lot.
    Sreedhar.

Maybe you are looking for

  • Notes added to contact on iPhone don't make it to computer

    Hi all, If I create a new contact on my iPhone, and add a note field, any notes I put there will show upon the contact's card in my Address Book the very next time I sync. Any notes I add to the contact on the computer sync over to the phone no probl

  • Problems while trying to look at the code from Eclipse

    Hello I'm having problems trying to look at ABAP code within Eclipse, every time I try to open a program i get this error: The editor cannot be shown because the content cannot be synchronized with the back end: Synchronize Content Result for /ABAPsy

  • Using JSP/Servlet to write Word Document to BLOB

    Hi I need some help pls When I use a normal class with a main method, it loads the word document into a blob and I can read this 100%.Stunning. With a JSP/Servlet I cannot get the document out again. The "format" seems to be lost. Any ideas,help grea

  • I open up my calendar now I can't get it off

    I open up my calendar in the bottom right,now i can't get it off.

  • How to assign fields to access sequence

    Hi expert i have assigned condition table to  access sequence but it contains nothinng.its not showing the fields available in the table can someone help me how to add these fields in acess sequence i was able to add condiion table in access sequence