Teststand automatic test report printing using LabView workaround

I tried the LabView workaround for the automatic printing of test reports in TestStand (see email message below). 
It will work if I set the URL to a specific HTML TempReport.  However, TestStand is configured to generate a unique test report for each UUT.  So, in the test report directory there are xml reports and the occasional HTML report, example TestReport_00104.html.  Not sure then what to set the URL to?
Note:  Your reference number is included in the Subject field of this message.  It is very important that you do not remove or modify this reference number, or your message may be returned to you.
Hi Bill,
Thanks you for your reply.
Right ok. Well, if you are interested in the LabVIEW workaround, I can send this to place it in your modified sequential model.
The workaround works as desired. It does it all automatically. I have set it to not prompt the user for the print dialogue but this can be easily changed. Therefore, for any example program in Teststand, if it is based on the modified sequential model, an HTML style report will be printed on the default printer automatically.
It needs to be placed in the following location:
Within the Sequential Model, within 'Single Pass>>Print Report' do the following:
- Replace all the 'Main' steps (Navigate to HTML, Print HTML File & Close IE Browser) with the LabVIEW function call.
- This one function call will do all the steps above at once.
NOTE: In the LabVIEW VI, you will need to select the correct directory where the new html files are being created. Otherwise the print function will not work. This is called URL. Make you sure you have checked this.
For ease of understanding I have included these steps in a word document with screen shots.
As I do not know which version of LabVIEW you might have, I have attached three versions of the .vi file; 2012, 2011 and 2010.
In regards to the mention of Teststand not having built in functionality for automatic printing of reports, unfortunately this is the case.
I hope this will be a sufficient workaround for you.
If you problems implementing this solution, please ask me for further information. However, it should be fairly simple to do.
Just to inform you, I will be out of the office from 12.45pm today for the rest of the week on annual leave.
I will be back in the office on Monday 14th January 2013, should you have any further queries.
Kind Regards,
Dominic Clarke
National Instruments
Applications Engineering
www.ni.com/support
Attachments:
Print HTML file from LabVIEW.zip ‏39 KB

Hi Bill,
I managed to implement this.
In the sequential model I added a LabVIEW action after 'Add Root Tags To XML Report'
As URL I use a sequence local: Locals.ReportFilePath
I points to the ML report in my case and then the VI works fine.
However I'm looking for extra functionality and that is waiting untill printing is completed.
Can you help me on that ?

