Unload Option (After Step Executes) All subseq steps?

We have a large number of tests written in TestStand 2010 which, when we run multiple tests, the response from TestStand slows dramatically.  This slowing is most noticable where there are time dependent:
  Time = 0
  WaitTime = 2
    Verify Parameter(X) = Off
    Verify Parameter(Y) = Off
    Verify Parameter(Z) = Off
  WaitTime = 4   FAILS
When run by itself, the test passes, but when run overnight (or several days), where a large number of tests have been run before this, the test Fails, where the WaitTime has expired.  Multiple tests are typically called, using another "Main" to call the different tests.  1500 to 2000 steps in each test sequence file is typical.
Basically, as more test are run, test execution slows more and more.  It appears that TestStand is using up system resources (memory).
All Reporting is OFF (Configure/ReportOptions "Disable Report Generation" is checked
                               (Configure/ModelOptions "Discard Results or Disable Resutls when not required by Model" is checked.)  (doesn't matter since reporting is off)
I don't think that it's the reporting that is using the resources.
I'm suspecting the sequences are not being unloaded after exectuion and using up memory, so that eventually memory is swapped to disk (my computer has 3 GB memory, this is typical for the other systems as well).
Three Questions:
1.  I'm investigating TestStand's cache of steps that have been executed.
In the Step "Run Options" is the "Unload Option".
Typically we have a "Main" that calls a large number of subsequences, each is an individual test case.
    Can I change the "Unload Option" for these subsequence calls (in the "Main" sequence only) to "Unload after step executes"?  Will this unload all steps that were call recursively to free up the system resources that were used by the subsequence call and down (recursively)?  Or will it just unload THIS step?
2. I'm aware that there is a "New Execution" that can be used (when complete, unloads all steps), but this doesn't allow passing Parameters to the subsequence easily.
  However, could I use "New Execution" for all those subsequence calls that do NOT require arguments.
3. Is there another option that I can use to free up system resources more globally?
Mike

Mike,
even though you have switched off the report generation, Teststand is still recording all the results of steps which are set to Record. Therefore you will be filling up the ResultList variable, which usually the cause of TestStand slowing down after longs runs.
If you dont need to record this data then switch it off in the Configure | StationOptions.. select the Execution Tab. Enable " Disable Result Recording for All Sequences"
Regards
Ray Farmer

Similar Messages

  • HT1495 I use method 3 to sync my iPad to my desktop which is used to sync my iPod nano. After I done all the steps,how will I sync the separate library to my iPad? I don't see any sync option and don't even see my iPad on the device.

    My iPad is registered in a different account.im having difficulty installing iTunes on my laptop so when I read that multiple iPod,iPad etc can be sync in one computer,I tried making a separate library on my desktop which have an iTunes already.i used my desktop for my iPod nano. After following the instructions, I don't know how to sync it with my iPad now connected on my desktop.i can't see a button or option to sync. And I don't even see my iPad recognize on the device.pls tell me what am I missing. I already sign in so my desktop will be authorize.

    All devices only sync what you select to sync.
    If you do not want all of the music, then simply do not select all of the music to sync.

  • HT201263 my ipad stil doesnt want to work after i did all the steps

    my ipad doesnt want to work i forgot my password and all it does is ipad dissabled connect to itunes!!

    Could use some more info.
    What version itunes are you using? (update to latest version)
    Are trying to sync via a mac or pc? (what version OS is on pc)
    When you connect ipad to computer, then open itunes what happens? Do do see the pop-up message that reads: 'itunes has detected an ipad in recovery mode.....?
    If You Are Locked Out Or Have Forgotten Your Passcode
    iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    iOS- Understanding Passcodes
    If you have forgotten the restrictions passcode
    http://support.apple.com/kb/HT4213

  • TS4268 After I did all the steps mentioned I'm still can't activate iMessage

    I'm still not be able to activate the iMassege in my iphone

    Howdy syafiqahmad,
    If your iMessage and FaceTime still hasn't activated by now, I would recommend you use this specific section of the following article as long as you verify you've done all the other troubleshooting from it for this issue:
    If you get an error when trying to activate iMessage or FaceTime 
    If you're using an iPhone, contact your carrier to make sure that you can receive SMS messages.
    Contact Apple Support.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • I have no 'imports and exports' option after opening 'show all bookmarks'. How do I import from a backup file?

    I am running Firefox 6 under Ubuntu 11.04 .

    Ubuntu 11.04 displays window menus in the control bar at the top of the screen with the switch to the Unity window manager
    *http://en.wikipedia.org/wiki/Ubuntu_Unity
    Click on Bookmarks/Show All Bookmarks then move your mouse to the left upper corner toward Firefox Web Browser.
    You'll get pop up menu (Organize, Views and Import and Backup).
    *[[/questions/822193]]

  • TS1369 After updating iTunes this week Windows 8 recognizes the iPod but does not offer an option to open with iTunes. iTunes does not recognize iPod Touch. Have followed all the steps but without success. Is there a solution with iTunes?

    After updating iTunes this week Windows 8 recognizes the iPod but does not offer an option to open with iTunes. iTunes does not recognize iPod Touch. Have followed all the steps but without success. Is there a solution with iTunes?

    I followed all the instructions on the suggested page. Many files in C:\Program Files\Common Files\Apple\ and C:\Program Files (x86)\Common Files\Apple\ could not be deleted. Message said ""Cannot delete files: It is being used by another person or program"' but could not find iPodService.exe in task manager (also, the "Cannont delete ... " did not mention iPodService.exe).
    Deleted all that I could. Reinstalled iTunes. Still same result. iTunes and computer both recognize my old iPod. Only the computer recognizes iPod Touch.

  • None option not shown in ma phne after following all d steps

    there is no none option after following all the steps

    I have no idea what you are talking about.

  • Reading the output values after each step executes in LabVIEW User Interface

    Hello all,
    Development environment: TestStand 2010 SP1 and LabVIEW 2010 SP1
    Problem: is there a way to execute the subsequent steps programatically and get the output values from each of them?
    I have already extended a little bit a Full OI interface for TestStand to load up any sequence, choose some of the steps and run them step by step (something like option to Run Selected steps). What I am trying to do is to add some actions between each step and do that in User Interface (I can't modify the sequence!), so I am starting the NewExecution with some previously configured InteractiveArgsParam and set an option breakAtFirstStep to True. Afterwards I am just doing something like Step Over when debugging the sequence and this works good, but I didn't fine a way yet to read the output values from the steps...
    Then, if I wait until the execution finishes I can read my Results by processing the ResultObject, but this works only after finalizing of the test sequence. Since I wanted to stop after each step, read the values, do some actions and continue to the next step I tried to register an event callback for Trace of Execution View Manager. I can see that after each executed step this event is triggered, but when I try to read a ResultObject returned in Event Data it is not filled with values (ResultList seems to be empty?). Is it a proper behaviour or maybe I am doing the readout in wrong way? (It is the same VI as for reading ResultObjects after sequence finishes and there it works fine for arrays, containers and other data types).
    Like I mentioned I can't modify the Test sequences, I can't add a UImessages.
    What are my options? Should the trace event returns all output values from each steps or is it just used for status checking? Or maybe there is completely different approach to that matter?
    Thanks in advance for any suggestions,
    Best Regards.
    CLA, CTD, CLED @ Test & Measurements Solutions Poland
    Solved!
    Go to Solution.

    Thanks for your replay, I have tried to build it in my LabView Block Diagramm, es seems like this image.
    But the variable GetNumSubProperties ist always 0. Why?
    PS: I need only the variable "Step.Result.PassFail" from the last step, do you know, how can I get it? I think, it is maybe easier than read all the "Result".
    Attachments:
    ReadStepResultInLabview.JPG ‏39 KB

  • TS1559 I did all 5 steps and they didn't work. I went into apple and they said it was probably unfixable and i would just have to pay to have it replaced. ridiculous, i'm paying for your broken product after ONE YEAR of use??

    I did all 5 steps and they didn't work so I went into apple and they basically told me they could send it away but it was probably unfixable and i'd have to pay for to replace it (180 dollars). I've only had th iphone 4s for two weeks over a year, am I seriously expected to pay for their broken product after one year of use??

    kmombo wrote:
    I've only had th iphone 4s for two weeks over a year, am I seriously expected to pay for their broken product after one year of use??
    Yes, that was the terms of the warranty that you accepted when you purchased the phone. You had the option to purchase an extended warranty that would have covered it for 2 years, but you chose not to.

  • HT4437 I have followed all relevant steps, my iPhone5 and apple TV are connected to the same wireless network, but I still cannot use airplay. When I choose the airplay option on my phone, the only option I get is "iPhone"

    I have followed all relevant steps, my iPhone5 and apple TV are connected to the same wireless network, but I still cannot use airplay. When I choose the airplay option on my phone, the only option I get is "iPhone"

    Welcome to the Apple Community Willy.
    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Check AirPlay is turned on on the Apple TV (turn it off and on if it already is)
    Check that both devices are on the same network (Settings > Wifi, on the mobile device and Settings > General > Network, on the Apple TV).
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router. (Also try removing it’s power cord for at least 30 seconds)
    Restart your mobile device.

  • How to get terminate status and number of all steps executed in Teststand

    Hi ! Could someone teach me,pls?
    1. Query:
        How can i get the sequence status of Terminated?
        Aim:
        I want to Terminate  sequence execution while something wrong happened, then i want to aquire the Terminated Staus.
        My action:
        i add a ActiveX API step into a callbacks file called SequenceFilePostStepFailure , but i can't get the value well 
    2. Query:
        How can i get the number of all steps executed in Cleanup of one sequence?
        Aim:
        I  want  to get the number of all steps executed include Setup, Main and Cleanup, after i terminating the sequence
        My action:
        call a variable from RunState.NumStepsExecuted . but it only the number of steps executed from Setup or Main or Cleanup , not all.
    Thank you in advance!
    Solved!
    Go to Solution.

    AllanXu wrote:
    Hi ! Could someone teach me,pls?
    1. Query:
        How can i get the sequence status of Terminated?
        Aim:
        I want to Terminate  sequence execution while something wrong happened, then i want to aquire the Terminated Staus.
        My action:
        i add a ActiveX API step into a callbacks file called SequenceFilePostStepFailure , but i can't get the value well 
    2. Query:
        How can i get the number of all steps executed in Cleanup of one sequence?
        Aim:
        I  want  to get the number of all steps executed include Setup, Main and Cleanup, after i terminating the sequence
        My action:
        call a variable from RunState.NumStepsExecuted . but it only the number of steps executed from Setup or Main or Cleanup , not all.
    Thank you in advance!
    1. Execution.GetStates() - look at the termination status. Termination is an execution specific state, not a thread state.
    2. You could use a PostStep callback and do the counting yourself (e.g. in a file global or station global variable), however there is a performance cost to poststep callbacks so it depends on whether or not it's worth the performance cost in your particular use case.
    Hope this helps,
    -Doug

  • CVI module writes TestStand property, property value resets after step executes

    Hi,
    I've done a good bit of searching and can't find anything relevant to the issue I am having. I have created a DLL in CVI containing several functions which I call from TestStand. I also have created a custom step type for each function call. Each function in the DLL has a run-time version and an edit-time version. The edit-time functions each have a user interface associated with them called from teststand. These edit-time functions are put in the custom step-type substep tab under the "edit" category. Before running a sequence with these custom steps the edit-time user interface is launched to allow the user to input values which will be passed to the run-time function. Originally I tried to set up my run-time functions as a "post step" substep in the step type properties. However, the sequences would fail to run because the step settings module tab was blank. I then selected CVI as the adapter in the step type properties and specified a default module for each type. This populated the module tab of step settings like I wanted. However, when I ran the sequence each steps run-time function was called twice, once for the post step and once for what was in the module tab I am guessing. I then went back into the step types and deleted all the post steps. I thought all my problems were solved at this point, however after doing some more extensive testing I still have one bug I have been unable to get rid of.
    The problem is that two of my step types have to write data back to TestStand at run-time after they query an external device for it. I know the query works because my text log that the DLL generates shows the correct values. However, the data is not getting written back to TestStand properly. In the run-time functions after verifying valid data has been returned I try to write it back to TestStand using: "TS_PropertySetValNumber(seqContextCVI,NULL,"ThisContext.Step.ParameterValue.NumericParameter",0,(double) ushortint);"
    I've checked that this call doesn't generate an error and also used the TS_PropertyExists method to verify that I had the lookup string correct. Both of these checked out so I then added another command which reads the value written to TestStand back immediately after writing it. I printed this to my log file and found that the value is being written to the TS property. So, the problem is that TestStand is setting the property back to zero after the code module executes. How do I prevent this?  
    Thanks for any input, let me know if anything needs clarified.
    Josh Meyer
    Solved!
    Go to Solution.

    Well, I've come to the conclusion that my "problem" isn't actually a problem. I had a bit of fundamental misunderstanding of how TestStand works (I don't actually use it, I'm just writing some code that will bring an existing tools functionality inside of TS).
    Anyways, what I've learned is that when you write to a property during editting/sequence setup these properties are preserved (so you can set up a sequence, save it, re-open it and be able to run it without any re-configuration for instance). The run time values aren't preserved (unless logged) becuase they are only needed at run-time. For instance, if a user calls one of these functions to pull a value from a controller they are probably doing so becuase they want to verify the value is what they expect it to be. Rather than looking at the value after exection (which is what I was assuming they'd do), they'd set up the step after the "read value" step to test the value it returned. This value is availablein "RunState.PreviousStep.valuename" during the step followint the "read value" step.
    Hope I didn't confuse anyone to much, I'm completely new to TestStand.

  • BPM status is "IN Process" even after all the steps in BPM are completed

    Hi All,
    we have designed a BPM for collection of messages and have a transform step .
    In some cases all the steps in BPM get completed but the status of BPM is still in" In Process"  and in SWWL transaction the status is "Started".
    Even though the status is started we are able to get the desired output.
    Ideally after the steps in BPM get completed the status should be "Completed".
    please suggest why we are  getting this status and how can this be resolved.
    Thanks and Regards,
    Rajesh

    hi ,
    I am using a fork and loop with a condition to end this loop.the condition gets satsfied.
    The messages are coming out of the loop and fork but even then the status is in "InProcess"
    thanks,
    Rajesh

  • HT201269 When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a serve

    When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a server error. Have no clue what to do... I've restarted the iPad and get the same message. But my internet works just fine.

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • Ipod touch is not recognized by itunes and i have executed all steps in the apple suggested troubleshooting, the device will not reboot either.  Any suggestions?

    ipod touch is not recognized by itunes and i have executed all steps in the apple suggested troubleshooting, the device will not reboot either.  Any suggestions?

    Does it light up at all? If not, you could have a battery issue.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

Maybe you are looking for

  • Toshiba laptop (C55-B5302) has "network cable unplugged" error message repeatedly. Why?

    I recent purchased Toshiba Laptop running Windows 8.1 at local Best buy.  The models number is C55-B5302. When connected via ethernet cable, I keep seeing an error message in network adapter settings saying "network cable unplugged". However, this "u

  • Re: ERROR while trying to synchronize Audio and MIDI

    Hi Guys/Gals A bit of a strange one. Yes, I have posted a similar question concerning my trusted 2.7ghz G5 PPC and my Digidesign 003R which it turned out that the Digi's FW ports were to blame. New issue. I have just completed an install on a client'

  • Aperture 3 and underexposed RAW conversion

    I run Aperture 3.03 with CameraRAW 3.3 and OS 10.6.4. I use a Nikon D300 and download as referenced images into Aperture via a SanDisk card reader. Somewhere around the time I upgraded to CameraRAW 3.3 and OS 10.6.4 (not exactly at the same time but

  • ABAP Dump ITAB_DUPLICATE_KEY deleting ODS data

    Hi, We've got an abap dump while trying to delete the ODS data content. The abap dumps registers a ITAB_DUPLICATE_KEY in the program SAPLRSAODS function module RSAR_ODS_GET. We're using BW3.5 patch 4. Tried looking at the OSS notes but could not find

  • Simple project

    hi every one.... i am new in oracle.. can u give me a oracle form project which also used a simple oracle report.. i want to learn from the project. thank you all.. regard sajid