Logging of additional results of step before reminder

In my sequence, the recall of SequenceFilePreStep checks if a step is a test step (e.g. NumericLimitTest). If this is the case, a value of temperature of an overall picture must be kept at additional step results. Let's say the array of temperature index is just zero here. I use the following statement then.

RunState.CallingStep.AdditionalResults.CustomResults.Insert("FileGlobals.Temperature[0]",FileGlobals.Temperature[0],"",PropFlags_IncludeInReport,-1)

The problem is that the name of the variable is evaluated as a number, which is the same as the value of the temperature. (See the image attached) But it's not even me to use an arbitrary name as "Temp". [He forces me to use the "FileGlobals.Temperature [0 '] under the name of the variable. Otherwise, I get an error. How can I assign a variable name in the additional results I want?

Is another question, is it possible to check if there is a variable with a name to additional results lag, using expressions? Basically, I want to replace an old value of temperature in complementary with a new value results whenever a loop iterates.

Any input will be appreciated.

pomirobotics,

In fact, the result name is an expression rather than just a string (you can see in the section additional results of stage settings and looking at the Visual editor for additional results entries). Therefore, you must include a different set of quotes in your expression to name. Here is an example:

RunState.Step.AdditionalResults.CustomResults.Insert("\"ResultName\"","Locals.MyNumber","",PropFlags_IncludeInReport,-1)

Backslashes are outside the game internal citations so that they are interpreted correctly when the expression is executed.

I hope that helps!

Tags: NI Software

