Secondary process model

The States of TestStand Manual of reference on page A-4:

"In addition to a primary, or parent, process template file, you can use a secondary process template file, or the child, to encapsulate specific functionality, such as the generation of reports."

A 'model of secondary process' file is also mentioned on page 10-3:

"A primary process template file can directly call reminder of model sequences in a secondary process template file. At runtime, if the sequence of the client to the primary sequence file file implements a callback defined in the secondary process template file, TestStand called the sequence reminder in the customer file of sequence, even if the primary process template file does not define the callback. You must add a copy of the sequence of callback for the file of main model for the reminder to appear in the dialog box file of the file of the client's sequence sequence recalls. »

I can't find any additional information about the secondary process model.

  • Can someone explain how a secondary process model would be used?
  • Are there examples using a secondary process template?

Thank you!

1. how to create a / refers to a secondary/child process model?

It seems that this is done by creating a sequence of recall in a sequence file 'child' AND 'parent sequence file.  Is this correct?

To create a process model in general you open a movie file and go to Edition > properties file in sequence.  Then on the Advanced tab, change the model Type.  So that it becomes a secondary/child process template, you'd call a sequence on the primary process model.  For example, the SequentialModel.seq at one point makes a call to ProcessOTFStepResult in one of the encores engine in there.  Then, the ProcessOTFStepResult sequence makes a call to PutOneResultInReport (if you use the reportgen_txt.seq).  Then the sequence PutOneResultInReport makes a call to ModifyReportEntry (which is a reminder).  However, if I have a file of the client's sequence I intercept this result and make some changes.  So I would cancel this reminder.  But since ProcessOTFStepResult and PutOneResultInReport are not in the process template must have a mechanism for me to replace it with the customer.  It's because reportgen_txt.seq has a different behavior than reportgen_html.seq or reportgen_xml.seq.  So, it is not sensible to put everything in the process template.  Otherwise, your PM would be ridiculously high.  But you also have to make a copy of the reminder in the MP, so that the customer can see.

2. the parent sequence file callback simply acts as a pointer toward the kid movie file recall?  Yes and no Cela depends on if it is called in the secondary particles or primary particles.

3. how many levels of "models of child process" can create?  Is it possible to create a 'third-party process model? I just tested this out, and it seems that you can.  But you don't have to set the reminder in a high school.  Just the third layer and primary particles.

Tags: NI Software

