SeqFileLoad in BatchModel

Hello

is it true that teststeps in SequenceFileLoad are executed only once in BatchModel?

I have 5 lots, but the steps in SequenceFileLoad are only run once and not for all the lots. Y at - it an option to enable cela or is this normal?

THX

It is correct.  SequenceFileLoad does not work with the process template.  It's a reminder of the engine.  It's not until you click on TestUUTs which you kickoff of the model of batch processing.  And even then if you look inside the model you will not see the executions be spawned until about halfway through the race.  So ProcessSetup and ModelOptions, and some of these reminders are always only 1 wire because they occur before the model generates the set of threads.

It is not supposed to spawn 5-wire SequenceFileLoad. What you trying to do?  Maybe there is a better way.

Hope this helps,

Tags: NI Software

Similar Questions

  • Batchmodel: How to use the different positions of the switch-for EHR?

    Hello

    I use the Batchmodel OR three EHR. HAD the current number can be read from RunState.TestSockets.MyIndex.

    Can the lot this three EHR. What is the way - OR to use different maneuvers (OR-SwitchExec) to each dut?

    TestPlan is for example

    Configure the DMM

    Put

    Measure

    Turn off the switch.

    Switching is of course different for each Instrument.

    I really should add an if around each switching (= endless work) or is there an easy way that I'm not currently?

    If (RunState.TestSockets.MyIndex == 0)

    DUT1 switch

    Else if (RunState.TestSockets.MyIndex == 1)

    Switch to DUT2

    Else if (RunState.TestSockets.MyIndex == 2)

    Switch to DUT3

    on the other

    end

    Thanks for the tips

    Best regards

    OO

    I wouldn't use either of the prerequisite or if things... It's too much work and I'm lazy.

    I would just use the built in step of switching:

    http://zone.NI.com/reference/en-XX/help/370404G-01/NISE/TestStand/

    Name your routegroups in Switch Executive to match your shooting numbers.

    For example, in the process (s) to connect: box can have the following expression:

    "SigGenToUUT" + Str (RunState.TestSocket.MyIndex)

    And have a road connecting the signal generator to the UUT named SigGenToUUT0.  It would be for USE in socket 0.

    Just a thought!

  • BatchModel - 10 loops and save the test report after each complete loop

    Hello everyone,

    We are using TestStand 2010 and currently using the BatchModel.seq for a quantity of 4 four DUT in a configuration of Burn-In.  Ten 10 times in a loop sequence of customer.  I wonder if there is a way to save the test at the end of each loop data report and create a new one for each of the loops after that.  Is this possible or I asking me too many software TestStand?  Thanks in advance for your responses to this last post.

    Kind regards

    Scott

    Hi Doug,.

    Thanks for the reply.

    I will discuss with my colleague who had a hand in the development of this customer file.  This customer file has been developed mainly by a contractor who works for our client.  These sound options as they will do the trick.  The customer file is used to Burn-In, so there are three levels of testing at three different temperature levels.  We strive to find some possible bugs in the code to that contractor that blocks the client file and all data is lost.  This will at least give us some options of data collection in a way that we should not worry if there is an error during the process and at least keep some data.  Thank you for your reply and if there is anything else, with that we have trouble, I'll post again.

    Kind regards

    Scott

  • TestStand 2012, BatchModel treatment of intermittent problems result.

    During execution of the BatchModel results are supposed to be going to separate directories for each Socket.  What we see is that intermittently, the path is not correct for a few shots, that is to say the results for a socket will be written to the badly taken directory.

    What could be cause the shells to the incorrect path generator?

    To obtain the path and the following file names has been added to USE Start, in NI_ReportGenerator.seq:

    Parameters.ModelPlugin.PluginSpecific.Options.ReportFileBatchModelExpression = ""-"-... \\\Data\\\"+ Parameters.UUT.ModuleType + "-" + StationGlobals.JSFPNR.TestType + (Parameters.UUT.ModuleType == ""?) "" " (Reports\\\":"\\\Reports\\\") + Parameters.UUT.SerialNumber +" \ "+ Parameters.UUT.ModuleType +"[] - TR2_ _MSN"+ StationGlobals.JSFPNR.TestType +" _PN ["+ Locals.UUT.PartNumber +"] [] []. " \"",

    Parameters.ModelPlugin.PluginSpecific.Options.BatchFileBatchModelExpression = ""-"-... \\\Data\\\"+ Parameters.UUT.ModuleType + (Parameters.UUT.ModuleType == ""?) " (Reports\\\":"\\\Reports\\\") +" BatchReport [] []. " \""

    You can insert steps Lock acquire and release the lock "TestStand - determine report File Path Mutex" around the stage that you added AND current steps of determination of file report so that the report expression file values are not changed by a power outlet while being still used by another taken?

    Lock: Acquire 'TestStand - determine the report queue Path Mutex'

    Lock: Open early 'TestStand - determine the report queue Path Mutex'

  • Copy of BatchModel.seq 4.1

    Is there a repository where I can find a copy blank Batch sequence models, parallel and Sequencial?

    Thank you

    This must be \Components\Models\TestStandModels except if of course this has been changed. In this case, you need to get from your CD of TestStand.

    You could try to remove the modified files and then do a repair.

  • UIMessage customized by the treatment model using batch

    Hello

    I have some difficulties, try to use the UIMessages in batchmodel, but first let me explain my situation:

    I use a PXI to test 6 DUT, knowing this, I wanto to use the model batch in teststand and send data to the User Interface customized using UIMessages, I pretend to not display data in 6 different (one for Mineral USE) charts, I a VI that atquires the current temperature, HAD tension, etc. What I do is to use the my VI RunState.TestSockets.MyIndex to get the current index and selection switch the apropiated chanel as (not), in fact right now I am able to send the voltage had TO or other data thoriugh a UIMessage. BUT my problem is that I am not able to send the real SocketIndex in the same UIMessage with the power to the instrument to TEST, and then this way my event reminder UserMessage can differentiate the test with his partner SocketIndex data and update the various graphics or custom indicators.

    I don't know if my explanation is clear, but I'd appreciate any help in this post, thank you.

    You don't need to pass it.  You can access it through your wire.  See attachment.

  • How to reset a table with a default value?

    Hello

    I have a 2D array type text that must be set to a special value.

    Dimension is [5] [50] where 5 is the parameter MyIndex from the socket in the BatchModel.

    Currently, I am doing this in a loop for which makes a loop 50 times for each outlet and in the loop, I updated the table value.

    StationGlobals [MyIndex] [counter] = 'value '.

    Is there a faster way to do this?

    THX

    Of course, you can use the following text:

    SetElements(Locals.MyArray,5)

    This expression will affect all elements of Locals.MyArray for number 5. If you want, you can specify an optional parameter to assign the value to a part only of the table.

  • StationGlobals in Batch Mode - even for all the lots?

    Hello

    I am trying to create a simple Testplan in BatchModel with 4 TestSockets.

    In the testplan is a loop, a loop around a SationGlobal.Dut for 10 times

    Question: Is this StationGlobal copied for all 4 testsockets and is also 4 times in the backgrouodn or the same stationglobals for all testsockets?

    Should I use a table 1 d for the loop variable and use as Index MyIndex from the SocketNumber?

    THX

    Solved.

    Changed the StationGlobal in a table with size = number of TestSockets.

    In the testplan write and read of the StationGlobal for help:

    StationGlobal.MyGlobal [RunState.TestSockets.MyIndex]

  • The use of different switchpositions in batch-model

    Hello

    I have a batchmodel running a testplan with 4 lots.

    How can I use different positions of the switch (OR SwitchExec) for each lot?

    Y at - there a variable that I can display that returns the number of the current batch so that I can use a simple '' if. ''

    If (x.batchnr == 1)

    locals. Switch = "POS1".

    Else if (x.batchnr == 2)

    locals. Switch = "POS2".

    ElseIf (x.batchnr == 3)

    locals. Switch = "POS3.

    Else if (x.batchnr == 4)

    locals. Switch = "POS4.

    and then use locals.switch as exepression in "roads to connect.

    Or how this work in general?

    THX & BR

    TM

    Resolved:

    Just had to put everything in a sous-suite, then assign Serial in StepProperty "synchronization."

  • Change Parameters.ReportOptions by the expression

    I'm testing five DUT with the batchmodel.

    Now, I want to save UUT statement of "c:\\test\\__'.»»

    For this purpose, I added expression to the sequence "ReportOptions:

    Parameters.ReportOptions.DisableReportGeneration = False,
    Parameters.ReportOptions.IncludeStepResults = True,
    Parameters.ReportOptions.AppendToFileIfItExists = False,
    Parameters.ReportOptions.Format = "html."
    Parameters.ReportOptions.BodyGenerator = "Sequence."
    Parameters.ReportOptions.BaseName = ""
    Parameters.ReportOptions.DirectoryType = "SpecifyByExpression"
    Parameters.ReportOptions.ReportFilePath = "c:\\test\\__«,»»
    Parameters.ReportOptions.GeneratePath = False,
    Parameters.ReportOptions.IncludeTimes = False,
    Parameters.ReportOptions.DateAndTimeFormat = "DateFirst."
    Parameters.ReportOptions.NewBatchFileNameForEachBatch = False

    Now, I get the following error:

    Details:

    There is an error produced the appellant 'save' in the 'report' of 'NI TestStand 2010 API.
    Invalid value or out of reach... Error writing to file 'c:\test\__.html'.

    Error code:

    -17300; Invalid or out of range value.

    Geographical area:

    Step 'Write batch report' sequence 'DUT Test' in 'BatchModel.seq '.

    What I am doing wrong? I have searched and tried a several think, but I can't find what's wrong.


  • Definition of deployment model

    Hello

    I use the latest version of TestStand and many test and deployment in the past, solutions created by using the sequential model.

    But this time, I use the model of batch, and I can understand not just how to include this setting in the deployment.

    I tried the following:

    1. Include public folders option - does not, like the testexec.ini, including the creation of the sequential model
    2. Include the file cfg/testexec.ini in the workspace and deployment - not working, getting ActiveX error on the deployment machine

    Would appreciate any help/tips

    This information is stored in:

    C:\ProgramData\National Instruments\TestStand 2012\Cfg\TestExec.ini

    Under

    [config]

    StationModelPath2 = "BatchModel.seq".

    You can write a simple executable that will alter this ini file.

    Add to the list of custom order of deployment. (check the command button custom in the deployment--> install options).

    Or

    You can do all your test sequence settings to use the model of batch process.

    Menu editing--> file in sequence--> properties--> Advanced--> model options tab require specific model.

    Overwrite the file testexec.ini is not good because she can already have some settings that are likely to be replaced.

    Editing it should work.

  • Override pre-batch reminder

    Hello

    TS 4.1using the batch process model - pre-batch is a two-step

    1. tell the dialogue for the next DUT

    2. wait for the dialog box.

    I need to change the #1 step, but still want to use step exsisting #2 - waiting for sous-suite of dialogue.

    How to call Wait for stage of subsequence of dialogue when recall pre-batch is overridden in customer file?

    Thank you.

    Instead of using the current just file that it points to the BatchModel.seq.  Who will work.  I have not tested, but I guess it would be.

  • How to find this sequence has finished loading?

    Hello

    I have a custom c#-OPUI to load and execute testplans.

    I do this using these functions:

    1 ApplicationManager.OpenSequencFile (filename)

    2. ???

    3 order TestStart = axSequenceFileViewMgr.GetCommand (...)

    TestStart.Execute (true)

    The question now is: How can I know that the OpenSequenceFile has done everything to do?

    I need to know which ended before I run the execute command.

    Is there a final event specail that I can check?

    Thanks for help

    Well, if you read my previous post, you'll see that you can just say if a writ of execution occurs.

    However, if you need the name of the sequence file then you can use:

    ApplicationManager.Executions (read more about it in the TS help).  Once you have the list, you can check the number (if it's 0, then you know that the SeqFileLoad is complete).  Or you can get items (executions).  From there you can iterate through the elements and do just about anything you want.  For example, there is a method called Execution.GetSequenceFile.  This will allow you to know the name of the file in the sequence.

    For more information on the object of performance, see using TS.  Surely it should get you pointed in the right direction.

    Kind regards

  • How to close a responsible testplan using c#-OPUI

    Hello

    I created an OPUI in ca that loads a testplan and execute it.

    But I can not find a function to close an already open testplan.

    Means that when I load testplan-1, it runs SeqFileLoad, IO tetsplan-2 load and it runs SeqFileLoad.

    But when I insert again testplan-1, so it does not SeqFileLoad because it is always loaded.

    So I'm looging for a command anload/close.

    Thanks for help

    If you try to close a file window programmatically, the following statement illustrates a way to do it. It calculates Locals.Unload to avoid trying to unload a file that is not in a window that displays an error message. You can just this if you know that the file is in a window and you already have a reference:

    Suppose the presence of:
    Locals.Path (string)
    Locals.File (reference)
    Locals.Unload (boolean)

    Locals.File = RunState.Engine.GetSequenceFileEx (Locals.Path),

    We have added a reference to load with GetSequenceFileEx. Check! CanUnload tells us that if the number of references of load is > 1 because it is also open in a window, in which case we want to unload
    Locals.Unload =! Locals.File.AsSequenceFile.CanUnload,

    release the reference load that we added
    RunState.Engine.ReleaseSequenceFileEx (Locals.File),

    UNCOMMENT THIS IF YOU DO NOT CLOSE THE FILE IF IT IS RUNNING
    Make sure that CanUnload is set to true once we release our reference load
    Locals.Unload = Locals.Unload & Locals.File.AsSequenceFile.CanUnload;

    Close the file window
    Locals.Unload? RunState.Engine.PostUIMessage (null, NULL, UIMsg_CloseWindows, 0,0, "", Locals.File, False),:

    Locals.File = Nothing

  • Change the sequence of commands to generate two reports by USE with different names.

    I have a special situation for the model of batch processing.

    Each DUT consist of two distinct products that need to be tested as a single unit.

    I can run every USE and generate a test for each report.  -aka. The standard use case works very well.

    However, we would like the records using this method. So I need a copy with a different name for each series.

    The idea behind this is that we have a story running for each half of the UUT. Given that the two halves will probably never meet.

    I looked at the BatchModel.seq and read some of the documentation, but I'm having a hard time to understand what is happening.

    I guess the items highlighted above are where the object to measure reports are generated. However, I don't know the mechanism for giving them the names among the Options report-> report menu Pathname file or how to change between these two points in time. Also are there tricks to get the report in duplicate with a different path in this configuration.

    All links to the relevant information would be useful. Thank you

    Just copy these two steps and between them and the copies have another step that is just a statement.  There, you can change the path of the report by setting parameters. TestSocket.ReportFilePath the new path.

    Ideally what you would do, is that the client using a callback.  So, your code would look like this:

    Write the object to measure report

    Write the report of the object to be measured (on the fly)

    Define report path reminder (override in customer OR statement step)

    Write the object to measure report

    Write the report of the object to be measured (on the fly)

    Hope this helps,

Maybe you are looking for