Similar Questions

  • Additional results fail step?

    So I get to use the latest versions of TestStand and I play with the additional results for a test step.  What I was asking is; additional results reach the status of success or failure of a step?  For example, if I have a numerical limit step that also returns a Boolean value, can I use an additional result to not respect the condition based on the value of the Boolean value?  Or are, additional results just for reporting?

    Additional results affect the content of the report. If you need one step regarding its outcome depends on two different parameters (for example limit indicator and digital Boolean), you must create a custom step type.

    hope this helps,

    Norbert

  • Remove additional results of the previous step

    Hello world

    I have a step of the 'statement' (step 1) inside a while loop that creates an additional result to the stage (using Step.AdditionalResults.CustomResults.Insert).  For each row in the While loop this 'statement' step will create a new additional result.  After step 1, I want to delete the additional result created in step 1.  If I don't delete it, after each loop my report file will include all previous results additional loop.

    Is there a way to remove the additional result created in step 1?

    Thank you very much!

    Review the attached file in sequence.  Why don't you just use the same result?  Why do you need to insert and remove every time?

    Can you send me this sequence you sent the screenshot?  This way I can get a better feel what you are doing.

  • How to read the additional results of each step of the sequence of my main in LabVIEW?

    I'm working on the creation of stylesheets for TestStand reports. I do this by allowing the user to select additional results in every step she wants to see in the report in a LabVIEW edit stage. I can read the names of each stage, like in the picture as an attachment, but I can't access their (children?), additional results.

    I think that I thought about it, I guess that I had tried everything. The solution is something like the joint. Thanks for the suggestion!

  • Condition of additional results work does not correctly for the parameters

    TestStand 2014

    Trying to connect a parameter only if the status of the step is "failure" will not save the setting when the step will actually fail.  On the other hand, variables with the same State will record very well.

    The sequence attached illustrates this.  Basically I have a sous-suite that returns a random number and a string as parameters.  I use the random number to evaluate against my limits for the test call.  I want to save the parameter of string only if the step fails.  So I put as an additional result, then assign the condition

    Step.Result.Status == "failed".

    The data never show on the report.

    But when I put a result additional explicit with the same local variable and put the same exact condition it appears on the report when the step fails.

    I'm puzzled as to why settings will not open a session to this condition, but additional explicit results work fine with the same State.

    Any thoughts?

    Thank you

    Condition for additional result of the parameter is evaluated before the State sequence is set to failure. The 'out' parameter additional results are evaluated probably just after the code module, so if the status of the step is not changed by the call of code module, then it will always be "Running".

    I can see how it would be nice if it worked the way you ask, but keep in mind for input/output parameters it is usually the same expression/variable to both the 'in' and 'out' additional result, so it is important to the time at which the result is recorded. It must be done before calling code module for 'in' settings and after the call of code module to 'out' parameters to reflect the State of the variables to these points in time. I think that the intention is that the additional result for settings must reflect the State of the variables at the point in time immediately right before the call for 'in' settings and immediately after the call to 'out' parameters So if you want to connect under certain conditions a value based on the status (where the State is not changed directly by the code module), with the help of a result extra ordinary as you discovered is probably the best way to go.

    Maybe for the parameters we might delay logging to the end, but which may result in a change of behavior if the variable state changes again once before that. If you want us to consider or have another idea for how to handle this better please let us know or maybe post something to the exchange of ideas.

    Another possibility is that we could temporarily connect the results before and after the code module, but then not assess the condition to the end and throw the recorded result if the condition is false. Who can still cause a change in behavior although if "Value of Log" expressions have side effects.

    Hope this helps clarify things.

    -Doug

  • Be a mistake to create an additional result in the Table UUT_Results:

    Research site of NOR and found information on how to create additional value of loggin in the UUT_Result table.  I copied and saved the database.seq, and the standard process model.  parameter has been added to database.seq.  parameter added to the recall, then added a local variable to the model.  I did all the steps in order, then check the schema was OK and the journaling property has been added.  I always get the following error message and don't know if a step is missed.

    An error occurred calling "LogUUTResult" in "ITSDBLog" of "ZNIUGOL TestStand database logging"
    An error occurred when setting a column value.
    Statement: UUT_RESULT.
    Column: WO_NUMBER
    Property: measure. [Measure 1]
    Name of variable or unknown property 'Logging.WO_Number '.

    Source: TSDBLog

    Error code:-17306; Name of variable or an unknown property.

    Geographical area: step 'Journal USE result' sequence 'SequenceFilePostResultListEntry' in 'SequentialModel2.seq '.

    I think I had two different problems.  I was able to connect additional content under the UUT_Results, but I had to change my settings for database logging.  I disabled additional results, and everything started working.  I have always had a problem with the activation of the additional results box and never gave a reason why.  This occurs with standard features.

    If the last error noted the activation of additional results, so I disabled and was able to get my full database table.

    Thanks for the reply.

  • Why additional results stage does not meet the test report

    I have a file of sequence with several subsequences and I can't using step of additional results. I use the step of additional results in a subsequence and the specified results are added to the report test, but when I use the additional results stage on the main sequence, that nothing is added to the test report.

    There that something is off on the main sequence, which prevents additional results to add to the test report? I use the sequential model.

    The problem seems to be that the Locals.ResultList variable has been removed from your sequence. No results can be entered only if this variable exists.

  • Additional results - vs Value reference Bug

    I just wanted to find it there. When you try to open a session of additional results of a step, you can specify if you want to connect the value [In] or the [Out] all the variables passed by reference. If you have a variable that is passed by value, you can only connect [] that the value does not change. Makes sense.

    However, if you have a variable passed by value and then change to make reference to, it will not refresh to enable a value [Out] until step is reloaded.

    Thank you for reporting this bug. You experience this problem with a sequence step call? If so, there is a bug existing on this issue report. The ID is 142282. This problem should be corrected in a future version of TestStand. For now, you can work around this problem by clicking on the check box 'Use Prototype of Sequence' twice for change and then restore its value. When you do this the parameters in the update of the additional results panel.

  • Not present additional results in real estate to TestStand 4.0

    Hello

    I want to use a multimeter to save the current values in my TestStand 4.0
    test sequence. I was using TestStand 4.1 and recorded the results
    end of my report. I had checked the option additional results, but this
    option is not present in 4.0. Where can I find this option to save the
    value in my report?

    I used TestStand 4.1 but had to return to TestStand 4.0

    because some modules, I want to use only are not supported in TestStand 4.1 yet.

    Thank you

    If you proceed as numerical limit to evaluate the measured value, the result will be the part of the report unless you deselected the "include measures" in the report options.

    This is in any case recommended to include the measurement values in your report.

    You can add additional results using the 'ReportText' variable in the container - Step.Result. Just use a postexpression to convert your value to a string and put it on the ReportText (something like: "Result.ReportText = str (locals.mymeasurement)" "").

    hope this helps,

    Norbert

  • I tried to reinstall microsoft 6to4 adapter #2 and need me addition inherited material steps, but it will not reinstall

    and need me addition inherited material steps, but it will not reinstall why it shows up.

    Its a hidden device. According to Device Manager menu click on "see the hidden devices. It should show up under network adapters.

  • How do Parameters.Result used as a reminder? How is it different from Parameters.Step.Result?

    Hello

    I searched reference manuals TestStand, help and the forums, and I have not yet found exactly how Parameters.Result should be used in callbacks (if at all).

    I am trying to find a way to take a step that normally is not registered in the list of results and force it to appear on the rare occasions that it will fail. I think I should use the result, but I don't know how.  If I set Parameters.Step.RecordResult = True, then the step attaches to record results, but which seems to be permanent in the sequence file, and AFTER THAT failure becomes declared.

    Thank you for your expert help!

    -Gizmogal

    By browsing the SequenceFilePostResultListEntry I finally discern the difference between Parameters.Step.Result and Parameters.Result, which is visible at run time:

    Parameters.Result has a TS container, which refers to the stage, giving information such as StepGroup, StepName, StepType, among others. Its results-oriented properties are identical to the Parameters.Step.Result properties, I can say.

    Parameters.Step.Result has a container TS large type TEInf that seems to be the test information administration.

    There seems little back than I expected, but that's it.

    I'm partially through to shift my paradigm - save all the results and then throw those no interest. I ended up adding a status string 'RecordAlways' to force certain steps to record each time, and I throw any which are not equal to or 'Pass', 'Fail', 'Error' or 'done '. It works pretty well so far.

    Thanks again for your help!

    -Gizmogal

  • Additional results

    I followed the following tutorial:

    'Other results tp TestStand record database'

    http://www.NI.com/Tutorial/14595/en/

    When I arrived to method 1, step 3, I tried to enter a custom name for the data. The name that I always come home stays red. Even when I have a variable valid in the column 'Value of Log'. When I click on the validation, I get a warning from the assessment.

    Hey John,

    Try to put your name in quotes. This will cause TestStand to interpret it as a string instead of a variable name.

  • Process model: additional results

    Hello

    I have again to TestStand (process templates) framework.

    I would like to set up the process for my project template include comments of step and stage requirements for each step of the sequence.

    I've seen solutions where sequence recalls were used to implement this. But this requires the incorporation of reminders in the sequence file which I don't want.

    How can I do this?

    Concerning

    Benjamin

    Hi Benjamin,

    Is there a reason that you can't use the callbacks?

    Reports in TestStand consists of 2 elements: Collection of results and reporting.  Basically, the report is generated on what is collected.  The collection occurs during runtime.  So basically, if your collection contains no comments and requirements then it is impossible that a report can be generated with this information (as this information is no longer in memory).

    However, since it is of the static elements of a stage you can potentially get away with the creation of some kind of reporting mechanism focus on disk in the sequence copy and enter this information using the API TestStand.  The idea would be that you would through your collection of results and looking at the result properties you could identify what stage in what order in which order was called file.  Then open this file in sequence and glean the demands and comments for that step.  Quite honestly, that would be a hairy algorithm.

    If you use the statement-fly, you can use the ProcessModelPostResultListEntry callback in the process model and information on the step and put it on the report.  It would avoid having to add all your file of the client's sequence recalls.

    Hope this helps,

  • How to go from result of step of TS engine at the operator Interface?

    Hi, dear ALL

    I am a newbie in TestStand and I have a problem... A lot of documentation and manuals, but there is no clear answer = (could you please help me.

    Suppose we have a sequence with a step of success/failure. Now, I want to use my own operator instead of the sequence editor Interface to run my sequence. To the best of my knowledge, the TS engine will update Step.Result.Status property. I want to get this status and use it in my IO. How the engine works TS transfer the result of the step to the IO (or the sequence editor)? I read on user interface messages. TS engine automatically sends a special Message from UI?

    Thanks in advance,

    Max

    maksya wrote:
    [...] TS engine automatically sends a special Message from UI?

    Thanks in advance,

    Max

    No, there are no special UI for this Message.

    What you can do is to define your own customized for that user interface Message. Take a look on the TestStand reference manual page 3-15. You will find an array of components of step ordered by the execution. You can see that action no. 17 is the execution of the expression of the State. From that moment, the step should have its result. Therefore, you can use the step callback after engine (action no. 18) to send your Message to the custom user interface.  Another possible recall would be the recall of motor PostResultListEntry (action no. 32), which is the last point to transfer information.

    Regardless of the above info: why don't you use the SequenceView element and simply expel everything except the name of the step and the result column?

    hope this helps,

    Norbert

  • What is the next step before programming your site 'on-line'

    Hello

    I created a Web site and I wanted to get feedback on what my next step would be before you download my Web site on the host server. It is all ready to go live I just figured there's probably some tests and validate that I need to do about it to make sure that everything works as it should. So, I wanted to know what exactly are the next steps?  Are there resources (ie: a Web site, etc.) out there on the web that can help me make this as painless as possible? I'm still fairly new to simple web design so much better.

    Thank you!

    ashmic19

    Check spelling and grammar.

    Validate the CSS & HTML code.

    To ensure the menus, links and widgets all work, fully test your site in 5 major browsers. If you must support older IE, get IE Tester.

    http://www.my-DebugBar.com/wiki/IETester/homepage

    Use the toolbar to Firefox web developer.

    https://addons.Mozilla.org/en-us/Firefox/addon/Web-Developer/

    The Web Page Analyzer report & optimization

    http://www.websiteoptimization.com/services/analyze/

    Set up Google WebMaster Tools and Google Analytics.

    http://www.Google.com/webmasters/

    http://www.Google.com/analytics/

    Nancy O.

    ALT-Web Design & Publishing

    Web | Graphics | Print | Media specialists

    http://ALT-Web.com/

    http://Twitter.com/ALTWEB

Maybe you are looking for