TestStand result processing

Hello community,

Using 32-bit Teststand 2014

Is there a way to switch treatment result for the database enabled checkbox control programmatically in Teststand?

Hi MechUnit,

You can switch different report plugins programmatically by using the DatabaseOptions and ReportOptions reminders as described in this knowledge base Article.

This does not affect the sequence running, it does not change what the result of processing dialog box appear or affect other sequences.

Tags: NI Software

Similar Questions

  • How can I get the TestStand splash screen to not show up when I call the results treatment Utility offline?

    So I call the Offline processing Utility (ORPU) a not executable call results in a plugin to perform a personalised treatment in another configuration.  Everything works fine, including having run reduced (mostly hidden) by using the option/tray.  When he called, the TestStand splash screen appears (certainly is not a show-stopper but it's confusing from the point of view of the user).

    Is it possible that I can get this start screen to not appear when calling the ORPU?  I noticed in the help, mention is made of the use of the callback file, and I wonder if someone has successfully used this to avoid the dialog box or other behaviors.  I would like more info on how it works, but it doesn't seem to be a vast detail on this in the help, and I'm not also find me useful examples.

    The source of the Offline utility treatment results is included with TestStand and can be changed.

    The ORPU source is located under "Components\Models\TestStandModels\Offline utility treatment results"

    From the source, you can see that there is no flag that allows you to hide the splash screen (except for / I leave, but that it will also close the ORPU!); However, you can easily change the ORPU so it does not show the start screen by removing the following lines in \Components\Models\TestStandModels\Offline Results Processing Utility\OfflineResultsProcessingUtility\MainForm.cs

    If (! data.) Quit smoking)
    splashScreenForm = new SplashScreen (mEngine, false);

    Regarding the flags without papers, there are not really many flags undocumented in the ORPU (even once, you can see them in the source), and undocumented flags have very specific use cases (open files from shell and NEITHER internal regression tests).

    A (non-official) complete list of indicators ORPU from 2014 TS:

    /?
    Shows help

    / tray
    Starts the ORPU in the status bar

    / exit-when-done
    Exits when all files are made

    / I'm leaving
    Leave immediately

    /process - files - Missing - Data
    Treats the files even if they lack of data

    / which-process-files-Missing-Data
    Do not process files that are missing data, show only a mistake (it is the default behavior).

    / Process-All-Profiles
    Start all profiles

    / Process-No.-Profiles
    Don't start any profile

    / Process-Profiles
    Treat the profiles specified in the following arguments

    / process-files
    Add the files specified for the specified profile

    / log - level

    Sets the logging level for the newspaper ORPU, all of the messages above, the specified log level is saved.

    /ShellOpen
    It is an internal indicator, it is used to treat applications for the shell (for example, after a double click on a tsr in Windows Explorer). Do not use this indicator.

    / non-interactive
    It is an internal indicator used for the test. Do not use this indicator.

    Please note that NEITHER does not support appellant flags undocumented and that NEITHER is not guaranteeing backward compatibility of these flags undocumented and they could change at any time, without warning.

    For a more detailed explanation of the working of each option, refer to the Arguments of the command line Utility using TestStand treatment results offline.

    Hope this helps,

    Francisco

  • Links in the chain of results TestStand works is not in the HTML file.

    After using the doc to http://zone.ni.com/devzone/cda/tut/p/id/4563 to build a full failure string in the HTML TestStand results file.

    Why some of the links in the results file work?

    Hi Pat,

    The issue is up to the step add step name in reportgen_html.seq.  This step is currently set to add an ID for a step that generates the sequence to fail.  So for the time being, while you get the complete list of steps that fail, TestStand does not affect the target of the link html.  To remedy this, we can modify step by removing some of the expression.  See the attached file that highlights the sections of the expression that must be eliminated, and what must be the expression.

    Once you implement this change, you should get all the steps entirely related.

  • Calculation of the costs of process execution results

    I am trying to view my costing process using view > payroll result process
    = Monthly salary payroll

    Action type = cost

    and I click on find I can see the date of costing in March 31, 2010. I then click on the process button and then I click on the employee that I want to display the details of costs and I click on the button of the costs
    Need me a screen where I enter the encrypted carry information IE should I select a date in the lov and then I click the detail section under the name of the item that I can display the employee details for each element and entry of debit and credit for each of the elements.

    Can someone tell me the name of the table to this form that I want to display using the select sql command.


    Appreciate all your help!

    Try this query...
    Select pet.element_name ' Element', 'Value' pc.costed_value, pc.debit_or_credit ' "debit / Credit", pc.balance_or_cost «Scale / Cost", ppa1.date_earned, paa1.assignment_id»»»
    from pay_costs
    pay_cost_allocation_keyflex pcak,
    pay_input_values_f piv,
    animal pay_element_types_f,
    pay_assignment_actions AAP,
    pay_payroll_actions App,
    Pai pay_action_interlocks,
    pay_assignment_actions paa1,
    pay_payroll_actions ppa1
    where pc.cost_allocation_keyflex_id = pcak.cost_allocation_keyflex_id
    and pc.assignment_action_id = paa.assignment_action_id
    and paa.payroll_action_id = ppa.payroll_action_id
    and pc.input_value_id = piv.input_value_id
    and piv. ELEMENT_TYPE_ID = pet.element_type_id
    and ppa.action_type = 'C '.
    and paa.assignment_action_id = pai.locking_action_id
    and pai.locked_action_id = paa1.assignment_action_id
    and paa1.payroll_action_id = ppa1.payroll_action_id
    and ppa1.action_type IN ('R', 'Q')
    and paa1.source_action_id IS NULL
    and paa1.assignment_id =: pAssignmentId
    and ppa1.date_earned =: update
    order by 1

  • How to display the current Options in the window treatment result

    Hello

    I am preparing customized results processing plugin in TestStand. TS help I can use Base.OptionsDescriptionExpression to set the Options column in the window treatment result. In this column may consult the summary current settings. I want to display the path of the directory of report in this document, as in the sample report in Simple text format. Unfortunately I'm not able to do this...

    I use FileGlobals.ModelPluginComponentDescription.Default.InitializationExpression to set default report path, in plugin options, by using the following expression:

    #NoValidation, ModelPlugin.PluginSpecific.Options.ReportOptions.Directory = RunState.Engine.GetTestStandPath (TestStandPath_Public) + "\\Reports.

    Then I changed FileGlobals.ModelPluginComponentDescription.Default.Base.OptionsDescriptionExpression into #NoValidation, ModelPlugin.PluginSpecific.Options.ReportOptions.Directory which should contains the default path for the report estimated at InitializationExpression and this directory should be displayed in the column of the Options in the window treatment result.

    I don't know what Miss me, because it doesn't work. When I use the breakpoint in model Plugin - configure the Standard Options to see the Parameters.ModelPlugin.Base.OptionsDescriptionExpression, it displays:

    #NoValidation, / / disable validation because higher level ModelPlugin property exists only when running

    ""

    So it seems that my Default.Base is not copied in Parameters.ModelPlugin.Base

    So how do you view the current Options (at least report the path) in the window treatment outcome? Help, please

    OK, I think what is happening. FileGlobals.ModelPluginComponentDescription.InitializationExpression is evaluated when I add the new instance of the result new treatment-> insert plugin. Then each window treatment of the result of time shows that Parameters.modelplugin.base.optionsdescriptionexpression is evaluated to update the Options column.

  • Toggle the runtime from Visual Studio TestStand API declaration XML file creation

    I am looking for a Visual Studio c# solution to selectively disable the creation of the generation XML report file using the API TestStand.

    These XML files are useful for active troubleshooting for technicians, but end up cluttering the important directories with unnecessary information most of the time.

    I am aware that the creation of the XML file can be disabled through the element to configure menu the TestStand sequence editor | Result processing | Name output report | Enabled the option unchecked.

    This is useful, but:

    1. I have not found a way to enable - disable this feature when running.

    2. I don't think it would be an effective solution for my paradigm of basic deployment without installation.

    Any help or ideas would be appreciated!

    Here is an example that works for me. If I run single-pass with a report on, I don't get a report.

  • TestStand 2012 Newbee question: How do I pass a string to a VI to TestStand to control the flow of sequence?

    I want to use a drop-down list box (or a similar control) in a VI to select from a list of strings to direct execution in TestStand.

    • How connect the channel selected in the combo box at the output of the VI Terminal so I can see it in TestStand?

    • What should I use as 'value' in the parameter module TestStand to retrieve the result of that VI?

    I tried "wiring" the result of the drop-down list box directly to a terminal of output without success.

    I tried "wiring" the exit from the drop-down list box to a wire string variable then this variable to an output without success Terminal.

    (see attached files)

    Can someone give me an example of a VI that allows you to select from a list of strings: {'Bob', 'Mary', 'Bill', 'Jennifer',...} using a

    (or similar) drop-down list box control and routing of the string selected to the output terminal?

    Also, how to reference this (result) setting within TestStand?

    It is a simple task and there can be only one solution TestStand, I'm looking for a simple direct execution sequence by the operator to select a string in a list.

    I studied this problem, but could not find instances of the digital comparisons or string canned and did not find a generic model that would return a string to a VI to TestStand result.

    Thank you for suffering through this fundamental question.

    David

    Melbourne, Florida

    Marco beat me but here is my interpretation. TS 2010, LV 2011

    Also, look at the example of demo which comes with TestStand: C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 2010 SP1\Examples\Demo\LabVIEW\Computer Test of the motherboard

    Demonstration should be a version of what you want.

    See you soon,.

  • Passage of Variables in TestStand through LabView

    I have an error, I am developing a crush on the recall of database Options. I say TestStand what database to write. I am in him passing a variable and I get an error. Here is a description of the error.

    Here is the statement I use:

    DatabaseOptions recall that I use a statement that change the data of databases is stored.

    I have a VI that passes a string that represents the location of my data file, I want to use. I stored it as a variable in database called StationGlobals (it's currently a string but I tried the executable file and the way too with the same error).

    Parameters.DatabaseOptions.ConnectionString = StationGlobals.Database

    StationGlobals.Database has the value

    "\"Provider=Microsoft.Jet.OLEDB.4.0; Persist Security Info = False; Data Source = C:\\Users\\Public\\Documents\\\National Instruments\\\TestStand 4.2.1\\Components\\Models\\\TestStand Results.mdb;. » »

    There must be a problem with variables, because when I copy and paste what StationGlobals.Database in and use the following statement it works perfectly fine.

    Parameters.DatabaseOptions.ConnectionString = '\"Provider=Microsoft.Jet.OLEDB.4.0; Persist Security Info = False; Data Source = C:\\Users\\Public\\Documents\\\National Instruments\\\TestStand 4.2.1\\Components\\Models\\\TestStand Results.mdb;. » »

    Here is the error I get:

    Details:

    An error occurred calling "LogResults" in "ITSDBLog" of "ZNIUGOL TestStand database logging"

    An error occurred initializing a connection to a data binding.

    Connection string: "Provider = Microsoft.Jet.OLEDB.4.0; Persist Security Info = False; Data Source = C:\Users\Public\Documents\\National Instruments\\TestStand 4.2.1\Components\Models\\TestStand Results.mdb. »

    Description: [Microsoft] [ODBC Driver Manager] data too long name source

    Number:-2147467259

    NativeError: 0

    SQLState: IM010

    Reported by: Microsoft OLE DB provider for ODBC drivers

    Source: TSDBLog

    Error code:

    -2147467259; User-defined error code.

    Possible system error: unspecified error

    Geographical area:

    Step 'Results of the log to the database' sequence "Log to database" in "Database.seq".

    Please help I can not find a solution to this issue.

    Thanks a lot for any help

    Once more, the channels of Expression, stumbled to another programmer!

    Parameters.DatabaseOptions.ConnectionString is not a string but an Expression string and your assignment of an StationGlobals.Database (just a string) causes this error.

    Here's what I did to solve your problem:

    1.) StationGlobals (start and remove the leading "------"------"' chain of database") must contain NO beginning or end quote

    StationGlobals.Database = Provider is Microsoft.Jet.OLEDB.4.0;. Persist Security Info = False; Data Source = C:\\Users\\Public\\Documents\\National Instruments\\TestStand 4.2.1\\Components\\Models\\TestStand Results.mdb.

    2.) rappel Database Options use the following expression to define the Data Source

    Parameters.DatabaseOptions.ConnectionString = "StationGlobals.Database".

    There are other alternatives as stated in this link.

    http://zone.NI.com/DevZone/CDA/tut/p/ID/4793

    Good luck

    PH

  • Disable the database on abandonment

    Hello community,

    Using 32-bit Teststand 2014

    In a previous post of mine, I asked how do I enable/disable by program the result of database processing. I got my answer and it dealt with altering the sequence file callback «DatabaseOptions» Is there a way to change the setting in my DatabaseOptions during my MainSequence? My reason for this is when the user runs the movie file and decides to abandon during the test based on a selection of message popup. I do want to teststand to process the results to the database when the user cancels the test and proceed to the cleaning. Is there a way to cause Teststand to not write to the database in this scenario?

    I'm not sure I follow what is happening here.

    Are you still trying to prevent the logging database in the case where you're finished running? What I have described above should do. See the file attached sequence (I tested this out with the sample shipment database).

    As to change the ConnectionString property in the callback of LogToDatabase, it is likely not to do that you are pregnant. A new connection is performed only if one does not already exist (even if you change the connection string during execution). If you're really moving from the database that you connect in the middle of a performance, there are ways to go about this, but I wouldn't recommend it if you try only to prevent logging in particular situations. The method I proposed above would be much cleaner to implement.

    Hope this helps,

    Trent

  • How to set the path of the report in a plugin for model

    I'm trying to figure out how to set the path of the report in a plugin process model. I can't find a way to have access to it. It seems this would be a reasonable thing to do since the plug-ins are for the treatment of the results. Does anyone know how to do this? We generally use the sequential process model, but I try to keep my plug-in as independent as possible.

    Thank you.

    If I understand correctly, you want your plug-in, when enabled, change the settings of all other instances of the report OR plugin as their reports share the same directory that your plug-in is configured to use.

    If so, your plug-in can access and change the settings of all other instances of plugin. All instances are passed to all the points of plugin entries in the subproperty of the plugins of the ModelConfiguration parameter table. You can browse this table. Any element of the array with an equal to "NI_ReportGenerator.seq" Base.SequenceFilename is an instance of the report OR plugin. Its report options are stored in the element under PluginSpecific.Options.

    You can change the report options to what you want. Note that the recall of the ReportOptions model is called from template-plugin Initialize entry point, then you might want to ensure that your changes are applied after that, so they are not replaced. To do this, you could make your changes in the Initialize entry point of your plugin and make sure your plugin runs last. To rotate the last, you can set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your file of plug-in with a value greater than 0, for example 1.0 (see Help for TestStand > Fundamentals > process template Architecture > plug-in for the model process Architecture > Structure of the plugin sequence files > plugin model of entry Points > Order Execution of Point of entry at run time).

  • Removal of unused sequences in a report generator plugin

    I use an unmodified version of ModelSupport.seq comes with TS 2013, and have created a result processing plug-in by using the configuration > treatment result > advanced... > create new Process Model plugin... method.  This creates a file of sequence with several sequences, which are empty, not called, are not reminders.

    These sequences are not used, as is there damage by removing just to clean the file of the sequence?

    My understanding of the operation of ModelSupport.seq is that it crosses the plugins active result of treatment, analyzes all the sequences that are "model Plugin-... ", and then the appropriate steps in the process model, uses a ForEach loop to run each sequence.  So if a plug-in does not have (for example) model Plugin - USE Start, then ModelSupport simply not run anything when ModelPlugins - USE Start is called.

    Thanks in advance,

    Seth

    Yes, you can remove those you don't need.

  • I want to generate a second report to the test.

    I have a test setup that runs production units and generates reports that I have defined without any problem. Now, it is desirable that I create a report 'summary' as well. So I have the original report that is generated with all the details of the tests that were performed. Now a report that essentially shows what tests have been performed and the State of success/failure of each only be generated. I know that I can go and do the writing of this article to an Excel spreadsheet or something similar. I was wondering if there was a native way of the test bench it could be done first.

    Thanks in advance for any help.

    Troy

    To create the second report, go to configure-> result processing and click on the ' + '.  You will be able to modify your second report as needed.

    Pulido Technologies LLC

  • How can I use 2 sequences simultaneously?

    Hello

    I recently installed TestStand 4.2.1 I try to understand, I use 2 sequences simultaneously?

    Kobi.

    Kobi,

    What do you mean by "use sequences?

    If you talk about "the execution of two sequences in parallel", then the answer is Yes.

    In order to understand the parallelism in TestStand, I suggest you learn more about:

    - Knowledge General TestStand

    - Process templates

    - Parallel execution

    hope this helps,

    Norbert

    PS: You should think to participate in a course TestStand

  • SmartImport - add to the layers of scale model

    Is it possible to edit the SmartImport script in the after effects place the results processed directly in a model? Basically, I would like to automate typing a bunch of image sequences and to have these seqeunces fell into a specific model.

    I thought I would add something like that need to reference files to find in the SmartImport function... but I don't know what/how the SmartImport variable are used?  Any help would be GREATLY appreciated.

    masterComp Variables

    var compWidth = 1920;

    var compHeight = 1080;

    var compPAR = 1;

    var compDur = 60;

    var compFPS = 24;

    Create the Master model

    var masterComp = app.project.items.addComp ("MASTER", compWidth, compHeight, compPAR, compDur, compFPS);

    Results SmartImport place in masterComp

    masterComp.layers.add (SmartImportResults);

    If you can assume that the elements of one film in the project bin are those imported by SmartImport, you could do just something like this after you have created your model:

    for (var i = 1; i)<= app.project.numitems;="">

    If (app.project.item (i) instanceof FootageItem) {}

    masterComp.layers.add (app.project.item (i), masterComp.duration);

    }

    }

    Otherwise, you will need to change SmartImport to save its results as it goes along. I would probably create a global network at the beginning of script

    var myFootageItems = [];

    and then change the importSafeWithError() function to push the results in the table:

    function importSafeWithError (importOptions)

    {

    try {}

    var myFootage = app.project.importFile (importOptions);

    myFootageItems.push (myFootage);

    } catch (error) {}

    Alert (Error.ToString () + importOptions.file.fsName, scriptName);

    }

    }

    Then in your code, just go through the table and add the layers:

    for (var i = 0; i)< myfootageitems.length;="">

    masterComp.layers.add (myFootageItems [i], masterComp.duration);

    }

    I have not tested this code, so it may not be perfect, but it should be close.

    Dan

  • Failed to start all services

    Hello

    I am working on AIX 6.1 with Oracle EBS 12.1.1, recently there was a server crash, after which the date has been changed somehow. The unix admins were able to restore the system. After the restoration of the database is up and running, but some of the application services do not start.

    Below is out of the application services startup script

    Service control script execution:
    departure of +/U06/Oracle/inst/Apps/TEST_prod2/admin/scripts/adoacorectl.sh +.
    script gave:
    ****************************************************
    ERROR: Timed out (100000): Exception interrupted

    You are running version 120.13 adoacorectl.sh

    From OPMN managed OC4J instance OACORE...

    ****************************************************


    Service control script execution:
    departure of +/U06/Oracle/inst/Apps/TEST_prod2/admin/scripts/adformsctl.sh +.
    script gave:
    ****************************************************
    ERROR: Timed out (100000): Exception interrupted

    You are running version 120,16 adformsctl.sh

    From successful OPMN FORMS OC4J instance...

    ****************************************************


    Service control script execution:
    departure of +/U06/Oracle/inst/Apps/TEST_prod2/admin/scripts/adoafmctl.sh +.
    script gave:
    ****************************************************
    ERROR: Timed out (100000): Exception interrupted

    You are running version 120,8 adoafmctl.sh

    From OPMN managed Association OC4J instance...

    ****************************************************


    Following is in the default_group ~ forms ~ default_group ~ 1.log

    WARNING: Failed to access the loaded classes.
    + < type af = "tenured" id = "1" timestamp = "" Mar 24 16:26:20 2012 "intervalms"0.000"= > +"
    + < minimum requested_bytes = "32" / > +.
    + < time exclusiveaccessms = "0.018" meanexclusiveaccessms = "0.018" son = '0' lastthreadtid = "0x3258A500" / >.
    + < soft refs = "306" low = ghost '954' = '0' dynamicSoftReferenceThreshold = "32" maxSoftReferenceThreshold = "32" / > +.
    + < tenured freebytes = totalbytes "3355136" = '67108864' % '4' = > +.
    + < soa freebytes '0' '63753728' = totalbytes = % = '0' / > +.
    + < freebytes loa = totalbytes "3355136" "3355136" = % = "100" / > +.

    Please, any help, suggestions and advice.

    Thank you

    If please run AutoConfig and make sure that it ends successfully.

    Please see these documents.

    Release date 12: ADSTRTAL.sh error: TIMED OUT (100000): EXCEPTION INTERRUPTED [564536.1 ID]
    Commissioning services in an environment AS10g e-Business Suite Release 12 [743518.1 ID].
    Cannot start the Services of intermediate layer after the Instance for backup [1084306.1 ID]
    R12: Stop managed OPMN results process J2EE timeout [ID 566142.1]
    Oacore Service hung on startup [ID 1298003.1]

    Thank you
    Hussein

