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

Similar Messages

  • BeforeRenderResponse() error with on-the-fly components

    Why this solution doesn't works when I'm creating one on-the-fly components?
    * Constructor method
    public menu()  {
            beforeRenderResponse();
    public void beforeRenderResponse(){
    ... some code creating one on-the-fly component
    }It works very well when i have other kind of code.
    This is the error:
    Exception Details: org.apache.jasper.JasperException
    javax.servlet.jsp.JspException: Duplicate component ID 'form1:rbg0' found in view.
    If I put the on-the-fly code right inside constructor method, it works... but I need to "remake" the component all the times that the page is refreshed.

    If I am understanding you right, the error you are seeing is basically saying that the component (with ID rbg0) already exists so it won't let you create it again. Is your beforeRender reponse getting called multiple times?
    Lark

  • Testand write to database only with 'On the Fly'

    I'm writing all results to an Access database.
    But results are written only if 'On the Fly' is set.
    Why?
    Ofer

    Hi Ofer,
    When writing to a database, as I'm sure you know, on the fly will write all of your results during sequence execution. That said, all of your results should be written at the end of the execution at the LogToDatabase callback if you do not have on the fly checked. This behavior is built-in to TestStand, so if it is not working, it generally means that something on your TestStand system was changed.
    Have you altered your sequence file or added any callbacks to your sequence file? What process model are you using?
    I would suggest setting a breakpoint at the LogToDatabase callback and stepping through the code to see what is called. I believe this will put us on the track towards a solution.
    Regards,
    Matt M.
    NI

  • Error with "on-the-fly" controls in waveform generation

    I am trying to output a waveform in which I can change amplitude while the VI is running. When trying to do so, however, I am allowed to change the amplitude only once, and then I get error #-10880. What does this mean? I am using AO Write, and placing the waveform calculation and generation inside a sequence structure, with a wait statement, in the hopes of giving "changes enough time to take place".
    Thank you.

    jmarotta wrote in message news:<[email protected]>...
    > I am trying to output a waveform in which I can change amplitude while
    > the VI is running. When trying to do so, however, I am allowed to
    > change the amplitude only once, and then I get error #-10880. What
    > does this mean? I am using AO Write, and placing the waveform
    > calculation and generation inside a sequence structure, with a wait
    > statement, in the hopes of giving "changes enough time to take place".
    > Thank you.
    Hi, Jmarotta,
    I am not very sure how to solve your problem, but the error #-10880 is
    "updateRateChangeError A change to the update rate is not possible at
    this time because when waveform generation is in progress, you cannot
    change th
    e interval timebase, or when you make several changes in a
    row, you must give each change enough time to take effect before
    requesting further changes."
    You can find this in the help/error code/Data Acquisition Vis... Hope
    this would help. ^_^
    Regards,
    celery

  • Error On-The-Fly with ProcessOneResult [Error Code: -2147024882]

    TestStand 4.2.0.134
    Have you seen this error before?
    I have a top sequence that starts 32 executions via a process model with On-The-Fly activated.
    It generates maybe 1 or 2 results per execution every 5-10 minutes and the execution is set to run for 48 hours.
    On 32 UUTs, 22 had the error:
    14 failed at the same time (at the 20th hour approx).
    6 failed at the same time (at the 26th hour approx.)
    2 failed at the same time (at the 46th hour approx.)
    10 passed successfuly.
    An error occurred calling 'ProcessOneResult' in 'ITSOnTheFlyReportGen' of 'zNI TestStand On-The-Fly Report Generator' Source: TSOTFRG [Error Code: -2147024882, User-defined error code.]
    Do you have any ideas what I should look for or have you seen this error code before?
    Are 32 execs for 48 hours might be too much for TestStand?
    The log file is 769 kb at the end when the 48 hours run successfully.
    Thank you.

    Hi MatLaroche,
    This error that you are receiving is most likely due to running out of memory on your machine as it is filling up with these hours and hours of report data.  How much RAM do you have on this machine and are you running a 32-bit or 64-bit operating system?  You could run a memory monitor which logs the memory usage over this period to observe if this is in fact correct.  One solution to consider will be to enable the Conserve Memory and Only Display Latest Results feature within report options.  This feature is described here:  http://zone.ni.com/reference/en-XX/help/370052J-01/tsref/infotopics/db_report_options_contents_tab/.  As described in the help documentation, you must enable the Discard Results or Disable Results When Not Required by Model option to use this as well.
    Justin D
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • Bug in iPod code with On-The-Go Playlists

    I have no idea if this is issue has been reported before, or if this is even the proper place to report it, but here's the issue:
    Bug: The display (album art, song info) can become desynced from the actual song playing through the headphones.
    Reproduction:
    1. Create an On-The-Go playlist. I did my testing with a playlist that had 7-9 songs in it.
    2. Begin listening to it. Skip ahead a few songs, noting which ones you have already listened to.
    3. While listening, access the the playlist. Delete from the playlist (via holding down the center button) a song that has already been played.
    4. Wait the 10 seconds for the iPod to back to the song info, OR select the currently playing song (the one with the play icon to the right of it) in the playlist. When I did the former, the album artwork failed to redisplay. When I did the latter, the info of the next song to play appeared instead of the currently playing song.
    5. The issue will be gone when the next song starts playing. It only affects the current song.
    NOTE: I have 'Shuffle Songs' set to 'Songs'. My other settings shouldn't have an effect.
    I did not test this with:
    - pausing the song first
    - setting 'Shuffle Songs' to 'off'.
    Unrelated: An iPod feature I'd love to see is the ability to add a song to the On-The-Go playlist by holding down the center button when the song is currently playing. Currently, it can only be added by finding it in the lists of songs (Artists, Albums, etc.), which makes picking out favorite songs from a 400-song-long, non-alphabetically-ordered playlist difficult and vastly more annoying than it should be.
    Also unrelated: How can I make my iPod change the order of the songs in a playlist, short of recreating the playlist? I'm running Windows iTunes; when I sort it by name, etc. in iTunes the sort is not applied to my iPod (it stays in the order I added the songs). There must be a way to do it...
    Thanks for reading.

    No one else finds this interesting? sigh.

  • How to associate a test message with a change document

    I am using solution manager 7.01.
    accessing my change documents through the workcenter I need to create a new test message - so I use the Create transaction button on the button bar, Service Process, Test Message
    Then I am in the create test message screen.  However from here I cannot see how to associate my test message with either the change document that I was processing or to the maintenance cycle.
    Ideally I want to link the test message to the change document however at least to the maintenance cycle.
    How do I do this?
    Am I creating the test message in an incorrect way?
    regards
    Marina

    Anyone?  Does no one use Test Messages?

  • How can I include results of a subsequenc​e, which runs in a new thread, in the main sequence test report

    Hi!
    I', m working with TestStand Version 4.2.1. I have a main sequence, which calkls different subsequences. All these steps are properly reported. One of subsequences runs as "new thread". How can I include its results in common test report of the main sequence?
    I have markes variables of the subsequence as it is requred for test report (it works OK if it is not a new thread). If the the numerical test, which is executed in this subsequence is correct, I get no results at all. If the numeric test failed I get somewhere in the main sequence report a "red message", that test failed whithout any reference to the step or values of vaiables which were not correct.
    I tried an option "On the fly" in the Report Configuration , but haven' got any useful results. What shall I do?
    Best regards
    Solved!
    Go to Solution.

    Hi,
    I tried it but without success:
    1) I got a reference to the Thread as "Locals.Step1=RunState.Thread" for every of 2 steps which start a thread
    2) I put both "Waits" after steps with (and without) threads, at the same place, where they were before
    3) The sequence run OK, but when it came to Wait for Thread 1 it waited for ever, I had to terminate sequence
    Does it mean, that I got a false reference (suppose No - please, have a look at attached pic)?
    Or does it mean, that Waits are badly placed in the sequence (threads are already terminated)? Here is a pic of sequeces calls with Wait after them.
    Regards
    Attachments:
    Thread.JPG ‏34 KB
    SequenceCall.JPG ‏32 KB

  • XML - On The Fly Report Error-

    Hi,
    We are using the XML On The Fly report generation option to show the measurement data to our operators while they are testing the products.
    But we have experienced that this option isn’t updating the report field in the TestStand Editor or OI correctly during execution when a sub seq. is calling a sub seq (not a abnormal situation).
    It looks like that the “ProcessOTFStepResult” in “reportgen_xml.seq” can’t add the “StepResultBody” to the “ResultBody” when the call stack exceed 3 levels.
    Is this an Option (adjustable), Limitation or a bug? Is there a solution to this problem?
    I have attached an example that show the problem. It’s made in TS 3.1 but the problem is also seen in 3.5. Run it with the sequential model. It shows a dialog in each level of sub sequences, so it’s possible to follow the OTF report generation in the report tab. In the end (when the call stack is increased again all the report items is updated correctly.)
    I´m looking forward to hear from you.
    Best Regards,
    Morten Pedersen
    CIM Industrial Systems A/S
    Attachments:
    OTF Log test.zip ‏86 KB

    Lars  -
    As it is designed today, the logger requires that the SQL statement contain an INSERT command. If it is not found, I do not believe that on-the-fly logging will work if the schema defines a foreign key to the UUT record.
    Now, I have not tried this, but if the step result statements in the schema do not define their UUT_RESULT columns as foreign keys, the logger will just assume that they are data that you will provide, and it will not attempt to log a placeholder for the UUT record. So I believe you can then set the expression for the UUT_RESULT in the step results to assign the UUT key and the logger will just log it as a value. The database schema will likely have a constraint, but if you pre-create the record as you were suggesting, the constraint will be satisfied when you log the step result. Lastly when the UUT completes, the logger will just log the values using the UPDATE statement that you supplied.
    Note that we already do have a internal suggestion/problem tracking issue (ID 47056), specifically to add support to log more than just the key for the UUT result and parent sequence call steps, but we have not determined how easy that would be and whether there are any backwards compatibility issues.
    Scott Richardson
    National Instruments

  • On a wireless network test report, I get "The wireless radio is not functioning."

    The printer is a Photosmart C309a all-in-one.  I've used this printer for some time and did so wirelessly earlier today.  Upon ordering a print job the printer failed to produce results.  I ran a Network Configuration Page where it showed the printer to be offline with no Active Connection Type.  I then ran a Wireless Network Test report and received the message: "The wireless radio is not functioning.  Contact HP Support."  IS THERE A FIX FOR THIS?
    I reinstalled the printer software on my computer configuring it with a USB connection, in order to be able to use the printer.  I was able to use it with the USB connection but would most definitely prefer a wireless connection.  I also turned off the printer, router and computer and turned them on in the order outlined in the user's manual, but to no avail.  This, of course, I did before reinstalling the software for a USB connection.    

    Hi,
    I afraid the error indicate an an hardware failure..
    You may try using a wired ethernet cable as a workaround, the printer will need to be services in order to repair its wireless card.
    You may find the details to contact HP support by selecting your region and following Technical Support after you buy:
    http://www8.hp.com/us/en/contact-hp/ww-contact-us.html
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • My wireless network test report indicates "The wireless radio is not functioning. Contact HP support

    HP Photosmart Premium All-in-One, Model # C309a...Windows 7, 32-bit.  A Wireless Network Test Report tell me "The wireless radio is not functioning.  Contact HP Support***
    ***-Critical: action required
    Naturally my printer is out of warranty.  Has anyone had experience with this problem.  If so, how did you resolve it?

    Is the error message from a diagnostic running on the computer or from the front panel of the c309a?  The page here may help.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Error while executing the test report

    Hello
    i tried to execute the test report for adobe forms
    FP_EXAMPLE_01 but it gave following error
    SOAP Framework error: SOAP Runtime Exception: CSoapExceptionTransport : HTTP response contains unexpected content-type(100,101).
    is it due to improper configuration of ADS? we checked the ADS connection from SM59 which is ok and also the service /sap/bc/fp through internet which is also ok.
    Thanks in advance.
    Regards
    Rajeev

    hello
    i guess there was the problem of ADSUSER. Now i corrected that and the report FP_PDF_TEST_00 gives proper version of ADS.
    But when i execute test report FP_TEST_00 it asks me about printer and when i clicked Print Preview it gave following error
    "ADS: Request start time: Mon Jan 14 06:16:01 EST 2008(200101)".
    when debugged the code i found error in the class "CL_FP_PDF_OBJECT->execute_internal()" method which is getting called from the FM FPCOMP_CREATE_PDX with error code as "l_errcode = cpdfe_pdf_exe_print_adserror"
    but couldn't make anything from that. any clues?
    Regards
    Rajeev

  • Generating 2 test reports for the same test - XML and HTML

    Hi All,
    I have a special test requirement.
    Need to generate 2 test reports for the same test. One in HTML and the other in XML format.
    Is there any direct method for that?
    How it can be implemented?
    Thanks in advance.
    SajK

    Hi SajK,
    To accomplish this task, you will need to modify the process model. For example, if you are using the sequential process model, you can concentrate on the TestReport sequence call and the various report related steps in the Single Pass and Test UUTs sequences.
    The TestReport sequence (also a callback) relies on Parameters.ReportOptions.Format to decide which of the following sequences to use when generating the report:
    <TestStand>\Components\NI\Models\TestStandModels\reportgen_txt.seq
    <TestStand>\Components\NI\Models\TestStandModels\reportgen_html.seq
    <TestStand>\Components\NI\Models\TestStandModels\reportgen_xml.seq
    In your case, instead of choosing one of the sequences, you could hard code it to use both the html and xml sequences. Be aware that for this to work, you must also modify and/or duplicate most of the report related steps in the Single Pass and Test UUTs sequences. For instance, the Set Report Format step becomes unnecessary since you are hard-coding the report format. On the other hand, the Write UUT Report step needs to be duplicated, one step to write to an html file location, and another to write to the xml file location.
    Please note that modifying the process mode in this way will deprecate some of the settings in the report options dialog box (such as the report format). For more information on TestStand report generation, please refer to the following DevZone article:
    Report Generation Explained
    Regards,
    Message Edited by James M on 05-29-2007 03:08 PM

  • Use same report to print out different data sources on the fly.

    Post Author: Lady101
    CA Forum: Data Connectivity and SQL
    We have 10 reports use diferent datasource( use views with different joint tables), but their print out format are identical. Is there a way to just use single report to run those 10 reports dynamically(the report can point to the right data source on the fly)? So that we can just change single report format when report format needs to be changed. Right now we have to change 10 reports format one by one.

    Another option would be to make a single pass in the Source Monitor and save a bunch of subclips. Here's a thread discussing keyboard workflows: Re: Question on making many Subclips in a fast way
    If you name highlights with one base name and lowlights with another, it would be easy to drop each batch into its own sequence.

  • I have an HP Photosmart C7250 All-in-one - Test Report - The wireless radio is not functioning

    I have an HP Photosmart C7250 All-in-one and the wireless feature does not work.  When I try to go through the Wireless Setup WIzard, the Test Report indicates the following - "The wireless radio is not functioning.  Contact HP Support".  Can you help me?

    Let's reset the printer.  Turn it off, hold the # and 6 keys while turning it back on.  Go to Setup > Network > Wireless Network Test afterward to see if it worked.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

Maybe you are looking for

  • IPod nano not appearing in iTunes

    I have downloaded iTunes which works fine except there is no "Devices" section in the source panel. When I plug the ipod in it is recognised in the computer control panel but still does not appear in iTunes. It does not connect automatically and ther

  • ITunes can't find my files.  To manually locate each would take days

    I have spent about 4 hours searching these discussion areas but could not find a solution. I have twice before lost all my metadata (ratings, playlists, etc.) when moving my music files around (from my laptop to an external drive, then back on my lap

  • Advance Return to vendor

    Dear All , I have a scenario how to send  advance return material to vendor (this is like third party procurement ) EX- I procure one material 10 qty from one vendor than i send to customer site if  material get faulty at customer site then customer

  • Help with a query

    Hello, need to know if the following is possible. For simplicity, assume there are two tables, with one column holding employee names. create table names1 (employee_name varchar2(100)); create table names2 (employee_name varchar2(100)); insert into n

  • Cannot connect iChat to PC Webcam

    I know this seems to be a common problem but it is driving me up the wall. I have a G5 iMac 24" with built in iSight and my brother (in Ireland) has a Logitech webcam installed. We have both set up AIM accounts and can text live online etc but when w