Similar Messages

  • Engine test cell automation using labview

    I want to know the hardware details of my application(engine test cell automation using labview).
    Amit Amrutkar

    >> I want to know the hardware details of my application(engine test cell automation using labview).
    I have a feeling that that one of the following happened  :
    A. The "Post" button was clicked by mistake before the compilation was over.
    B. The OP wants to know the hardware details for  his application which looks like an engine test cell automation. ( It thus must have been in a hardware forum I guess )
    Post more details on the number of analog channels , required resolution, sampling time etc and number of digital channels and there is a possiblity that we can start helping..
    Raghunathan
    LV2012 to Automate Hydraulic Test rigs.

  • How to suppress extra form feed for character report printing using ORARRP?

    Dear All,
    We are using Oracle Application Server 10g (10.1.2.0.2) on Windows 2003 Server and most of our client PC's are Windows XP Professional machines. We are migrating our existing oracle application from 2-tier architecture to 3-tier architecture (6i to 10g). We have installed ORARRP utility for remote direct printing and to a limited extent we are successfull in getting the things work out for our system users, However, we are facing a problem using the ORARRP utility for which we are not able to find a solution till date.
    We have configured ORARRP utility on every user's PC and the printing of bitmap reports is working well. However, while printing CHARACTER reports using ORARRP utility, after the report gets printed, an EXTRA FORM FEED is issued by ORARRP to the printer and because of this the printer stationary skips one extra page and advances to the next page. Please note that this EXTRA FORM FEED happens only while printing a CHARACTER REPORT.
    Has anyone come across such a problem using ORARRP ? How can we avoid this extra FORM FEED from CHARACTER REPORT printing using ORARRP ? Is there any other tool which supports remote direct printing just like ORARRP?
    I shall be highly obliged if anyone could reply to my queries ASAP.
    Regards,
    KrishnaKumar S

    Please help ! I tried the "send_form_feed" and "postscript_dos_print" parameters without success. The extra form feed is always there. Thanks.

  • EBS R12 Report Printing using PASTA

    Hi Friends,
    Can you help me with my printing set-up please. I am priting a standard reports but the
    printing is not centered. It has big margin on the left (like 3 inches ) and the right side columns
    overshooted.
    How do I adjust my printing to move for right to left by scale? or How do i choose paper size?
    Or how do I print macro like a font 6 instead of normal 12?
    Thanks a lot

    Duplicate Post (Check your other thread):
    EBS R12 Report Printing using PASTA
    Re: EBS R12 Report Printing using PASTA

  • Crystal report printing using epson dot matrix printer (continouos paper)

    Hi there, im tiff from the philippines.
    i have a  question on printing using a crystal report. How do i print using epson continuous printer(dot matrix)? im having a problem printing to that type of printer specially using continuous paper. the first page is correct but unfortunately the succeeding pages are not. its automatically adjusted upon reaching the second page. hope you can help me.
    thanks a lot and looking forward to hear from you soon.
    tiff

    Check with the printer manufacturer that the matrix printer is Unicode compliant. If it is not, it will  not work with Crystal Reports. If it is, make sure you have the latest printer driver updates.
    Download SP 1 for CR 102 from here;
    https://smpdl.sap-ag.de/~sapidp/012002523100006007872008E/crvs05sp1.exe
    See the following resources re. printers;
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a09051e9-721e-2b10-11b6-f9c65c64ef29
    [Note #1314394|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Ludek

  • How can you create a test plan generator using labview

    I am looking to create a testplan generator using labview to help RF Engineers translate test requirements into test parameters and wanted to know how i can go about it.

    Have you considered to use Teststand? Teststand organizes all the tests and allows to parameterize them.
    Creating a tool with a similar functionality will be more expensive than buying Teststand and modifing the operator interface.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Total No of pages different in report printed using Crystal Report XI R2 vs SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8)

    Currently in our application, we are using Crystal Report XI R2 for generating the reports. We are in the process of upgrading the Crystal Report to SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). I updated that on my machine and all the reports work fine. I didn't have to modify any of the reports.
    However when comparing the reports, we found that there are few reports on which the total no. of pages differ from the report displayed using Crystal Report XI R2 vs SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). Comparing the reports, it looks all the data that were fit on one page earlier with version XI R2 doesn't fit on the same page with version 13.8, thereby increasing the page counts.
    The fonts, page margins everything set on report itself. Nothing being set in the code.
    Both the application is using the same report that is pulling the data from the same database. Our application is a web application.
    Any suggestion, why this is happening.
    Thanks.
    Sanjay

    I am not sure what is being compared here?
    CRXI R2 designer to CRVS?
    CR XI R2 in some version of .NET to CRVS?
    CR XI R2 using RDC SDK to CRVS?
    Also, is this happening on your development computer or after you deploy?
    If you compare the the "Page setup" options dialog between reports that work and those that do not work, do you see any difference?
    Is this a web or a win app?
    Are you seeing the same issue when viewing and exporting - say export to PDF?
    What is the printer driver used and it's version?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Create Teststand 3.5 SequenceCall Step use Labview 8.2

    Dear ALL:
             I want use Labview 8.2 to create a sequence Call Step,and I know I must get the SequenceCall Module first.In Teststand 3.5 I can use NI Teststand Adapter API 3.5(Ver 1.0) to get the SequenceCall Module,But In Labview 8.2 I can not access to  NI Teststand Adapter API 3.5(Ver 1.0),Because when I Select NI Teststand Adapter API 3.5(Ver 1.0) in "select object from Type Library"(See 1.bmp),It the same as the NI Teststand API 3.5(Ver 1.0),and I can not find SequenceCall Module.
             I think this is the compatible probelm with labview 8.2 and teststand 3.5. When I use Labview 7.1, I can normally select NI Teststand Adapter API 3.5(Ver 1.0).
    Attachments:
    11.jpg ‏34 KB

    yiweihua2002,
    You didn't say if you were using LabVIEW 8.2 or 8.2.1, so I'm not sure if this truely reproduces your behavior.
    However, I just ran LabVIEW 8.2.1 and selected the adapter API, and I was able to see all of the items.
    There are a few things I'd like you to try:
    1) Run the TestStand Version Selector and make version 3.5 active.  Even if it is already the active version, this will re-register all of the TestStand components to make sure they are properly working
    2) Restart LabVIEW (if you haven't already)
    Josh W.
    Certified TestStand Architect
    Formerly blue
    Attachments:
    adapter.gif ‏18 KB

  • I want to test my microphone using labview vi

    Hello SIr,
    I want to check my microphone using labview program, using labview vi i want to get dynamic vibrations of sound when we will give input to our head phone(In this we are having our microphone). From this while on speaking using our head phone, its possible for me to get the frequency of my sound.I m having labview 5.1 version. If you have any simple code for this problem, Please send me.
    Kindly regards
    Shridhar

    Hi mpshridhar,
    Yes, LabVIEW 5.1 is too old a release, so I'm in a fix too. However in LabVIEW 8.6 (and other newer versions) there's an Express VI that will help you acquire signals from your microphone.
    Here's an image of the VI and the pop-up that will help you acquire the signal.
    Regards,
    Vaibhav.
    Attachments:
    sound example.jpg ‏49 KB

  • ACCENT Symbol in Oracle Reports printing using 10g Application server

    Some of the report with names containing ACCENT symbol are printing like upside-down comma. But the report used to printing certified copy and the client requiring to print the ACCENT symbol as it is. Oracle support recommend us to use PDFPrint destination, which is third-party utility that converting the post-script output to printer for ACCENT symbol. Please provide the link and instruction to download the PDFprint utility and installation requirement for the below environment:
    Oracle Application Server Version=10.1.2.3.0
    SUN SPARC - 64 bit
    Thanks
    Krishna

    By the looks of it you used 9i which also used an Application Server so your knowledge should be up to date. The Default URL has changed a little as has the port. Look in the installation guide for the default URL and port.
    If you mena the development side you can use the one-button-run functionality which makes it possible to run am form without the full App Server just by hitting the run button in the builder. You do need to start the local OC4J but that is easy. On Windows there is a start menu item to do that. On Linux you run a shell script I think.

  • Test Report print settings

    Hi Friends,
    How to assign Form and printer for Inspection Report.
    Regards,

    Hi Susan1234,
    Any time you are ready to register your printer at ePrintCenter you can run the process.  Keep in mind that once you have the printer code you need to register within 24 hours.
    I am an HP employee

  • Good NI Test Stand Examples For a Beginner (Using LabVIEW)

    Hi everyone, I am new to using NI Test Stand.  I have gone through the "Getting Started with NI Test Stand" and "Using LabVIEW with Test Stand" documents.
    I know in the NI Test Stand Example folder there are many examples.  Are there any examples that cater to new users to Test Stand?
    Where can I find good examples (demos) for developing test sequences, local variables, parameters, etc...in Test Stand?
    Thanks so much!

    If you have the SSP you could access online training an do the exercises on the training.
    but the examples is a good way to getting started. just play around with all the options you have.

  • TestStand 3.1 Report Memory Leak

    Hi everyone,
    I been looking at the memory usage of my TestStand code lately.  I noticed I have a memory leak with On The Fly Reporting using XML report file.  I'm currenlty using labview 7.1.1 and TestStand 3.1f for development.   I came about this program from seeing test station go to a snails crawl.  The program starts out around 100MB and will keep growing using up all the systems memory, the largest I seen was 500MB.   What is happening is the testers like to keep the on the fly report screen up during the test  and not view the execusion window.  At the end of each run the program will grow 10MB to 30MB.    I know the problem can be solved by turning off on the fly reporting, but I would like to try find a programing option first.
    I have looked at the other forum entries about:
    Turning off database collection
    Editing  model options : ModelOptions.DiscardUnusedResults = True and Parameters.ModelOptions.NumTestSockets = 1
    Adjusted the array size of the report to 300
    None of the options seem to have worked for me, most the post say move to teststand 3.1 cause it an 3.0 issue.
    I was wondering if there are any other options to try  in teststand, or any way to turn off/close IE to release memory between tests.
    I'm currently running the code on Windows XP SP2 
    IE6/IE7 depending on the test station
    P4 or Centrino  with 512MB to 1GB of ram
    The GUI window is a modifed  example of the basic VI EXE that calls teststand
    The code is installed using labview and Teststand  deployment builders, so the test machine are using runtime labview 7.1.1  and runtime TestStand 3.1
    Thanks to any one who can offer alittle extra help on the topic

    Actually the reports are XML not HTML.
    There are alot of pass steps, usualy after a couple of failed steps, the sequence will terminate.
    The memory leak seem to exaggerated, since the technicians like to view the Reports Tab instead of Execution Tab when running program.  If the operator keeps the view on the execution tab during the program, the report screen is not being updated, so less memory is taken up.  Since the techs like to keep the report screen up during the entire test, the xml file constantly being update and  the program increases +50MB after the first run.   So turning off Reports on the fly, they can not view the report during the test and the memory usuage stays low.
    I do not see a leak at all if I do not click on the reports tab,  and the leak seems to only happen with XML files, TXT and HTML reports do not cause a memory leak, even when viewed on the fly for the entire test.   I wanted to keep XML-expandable cause it easier to see what sequences failed then scanning through the entire report.
    I'm using Test UUT call up the test.    The executable terminated if you press the exit button on the executable.  After test is finished, the standard Pass/Fail comes up then the standard  enter UUT serial number comes up.
    I'm including the reports option INI  I use .
    Thanks for you help in this matter, sorry being little late with replying. 
    Attachments:
    report.ini ‏4 KB

  • Web Report Print

    Hi Guys,
    I am trying to implement the Web Report printing using the white paper on "How to .... enhance Web printing". But when I add the HTML link to the code after including the objects in the "ITEM object" tag, I see a blank page. I mean the link does not take me to the help page where I can set the printing parameters as it should happen. Can some one suggest me if I am missing any step here?
    Thanks,
    Doniv

    Hi Guys, I am posting the code section where I modified the HTML code of the web report. Could some one please suggest me if there is something I am missing here for me to get the page to enable the web printing.
    thanks,
    Doniv
    <BODY>
    <P><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TABLE_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="HELP_SERVICE" value="ZPRINTING"/>
             <param name="HELP_SERVICE_CLASS" value="Z_PRINT_HELP_SERVICE"/>
             ITEM:            TABLE_1
    </object></P>
    <A href="<SAP_BW_URL cmd="PROCESS_HELP_WINDOW" help_service="ZPRINTING" item="Table_1">">Print</A>
    </BODY>

  • Error 7 while using test report VIs

    I'm trying to figure out how to use the Labview test report VIs and I'm getting error 7 message. Please attached VI and error message. Does any one know this can be fixed?
    Thanks
    Attachments:
    LabviewTestReport.vi ‏21 KB
    Error 7.png ‏34 KB

    It looks like your file does not exist.  Have you created an .xls file by that name in the location?

Maybe you are looking for