Maybe you are looking for

  • PASTE URL IN EMAIL

    10.11.5 el captain New MacBook Pro All of a sudden I can't paste a URL in the body of Apple mail. Can paste anything else, but NOT a URL This started about a week ago

  • Qosmio G20: Pointer mouse gel in Media Center

    I have a new G20, and everything seems to work fine, except... When running MS Media Center, once at a time the mouse pointer will freeze. (I use the touchpad). I can't Alt - F4 to kill Media Center, and the mouse is still frozen. If I close the lid

  • editing photos after upgrade to iOS 9.2 cannot be saved

    After upgrading my iPhone 6 iOS 9.2, photos edited in the Photos App are not saved. After pressing 'done', the picture changes to the original. Urgent pictured again and on Edit, shows a 'Reset' button, but that's all that's changed A forced reboot d

  • Error in event.vi detect Break

    Hey friend, As see you an example, I just opened can detect break event.vi. The error is 'Wite-conflict of class '. Please help me on this. I have a program that uses thisVI.that program shows warning "This VI needs of a driver or a toolkit component

  • X 220 wake at the opening of the lid

    I know this is pretty trivial, but my X 220 suddenly stopped waking up when I open it. Anyone know how to re-enable the which? I have been in the power settings and others and have not been able to find. Thank you