Teststand api get all step parameters

I'm trying to get all step parameters , name and ID.
For now the I manage to get the step name and ID but how do I get eg. Step.MessageExpr?
In the code I send you can see how far I came but the GetValString property does not work...

Try this.  You may have to put Step.MessageExpr in the string there.
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • TestStand API terminate all notification

    I've developed a LabWindows based user interface using the TestStand UI controls and the TestStand API. I have a sequence file that has several cleanup steps, some of which take a while to finish. One function of the user interface is an Emergency Stop button. When this is pressed, an Engine.TerminateAll is issued via the API. The test fixture has 8 sockets which are using the Batch Model TestUUts entry point. Is there any easy way via callback or other means of knowing when all the terminations have completed. I would like to display a popup telling the operator to wait while the cleanup steps are being carried out. I also want to disable the START button and reenable it when the terminations are complete.
    I am launching the execution with TS_EngineNewExecution and I can get the id. I tried to wait until I saw this execution end with the ApplicationMgr  EndExecution event or the Execution VIew Manager EndExecution event but I saw a bunch of exection id's except the one that I was looking for. It may be my fault but I wanted to ask and see what is the best approach for what I am trying to accomplish.
    John

    Hey John,
    Your method will work, and your assumptions are partially
    correct.  If you look in the Batch Process Model, inside of the
    Cleanup Step Group of Test UUTs there are steps that tell all
    TestSocket executions to stop.  There is also a wait step that
    forces the Process Model execution to wait until all of the TestSocket
    executions have terminated. There are going to be multiple EndExecution
    events because it is going to occur for each execution that finishes
    whether it is the Process Model execution or one of the TestSocket
    executions. However, the Process Model will always be after all of the
    TestSocket executions have completed. 
    Another thing to keep in mind is that this is only happening because it
    is built into the process model.  Normally if you spawn off a new
    execution it is separate from your original execution, and the new
    execution would not terminate by calling the terminate method on your
    original execution.  You would have to either do a terminate on
    each execution or use the terminate all method of the application
    manager. Hope this helps to clear things up a little.
    Pat P.
    Software Engineer
    National Instruments

  • Project 2013 REST API - getting all tasks assigned to a user

    I'm trying to get all tasks assigned to a user to display something like you would see in "My Tasks" using the REST API.
    I found this: http://social.technet.microsoft.com/Forums/projectserver/en-US/a5d8760d-8e27-432b-8187-592cadf302ae/get-my-tasks-tasks-via-rest-api-or-web-services?forum=sharepointdevelopment
    But it doesn't seem to pertain to Project 2013.
    Any idea on how I could do this?
    As an aside, I'm having some trouble with finding guidance in the documentation. Are there any Project 2013 developer resources that break things down a little more than the SDK? Everything I've found is pretty Sharepoint-centered, not really getting into
    the specifics of Project.

    Check the samples folder which gets installed with SDK, there you will find some samples, however may not be the REST but with CSOM you could try something like this, i am sure you would be able to convert this pretty easily, in case required
    projContext = new ProjectContext(pwaPath);
    var PrjList = projContext.LoadQuery(projContext.Projects.Where(Prj => Prj.Name == newProjName));
    projContext.ExecuteQuery();
    var GotPrj = PrjList.First();
    //DraftProject projCheckedOut = GotPrj.CheckOut();
    projContext.Load(GotPrj.Tasks);
    projContext.ExecuteQuery();
    foreach (var tsk in GotPrj.Tasks)
    this.textBox1.Text += Environment.NewLine + "Task Name: " + tsk.Name + " || Task Work: " + tsk.Work +" || Task Remaining Work: " +tsk.RemainingWork;
    projContext.Load(tsk.Assignments);
    projContext.ExecuteQuery();
    foreach (var tskAssgn in tsk.Assignments)
    projContext.Load(tskAssgn.Resource);
    projContext.ExecuteQuery();
    this.textBox1.Text += Environment.NewLine + tskAssgn.Resource.Name + "--Res ID--" + tskAssgn.Resource.Id +
    "----Assgn ID: " + tskAssgn.Id + " || Actual Work: " + tskAssgn.ActualWork +
    " || Assgn Remaining Work: " + tskAssgn.RemainingWork
    + " || Assgn minDate: " + tskAssgn.Start
    + " || Assgn maxDate: " + tskAssgn.Finish
    Thanks | epmXperts | http://epmxperts.wordpress.com

  • User management API/get all the users for a group

    Hi all,
    I'm trying to get all the users and their associated groups with the user management API. The method DirectoryManagerServiceClient.findGroupMembers(GroupMembershipSearchFilter)
    returns all the users, great, but not the associated groups.
    TO get the users i use the oid of a "super group" and this "super group" contains severals groups. It's the information about these groups i need.
    I have read in the documentation of Principal Object that a search could omit
    the group informations for efficiency. How can i bypass this limitation?
    Thank you in advance for your help,
    Philippe Vandenhove

    Hi Philippe
    Our CreateUser component will allow you to create local users and groups.
    http://avoka.dnsalias.com/confluence/display/Public/Create+User+Create+Group
    LookupGroup takes a group name or id, and returns a list of all members. I'm pretty sure it recursively evaluates contained groups, but you'll need to check. If it doesn't, log a bug to support-at-avoka.com.
    http://avoka.dnsalias.com/confluence/display/Public/Lookup+DSC
    Download at:
    vhttp://www.avoka.com/apps/checkcookie?qpac=y&qpac_code=avokaESComponents&location=%2Fapps %2Fqpacdownload
    Howard

  • Getting all request parameters

    Hi,
    Is there a way to get ALL the paramaters in the request in a list or something like that.
    Thx

    Take a look at the [API for the request object|http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html].
    There is are a couple of methods there that might help
    Hint - they both start with getParameter....

  • How to get all step names within a group or a sequence?

    Hi,
    I'd like to show all the names of the steps within a sequence or a group.
    I wonder if there is a simple function which can be used directly, such as RunState.PreviousStep.Name.
    I tried via a foolish way to append each step name, though it shows all the step names but I still think there is a simple function can access all the step names.
    Can anyone give me some suggestion, thanks a lot!!!
    Solved!
    Go to Solution.
    Attachments:
    ShowAllStepName.seq ‏8 KB

    I've doctored up your sequence a little.  But yes you have to loop.
    Also, what format do you want the names in?
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    ShowAllStepName.seq ‏8 KB

  • Get DAQmx tasks parameters

    I've created in MAX 4.0 some DAQmx tasks to control diferent digital outputs bits (I attach a picture of it). I have to develop a TestStand step type with LabVIEW 7.1 in edit mode able to select any of this predefined tasks and show the bits correspondence (following the picture it would be for example "DigitaOut4 -> Dev1/por0/line2"). Is there some method to get all those parameters? Does somebody has a small example? Thanks in advance.
    Mackemann
    Attachments:
    MAX DAQmx Tasks.JPG ‏62 KB

    You can get all of this information from DAQmx property nodes. I wrote a quick example and there are probably more on either the LabVIEW or DAQ boards.
    Message Edited by Dennis Knutson on 03-30-200602:56 PM
    Attachments:
    DAQmx Properties.JPG ‏30 KB

  • How to get all parameter names along with their values in stored procedure which is being executed

    Im using sql server 2012, is there any possible way to get all the parameters of a stored procedure along with the values passed to it.
    I need these things to build a xml. I mean this should happen in the procedure which being executed and it should be common for all the procedures.
    For example, let us suppose we have to procedures,
    uspSave, @name='test' @age=20
    uspDelete @id=2
    now in uspSave procedure, i need to get @name, @age and the values 'test', 20 and in uspDelete, i should get @id with value 2.
    For getting the column names, i tried this,
    select parameter_name from information_schema.PARAMETERS where specific_name=OBJECT_NAME(@@procid)
    now is it possible to loop through the result of above query and can we get the values.

    I think  you need running SQL Server Profiler to capture this info even in SQL Server 2012.
    Best Regards,Uri Dimant SQL Server MVP,http://sqlblog.com/blogs/uri_dimant/
    Blog : MS SQL Development and Optimization
    Blog : Large
    scale of database and cleansing

  • 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

  • Need to access TestStand Sequence Step Parameters from Excel Macro

    Trying to create an EXCEL spreadsheet containing a list of all steps in a TestStand Sequence including Parameter names and types. How can I access the parameter names and types from EXCEL Visual Basic? It seems the API provides access to sequence parameters, but not step parameters.

    mmghost,
    Unfortunately, in TestStand 2.0, it is not possible to access the step parameter information.
    In TestStand 3.0, there are a few more APIs exposed that give you access to the step parameters. In TestStand 3.0, these are the steps you would take to get that information:
    1) Get a hold of the step object of interest. There are many ways to do this. For instance, starting with the Sequence Context you can get the Sequence object, and then get a step object from the sequence.
    2) From the Step object, get the Module object.
    3) At this point, you need to cast the Module object to the specific adapater type module you are using. For this example, we will assume that we are using the CVI adapter, so we would cast the Module object to a CVIModule o
    bject.
    4) The CVIModule object contains a Parameters collection of type CVIParameters, which contains the type information.
    For different adapter types you would just cast the Module object to a different specific module (LabVIEWModule, ActiveXModule, etc).
    Matt P.
    NI

  • How do you get a handle to a TestStand API SequenceCallModule Object?

    I am trying to programatically specify the SequenceName for a sub sequence, created using the TestStand API called from LabView.  SequenceName is a property of the SequenceCallModule object but I cant see how to get the object handle.
    Can anyone help?
    Regards
    Steve
    There are 10 types of people in the world that understand binary, those that do and those that don't.

    Hi,
      you can actually do this. I was speaking to Steve yesterday on this :
    starting with the handle to the appropriate step (I've done it in the attached sequence file in TS, but should translate nicely to LV)
    so I use the sequence to get the step by name
    I can then get the step.module
    then using the TESTAND ADAPTER API (and not the Teststand API)
    I can use the module returned above with the SequenceCallModule class from the TestStand AdapterAPI then. (you have to know ahead of time what the appropriate module / adapter type is otherwise it will have problems)
    Hope that helps
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer
    Attachments:
    3_0 using adapter specific sequencecallmodule.seq ‏39 KB

  • Get all the field's value of addressbook entry using c++ api

    How can i get all the field values of address book entry in groupwise using c++ api.

    You should be able to do that via the Token API. There is an AddressBookGetEntry method. You could createsome sort of AddressbookEntry class that fetches (via iteration over the defined ABFields) all the innformation.

  • I am trying to sync my itunes with my ipod, but when I get to step 3 of syncing, it stops. Also, I deleted all the songs on my ipod, and when I go to my music in my ipod the songs are all still there and in a grey color and I'm not able to select them.

    I am trying to sync my itunes with my ipod, but when I get to step 3 of syncing, it stops. Also, I deleted all the songs on my ipod, and when I go to my music in my ipod the songs are all still there and in a grey color and I'm not able to select them. How do I completely clear my ipod music, and how can I solve the syncing problem?

    Sync works the same way it always has, connect the device, select the content desired to sync and sync.
    All the media should be in iTunes already, iDevices are not and have never been backup devices.
    If this is a new computer, move the content from the old computer to the new computer.

  • How to get all GroupSpaces name using Spaces API, irrespective of user logged in?

    Hi
    Can anyone please tell me, how to retrieve list of all group spaces using Spaces API. I have used this method getGroupSpaces(null) to retrieve all group spaces, however it returns only the logged in members groups.
    Is there any way to get all groupspaces details?
    Regards
    Raj

    i don't think so other than admin user can get all group spaces informaiton, is it possible in webcenter portal:spaces default deployment?

  • I just downloaded the new iOS 5.0 and did all of the backup prompted steps beforehand, but I can't figure out how to get all of my apps and music back on my iPhone. Where did they go and how can I put them back on my iPhone?

    I just downloaded the new iOS 5.0 and did all of the backup prompted steps beforehand, but I can't figure out how to get all of my apps and music back on my iPhone. Where did they go and how can I put them back on my iPhone?

    Hi, Abril_Perez17.
    This may be related to a new feature embedded in iOS7 that shows all purchased music by default.  Go to Settings > Music, then turn off Show All Music.  See if the issue ceases once the feature has been disabled.  This information is located on page 63 of the user guide below. 
    iPhone User Guide
    Regards,
    Jason H. 

Maybe you are looking for

  • Background job cancelled , where as working fine in foreground

    Hi, In selection screen , I have a to provide a file name and execute the program. When I execute in foreground its working fine, but where are when I execute in background with variant it shows invalid file name and job cancelled in long text. Pleas

  • HT204370 Can i watch a rented movie in QuickTime?

    If I watch a movie in itunes it is choppy.  I recently purchased a movie through itunes and watched it in QuickTime, happy days.  I have rented a movie through itunes and when I try and play it through QuickTime I just get a grey screen and no sound.

  • Can I use any headphone/mic combo that has the small pin

    I have an old single earbud with mic set which I believe was made by nokia. The jack size is one that looks that an mini earphone jack. Can you use that with an iphone or only items with "can be used with iphone" on it?

  • Reg : Context-switching for built-in functions -

    Hi Experts, Asking this question just out of curiosity to know the internal concepts. In a SQL query often we use the in-built Oracle functions like LOWER, UPPER, etc. In this case, does context-switch happen? Will I be able to look into the code of

  • SD- Related reverse goods movement

    Hi, When we are doing PGI reversal by VL09, stock is coming back to the location from it was dispatched(LM 25). Can we change the storage location so during revrse goods movement by VL09 stock will come to  another storage location(LM23).