Output pass or fail result to printer

Hello,
I need to add a printer to our existing test system fixture and write a VI that would print the either pass or fail result once the product has been tested.  But I don't know what kind of printer I need and where to start writing VI.  Do I need one of receipt printer or any kind of printer would work?  Any ideas.
Thank  you in advance. 

Any printer will work.  Like crossrulz said, the Report Generation Toolkit will print to the default printer.
Here's a cheap-and-easy method Ive used:
This may work if you don't have the Report toolkit:
I switched to the first method when I found that the second doesn't work well in Windows 7, but I haven't tried it in LabVIEW 2013 (it's a bug that may have been fixed).
With either method, simply make the Front Panel of your VI look like the report you want.  I'll usually hide any controls (Print, Exit) before printing then re-show them when it's done.
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

Similar Messages

  • DIO Pass or Fail Tests: LabVIEW would have to determine the expected result or results (1 or 2 of a possible 25) based on the output pattern send out (1 of 65K).

    I am trying to come up with a plan to write a LabVIEW VI to do the following test. Can you give me a few ideas how to do this in LabVIEW. I am a new to LabView. I think I how to read and write I/O ports and do comparisons. I need a little guidance on the error checking. In simple terms the test will go like this:
    I have 16 digital inputs and 16 outputs.
    The 16 outputs are turned on in a specific pattern (i.e. 1001000101011101) and then the 16 inputs (i.e. 1000101111111111) are read in after a time delay. The inputs are checked to see if they match the expected results. If they do it's a pass if not it's a f
    ailure. This seems pretty straightforward. And I think I have an idea how to do it. Here's the problem. The inputs are changed sequentially so that all possible combinations are tried. The test needs to determine if the resulting input pattern is correct based on the outputs that were sent out. 16 outputs give 65K possible tests. For each tests there would be 1 or 2 possible results with a total of 25 results for the entire 65K possible tests. LabVIEW would have to determine the expected result or results (1 or 2 of the 25) based on the output pattern send out (1 of 65K). Then it would have to compare the actual input pattern received to see if it's a pass or fail?
    Any ideas how I can approach this?

    The 16 outputs are simulating inputs to the device under test, (simulating remote switches and contacts). The object of the test is to test every possible combination to ensure that nothing unexpected happens at the output. The device under test is a logic motor control system and we want to make sure (among other things) that we don’t start or stop the motor when its not suppose to. How can only two tests do that?
    I think you are describing how to create an array with the results. But I still don’t know how to determine what the result should be and if it is correct.
    I’ve identified 25 possible valid states the motor controller can be in.
    I’ve also identified the correct outputs that determine each of the 25 states.
    I’ve also
    identified the possible valid states you can go to from each (previous) state, You can only get to a valid new state from a previous state if the right combination of inputs is applied (we hope).
    If you know what state you are in when start and you know the valid states you can go to and the inputs required to get there, you should be able test the system against that. You verify this by checking the outputs against what they should be. With 65K possible inputs combination, checking them all manually would be quite is a task. Putting this into LabView is my task.

  • I want to write a program in LabView then pass the test results to teststand to check if it pass or fail without displaying the test stand program,

    I want to write a program in LabView and create an execute but I want to be able to pass test results to test stand to find it the unit pass ar fail the test then save the data to a database. How would i go about it.

    What's confusing is your statement that you want to do this "without display the test stand program". You can minimize the TestStand UI to the task bar but if you don't want TestStand to be running, how can TestStand evaluate the result. Explain a little more please.
    In the message body of your post, you just say you want to create a LabVIEW exe and pass the results to TestStand. What I would recomend is that instead of an exe, you create a dll and use TestStand's DLL adapter to call it and return the results. TestStand will evaluate it and do the logging.

  • 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

  • Judge testing result pass or fail

    I use teststand to call dll(writen by CVI),my question is I get a result from instrument by dll ,how judge the result pass or fail by teststand,the limits is defined by user .
    thank you!
    Solved!
    Go to Solution.

    Hey Sean,
    I think I may be confused by your question so can you answer the following-
    When you say "judge" do you mean that you want the step to determine if the result lies within the limits defined by the user?  Is the result numeric?  String? Boolean?  How is the user inputting the limits?
    Most of the time people use the Numeric Limit Test step to determine limits on measurements.  This determination is accomplished by the Status Expression of the step combined with the limits set for that step.  How that is setup defines whether the step passes or fails.  If you let me know how the user is inputting the limits I can help you dynamically set the limits.  Which is most likely what you'll have to do.
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How can I pass/add these results in my Main query's column

    Hello Experts
    I’m working on a subquery. My subquery works fine and give the results what I need. But how can I pass/add these results in my Main query’s column ‘MGRNAME’. Here is my query
    select pc.c_id "Project ID",
    cn.c_id "Client ID", cn.c_last "Last Name", cn.c_first "First Name",
    pj.mgr_id "Manager ID", pj.project_name "Project", MGRNAME
    from project_consultant pc
    join consultant cn
    on (pc.c_id = cn.c_id)
    join project pj
    on (pc.p_id = pj.p_id)
    where lower(cn.c_last) = 'myers'
    and MGRNAME in
    ( select concat (substr(c_last,1,20),
    substr(c_first,1,20))
    as MGRNAME from consultant
    where c_id in (102, 103)
    When I run the above query I got error.
    Thanks a lot on advance

    I’ve join three tables to get the information about I need. I got everything working expert one part. The subquery
    ( select concat (substr(c_last,1,20),
    substr(c_first,1,20))
    as MGRNAME from consultant
    where c_id in (102, 103)
    Gives me the names of employees I need. The output comes 2 names. I’m trying to add these 2 names in my main query and show the results but I got the following error
    Error at Command Line:11 Column:4
    Error report:
    SQL Error: ORA-00904: "MGRNAME": invalid identifier
    00904. 00000 - "%s: invalid identifier"
    *Cause:   
    I can understand there is something wrong with MGRNAME field but not sure what it is. Can somebody point it out?
    Once again this is main query with single sub query
    select pc.c_id "Project ID",
    cn.c_id "Client ID", cn.c_last "Last Name", cn.c_first "First Name",
    pj.mgr_id "Manager ID", pj.project_name "Project",
    MGRNAME
    from project_consultant pc
    join consultant cn
    on (pc.c_id = cn.c_id)
    join project pj
    on (pc.p_id = pj.p_id)
    where lower(cn.c_last) = 'myers'
    and MGRNAME in
    ( select concat (substr(c_last,1,20),
    substr(c_first,1,20))
    as MGRNAME from consultant
    where c_id in (102, 103)
    Hope it helps

  • Failed to get printer information

    I have a legacy application in C++, now ported to VS 2010. All works fine, except I get an intermittent error. I'm printing a CNiReport to a pdf printer (Win2Pdf). Every so often I get an error dialog pop up with the message "failed to get printer information" and the print fails (no pdf produced). This comes from the CnIReport:rint. Unfortunately I'm trying to run my program unattended and this dialog hangs waiting to be dismissed. If I dismiss the dialog and let the program continue, it does and then may or may not get the same error on the next Print. It fails both if I pass the printer name to Print and if I pass an empty name to make it use the default printer.
    Can someone from NI confirm that the dialog is coming from CNiReport:rint and is there anything I can do to stop it? Also, why would it happen only occasionally?
    Thanks
    Phil reaston

    Hey Phil,
    Could you post a screen shot of the error dialog?
    It is uncharacteristic of NI software to have an error cause a dialog to popup. Typically an error code is returned passed and dealt with in error handling or the execution (compiling, run, etc) failing. so I am inclined to say this error is associated with the printer driver. 
    Luke W

  • Pass or fail based on sample average

    Is there a way to base a test pass or fail on the average of measurements of a lot rather than pass or fail of a certain number of individual members. 
    In the situation I need to solve we have 4 tests to perform on a lot.  The first three are rather straight forward, test individual serialized material and if x or y pass the test passes.  In the last test the test results for the entire sample are taken, averaged, as well as some other calculations, and then based on the average the test passes or fails.  The results of the individual material measurements are not evaluated as stand alone item.
    Thank you for any help.
    Regards,
    Ron

    Hi Ron,
    I try to explain.
    1.     Letu2019s say as per sampling procedure your sample size is 5. LENGTH (50mm u2013 55mm) is one of the MICs that you need to inspect.
    2.     Here you need to enter the readings 5 times. (provided you have opted single results in control indicators)
    3.     When you enter results one by one in QA32, system calculates average of these readings.
    4.     Check the phi symbol (ф)
    5.     System shows the average of readings against this symbol.
    6.     If you have entered results as 55, 50, 52.5, 54 and 53 your average would be 52.9 mm
    Regards,
    Anand Rao

  • My status change to pass from fail after 40 days. Microsoft Exam 74-409 Score

    Microsoft update 74-409 exam.
    My status change to pass from fail after 40 days..
    Recived below email. is this possible ?
    Dear Valued Customer,
    You recently took Microsoft Exam 74-409: Server Virtualization with Windows Server Hyper-V and System Center. After close evaluation of the exam, we have made some revisions that resulted in a change to your exam results. We are pleased to inform you that your
    status has been changed to ‘PASS’. This update will be reflected in your official transcript within two weeks. A new score report will be mailed to you within two weeks.
    Thank you for taking this exam and for your support of our program.

    Yes its possible, but its also possible that its a scam trying to entice you to provide information that could be used for identity theft.  I would wait a couple weeks and then check your transcript on the MCP site.  If the exam shows then it was
    for real.  If it doesn't then it was probably a fake message.
    The reason it might be for real could be that someone challenged the clarity of one of the questions in their comments and Microsoft decided after looking into it that some question was misleading.  This might have lead them to accept more than one
    answer or to throw the question out.  That could have modified your score in some way and promoted you above the Pass line.  It is possible, but not likely.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Captivate 5 Quiz pass and fail issues

    Hi all,
    Still new and working with Captivate 5 (Win7 OS). I have a project with five quiz questions at the end. The goal is for the learner to have to pass the quiz to continue and the passing score required is 80%. I am allowing three tries at the quiz before failure. The problem I am running into is when the learner has failed on the final attempt, the quiz results screen is shown and will not advance to the next slide. Here are the settings I have so far:
    Preferences>Project>Start and End>Project End options-Action-Close project
    Preferences>Quiz >Reporting>Quiz: Enable reporting for this project-checked
    Preferences>Quiz >Settings>Quiz> Required-Pass required
    Allow backward movement-unchecked
    Show score at the end of the quiz-checked
    Preferences>Quiz >Pass or Fail> Pass/Fail options-80%
    If passing grade-Go to the next slide
    If failing grade- Allow 3 attempts. Show Retake button. Action-Go to the next slide
    All quiz questions are set to one attempts
    I have a “Retake” button directly on top of  the  “Continue” button on the quiz results page. The retake button appears correctly on each of the attempts and the “Continue” button appears if the learner gets a passing score. If the learner fails at the end of the third attempt, the continue button appears and at this point and is not active (due to failing score). I can only get the project to advance to the final slide if the learner passes the quiz.
    The learner needs to be able to resume the project if they stop and exit. I also want the project to close the browser window after the last slide has played. I do have a playback controls (clients requirement).
    Any help is greatly appreciated!!

    Change your Quiz > Required > Pass Required to Optional instead.
    You've told the quiz that it should force the user to pass before allowing them past the Quiz Results slide.  That's probably why the Continue button or playbar won't allow them to move further.  By making pass optional it should work.
    Getting the course window to close automatically at the end is by no means guaranteed to happen.  That depends on many factors that may be outside your control (e.g. browser settings, LMS player, security, etc)
    For 300 more troubleshooting tips like this, read the book!
    http://www.infosemantics.com.au/troubleshoot-adobe-captivate

  • I added Edit Preferences Quiz Pass or Fail If Passing Grade Go to the next slide

    Unfortunately, it doesn't work. The playback frame stays on the quiz reporting page. Please, can anybody tell me what I could be doing wrong?

    Rod -
    At the end of the quiz I have my "PASS" and "FAIL" screens set up, one after another. In the Captivate Preferences, under "Quiz Pass and Fail" - I have that if they Pass, they jump to the "PASS" slide, and if they Fail they of course go to the "FAIL" slide.
    When I play the course and pass, the pass screen that I built shows up after it shows my results, but then immediately goes to the fail screen that I built. How can I stop that from happening? Do I need to hide the playbar when the user gets to that page? I'd rather not as I want the user to be able to restart the course if they want to without having to close then reopen.
    Many thanks -
    Kevin

  • 'Pass' or 'Fail' depending on another field?

    What script do I enter so a field (Field1) enters 'Pass' or 'Fail' depending on whether a number in Field2 is <2 or >1? Do I enter this as a custom calculation in Field1?

    You need to give more information about exactly when you want "Pass" or "Fail" to display.
    If you want to display "Pass" if the value is > 2, and "Fail" if it is < 1, try this:
    //Custom calculation script for Text1
    var f1 = this.getField("Text1").value;
    var f2 = this.getField("Text2").value;
    //Make Text1 blank if Text2 is > 1 and < 2 or is blank
    if (((f2 > 1) && (f2 < 2)) || (f2 =="")){
    f1 = "";
    //Make Text1 Pass if Text2 > 2
    else if (f2 > 2){
    f1 = "Pass";
    //Make Text1 Fail if Text2 < 1
    else if (f2 < 1){
    f1 = "Fail";
    //Show result in Text1
    event.value = f1
    You will need to replace "Text1" and "Text2" with the names of the fields in your form.

  • Custom Pass or Fail

    I am looking for a way  to display a final result slide of a quiz with a score and review area showing more than one brakpoint. Say  you have a quiz of 10 graded questions. Less then 30% correct answers gives a review text of "You are not good enough". Between 30% and 70% gives "you can do it"and more  than 70% gives "You are excellent in it !". I am using CS4

    If you want to set 3 or more messages: You can remove the review messages (both pass and fail text) from project preferences. Add a text caption on the resul slide and set its text based on the value of yourScore variable.
    If you can do with only 2 messages, set pass percentage as the one you want to in Edit Preferences -> Quiz -> Pass or Fail. In quiz result messages dialog customize pass and fail text

  • TC 3.5 trial - Robohelp fails to make printed documentation

    When attempting to generate printed output, fails - says it can't find Word.
    At first, I installed the Office 2010 x64 trial, and that didn't succeed.
    In Word, File?options>trust center, enabled macros and access to the object model.
    No difference.,
    Went to RH Tools>Options, added Word to open .dot, .doc, .dotm, .docx
    No difference.,
    Then I read there were interop issues between 32 bit apps and 64 bit apps.
    Uninstalled Office x64, installed Office x32. Same symptoms.
    Uninstalled TCS
    Control panel > Office>repair
    Re-installed TCS
    no change.
    Re-checked Word's macro security settings, RH's .dot and .doc settings - those had stayed as I set them - is that a clue?
    Installed Office 2003 Pro, re-installed TCS.
    Robohelp still fails to produce printed doc, claims it can't find Word.
    help?

    Moved to Technical Communications Suite Installer

  • Finding a pass or fail.

    hi.
    Im using numbers for mac. I am trying to find out how to create a pass or fail into a cell. BUT... i need it to pass or fail from the 5 precceding cells in the row.  I have to carry out 5 tests. at the end of the tests in order to pass it has to be 5 out of 5 so if any 1 test fails its a fail.  please can someone help me out  and explain it nice and simple how to do it.  

    Just what the doctor ordered!!
    If possible, is there a way that i can include a variant into it? ie.  pass,pass,n/a,pass,pass and still get a pass result. but not a fail.
    VISUAL INSPECTION
    CURRENT LEAKAGE TEST
    EARTH TEST
    INSULATION TEST
    FUNCTIONAL CHECK TEST
    PASS             FAIL
    PASS
    PASS
    N/A
    PASS
    PASS
    FAIL
    EDIT
    EDIT
    N/A
    EDIT
    EDIT
    FAIL
    EDIT
    EDIT
    N/A
    EDIT
    EDIT
    FAIL
    PASS
    PASS
    FAIL
    PASS
    PASS
    FAIL
    EDIT
    EDIT
    N/A
    EDIT
    EDIT
    FAIL
    EDIT
    EDIT
    N/A
    EDIT
    EDIT
    FAIL
    EDIT
    EDIT
    N/A
    EDIT
    EDIT
    FAIL
    EDIT
    EDIT
    N/A
    EDIT
    EDIT
    FAIL
    EDIT
    EDIT
    N/A
    EDIT
    EDIT
    FAIL
    EDIT
    EDIT
    N/A
    EDIT
    EDIT
    FAIL
    EDIT
    EDIT
    N/A
    EDIT
    EDIT
    FAIL
    EDIT
    EDIT
    N/A
    EDIT
    EDIT
    FAIL
    EDIT
    EDIT
    N/A
    EDIT
    EDIT
    FAIL
    EDIT
    EDIT
    N/A
    EDIT
    EDIT
    FAIL
    EDIT
    EDIT
    N/A
    EDIT
    EDIT
    FAIL

Maybe you are looking for