Similar Questions

  • process model: include PreUUT and PostUUT step translates report

    Hello everyone,

    Little background:

    My test team has 4 writing code developer for 4 different components. The endurance test, we have common requirements as variable input voltage and of the temperature. Instead of using the common installation model, we prefer to use PreUUT of TestStand process model element. This helps each of follow us strict coding style.

    Problem:

    There are many examples to record the results of PreUUT and PostUUT in the report. However, all of these examples require change in file client sequence. How to implement this feature in the process template itself? So that developers do not have to ModelCallback process or use patterns in their code and still the tension updated the and temperature in ProcessModel could be connected to the report.

    Ah yes, I use TestStand 2013 (4.1)

    Concerning

    Benjamin

    Thank you, Julian.

    Some of your other posts has helped me solve the problem of the PreUUT. I don't know if this is the correct method, but it works very well for me.

    Did the following:

    1. in the ProcessModel activated sequence result record for any stage in PreUUT sous-séquence.

    2. in PreUUT sous-suite added after declaration-

    "" 'RunState.ProcessModelClient.Data.Seq ["MainSequence']." Locals.ResultList = Locals.ResultList

    And voila, I PreUUT step results in my report. I would like to have feedback on your part. Is this a good method? do you see any risk?

    The next challenge online is now to log PostUUT results in the report.

    Kind regards

    Benjamin

  • prevent the 2 instances of process model

    Hello

    We have several testers in operation.  There is a particular test that we run, which has some downtime involved on the object to be measured, and it seems that there is no test running.  Then a person can come and try to run another instance of a sequence, so re - run model of process, trying to initialize the hardware that is already in use and causing a cascade of errors, screwing as the test that was running.

    Is there a property, I can verify from the outset in the process template, I can program into a command prompt to warn the person "there is already another ongoing test here, an abortion?" and "cleanly"?  Or better yet, is there an option somewhere in teststand as "to prevent simultaneous execution of process model" or such?

    Thank you

    David Jenkinson

    Try this one.

  • Property to tell whether the process model has been run?

    Hello

    Is there a property to look at a sequence context, where I can tell whether or not the process model has been run?  I need to edit programmatically initialization step vi, depending on whether the process model has been run.

    Thanks for any idea,

    David Jenkinson

    RunState.Root! = RunState.Main

    or

    PropertyExists ("RunState.ProcessModelClient")

  • 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,

  • batch processing model loop

    How to set the model of batch TestUUT loop once? You need to use TestUUT and not only passage require the dialog box of the UUT.

    In process model so step ' Goto next batch "is modified to create a branch to"- end of batch loop -", discussions do not stop.

    Please advice.

    The simplest thing for you to do is in the verification of sequence/reminder pre-batch Parameters.ModelData.BatchLoopIndex if it is > 0 or > 1 (forget if it is 1 or 0 according to), then set Parameters.ContinueTesting = false rather than perform the steps that are normally performed in this order. That is it really. That should do it.

    Hope this helps,

    -Doug

  • Get name of running process model

    Hello

    I would like to test during the execution of my sequence

    (1) if there is a process model, who started the sequence

    (2) the name of the process template that was launched

    Anyone know the sentence?

    Cause I tried this in a stage of 'if' and it doesn't seem to work correctly:

    RunState.IsProcessModel & RunState.Execution.GetModelSequenceFile (). AsPropertyObject(). Name == "Single Pass".

    Thank you very much DowNow... It works very well!

  • Dynamically set the Station process model

    I noticed in an existing position, to dynamically set the active process template, you use the Engine.StationOptions.StationModelSequenceFilePath property. (Search for "How do I dynamically (at runtime) the models?").

    But where do you put the statement that sets it?

    Thank you

    Oh yes I forgot to say in my last post

    You can make a file of sequence requires a specific process template.  So that no matter what the model of the station is on the sequence of file always use the designated model provide you.

    With the sequence file that requires that the new process model open go to Edition > properties file in sequence.  Under the Advanced tab, under model Options, select require a specific model.  You will then see a box of template file.  Navigate to your new template and select it.  Click OK to exit.

    Now, whenever this sequence file is opened, it will use this process template regardless of what is the model of the station.

    Hope this helps,

  • method to set the station process model

    Hi ppl...

    I am building a custom in LabVIEW operator interface. I want to know the method to set the station process model.

    Thank you

    Hi ppl...

    I found the solution for this.

    We can use the Engine.StationOptions.StationModelSequenceFilePath property to set the model of the station.

    Thank you

  • News station using the batch process model

    Hello

    I have a test sequence using a model of sequential processes and station information by using the following, I.

    RunState.Root.Locals.StationInfo.StationID

    RunState.Root.Locals.StationInfo.LoginName

    I create a new test sequence that uses the model of batch process - when I try to enter the information Station data using the syntax above I get the following error

    Name of variable or unknown property 'RunState.Root.Locals.StationInfo '.

    Can some advice please if I go to the wrong place when using a model of batch process?

    Thank you best regards &,.

    Shane.

    Batch and parallel models you can access this information using:

    RunState.Root.Parameters.ModelData.StationInfo

    -Doug

  • Y at - it a State chart type or the flowchart describing the order of execution process model?

    One of my clients asked me this question...

    I have a problem with a change in the order of execution in TestStand 4.1.1.  [he has improved from 3.1 to 4.1.1]  It seems that ProcessModelPreStep runs earlier in 4.1.1 to 3.1.  This causes our model of error because some required variables have not been set when executing.  I wish that was a big flow chart or a diagram of the State for TestStand.  Maybe it is and I don't know where to look?

    The reminder that you describe is a reminder of engine and is independent of the process template.  There is a list of all actions and their order described in the TestStand reference manual in Chapter 3 of the section called "step Execution.  You will see the action 11 is a reminder of previous step motor.

    P. Allen

    NEITHER

  • How can I view graph of waveform in a secondary Vi model.

    Hi all

    I am new to Labview so need help. I am developing an application that reads data from a network of sensors (WSN) wireless. The WSN composed of connected to the USB base station what data gets other nodes of sensors.  The data comes in a certain format.  Name of the node, temperature and humidity reading etc. I want to read data from the serial port, and based on the node name, I want to view information for each node in the separate window s or secondary etc. So if a new node is detected then a new window is created for this node. Given that all nodes have the same sensors on board I only need a model one. I can read the data by using the serial port, analyze the data to detect which node it is and also what are the sensor readings. I created a template of VI for the sensor node. I have problems showing model screw in a secondary school. I can correctly display a waveform graph in high school, but I have problems in a waveform graph display in the secondary. I can see the actual waveform table in high school, but I do not see the plot. Would be grateful if someone could tell what I'm doing wrong here.

    Thank you very much

    Raza

    Hi all

    I think I solved the problem. It seems that I was running the Vi in a loop. I took the Vi run outside the time lopp and it works very well. Also, I need to close the reference at the end.

    Raza

  • Process modeling: design patterns and best practices

    Hello

    Could someone please suggest / share any technical information or documents tha associated with "modeling of process - Design Patterns & Best Practices."

    Thanks in advance

    Santosh K.

    Published by: Santosh539 on July 29, 2010 16:07

    Here is an article I wrote on the process design patterns and best practices for BPM http://www.bptrends.com/publicationfiles/05-06-WP-BPMProcessPatterns-Atwood1.pdf trends

    It is specific for Oracle BPM.

    Dan

  • Test of parallelism by using batch processing model

    Hello!

    I am relatively new to TestStand and have a question that seems to have an easy solution, but I can't understand (looked like the examples, forums, etc.)

    We use the model batch (minor modifications for reporting) but all run sequentially and have the template option set to 1 socket. I have 2 tested EHR sharing a room of temporary and 2 4145 s PXI (one for each DUT, using 1 channel as the power supply and the other three channels for the measures). I manage all the instrument in a reminder of ProcessSetup initializationg and jump into the MainSequence once the test is done I'm going in the ProcessCleanup recall and to close all references (we use digital recorders for instruments).

    I want set the template option to have 2 Sockets. So if I put the VI call that sets the temperature at will TestStand "A thread only" two starting sequences and one of them would set the temp and the other would ignore but spend once executed step.  Is there a way to tell TestStand "for USE 0, use SMU1 and USE 1 use SMU2" and go to the next temperature?

    It's a weird situation because all the examples I could find have the problem "more DUT with Instruments" so in my case, it's a problem well have .

    Thanks in advance!

    You can use the expression RunState.TestSocket.Count 0 based.  Use this value to create your EMS chain.

    Pulido Technologies LLC

  • Get the context of the sequence of other connectors (active) in the batch processing model

    TestStand 2014 - model updated the batch

    LV2014

    System controls an environmental Chamber and doing trials on 4 of the UUT.  Room Enviromental is the shared resource and is controlled by the synchronization of thread only lot.  A UI TempMonitor of Labview (also synchronized lot) pops up, until you reach the target temperature and soaking time is over (so you can monitor returns to the House and see the amount of time remaining.  It all works fine in the system of warnings in.

    Now, there is a new requirement to take permanently UUT s to ensure that they remain in the State during the temperature ramp and soak period.  The simple answer is to integrate this track in TempMonitor UI because it has access to all relevant data pads.  However, I would need to do an end run around traditional return since it is only run by one of the four (up to).

    My thought is that if I had access to all active sockets sequence contexts, I could ask them their index and State, follow up and write the results to réécrirait a local variable before leaving the user interface.  The only thing that prevents me from going forward, it's that I don't know how to get the engine to give me the sequence for each Active socket contexts (0-3 which may be disabled via the setting ContinueTesting false instead of disable flag, it is a product of use pass 3rd batch of party model, so the executions of people with disabilities are marked as completed when running rather than wait).

    Or, Alternatively, how inspect all executions and to determine what decision he belongs (if necessary, because my data acquisition engine runs in its own, hidden, execution).

    Thanks for any help,

    Mike Webster

    Actually, I was looking for a way to get the SequenceContext for the other active sockets that launched the TempMonitor GUI, so I could put results in the other sockets directly.

    However, I gave it, and instead I am launch the GUI TempMonitor in its own thread and have each socket to monitor the status of USE on its own with a separate VI until what the ramp / soak temperature is how the GUI will highlight Boolean StationGlobal that triggers the individual to continue.  More complicated, but also in the spirit of TestStand to things, I think.

    MKE

Maybe you are looking for

  • Can I access radio Apple through Apple TV?

    CCan to access my Apple from the Apple TV radio?  I thought I had done so before, but he is no longer see icon.

  • How to act on the data at the level of the ILO

    So, I have a number of registered inhabitants in... Call Locals.BurnerState (numeric) I want to do something so um... 4th (?) bit is set (16) So, I tried If 16 AND Locals.BurnerState = 1 then... no If 16 AND Locals.BurnerState == 1 then... no If 16 X

  • When I try to print I get internet script error

    I'm trying to get my hp 609n wireless printer to print pages on the internet. When I selent a page or an article to print I get a script error message, it says: an error has occurred in the script on this page-how can I fix this sucker

  • When you connect USB device, explore crash in Vista

    I have a slow USB device, with some of the big files on it. When I plug in and go on the drive in Explorer, the little light on the device starts flashing like crazy, and explore stops for a minute. There is a 12 MB file there, which takes about a mi

  • AAA authentication for external router through PIX 515

    I have been in vain, to get the authentication AAA works to my external router, through the PIX. When I connect the router directly within that network (bypassing the PIX) AAA works fine, so I know the configuration of the AAA works between the route