C# insertion in Teststand steps

Hi all.

I have a few codes that are developed in c#, but I would like to insert these codes c# on Teststand sequencer like the sequence steps.

And then run the test sequence.

Kindly need experts to advise if it can be done this way.

Thank you.

Hello

Maybe you will need help to do what you need, but here's an interesting document to effect:

http://www.NI.com/mstudio/whatis/useteststand/f/

As explained in this document, you will need to use "adapters .NET' TestStand.

It could be that useful...

J.

Tags: NI Software

Similar Questions

  • Creating a type of stage of the "Launcher" which would insert the appropriate step type predefined or custom time edition

    Hello world

    I'm looking for tips, pointers, directions... to be able to perform this operation in TS 4.0 sequence Editor, if it is still possible...

    I am managing a test system with an abstraction of virtual instruments 'home-made' additional layer to IVI classes for instruments that have no defined classes, customization of the sequence editor accordingly for the developers of my Department.

    So basically, when the instrument is IVI, the developer uses the built-in type of stage IIA type and when it is not the case, it uses the types of custom step I developed for this particular category of instruments.

    However there are classes where I both IVI and available specific drivers and I have to use both in the test sequence.

    For example, let's say there are two DC power sources available in the test bench, including a programmable IVI compatible DC power and the other composed of 'blocks' fixed to DC power relay-driven external and you will need to use both in the test sequence.

    I want to be able to do in the sequence editor is the insertion of appropriate during the editing just level type by selecting the power source (by a ring or an enum for example) and if the first resource is selected, it inserts the type of stage IIA, and if the second resource is selected, it inserts the appropriate custom step type.

    Any ideas on how to achieve this?

    Kind regards

    Cyril

    I don't know exactly when you plan this next prompt, but one option is to create a personalized with a custom step step type named OnNewStep. It will be called when your approach is inserted in the sequence. You can then display the command prompt and replace program step custom in the sequence step type based on the selection of the appropriate user.

  • TestStand step to call a new instance of Teststand environment

    I am trying to create a troubleshooting step and I would that this step to be able to open a new instance of the testbed environment. I if the troubleshooting step is encountered, the current sequence to stop running, open a new test sequence that will allow the engineer perform a parallel TestStand window troubleshooting steps and troubleshooting testbed environment close to return to the calling sequence.

    Hello Daniel,.

    I think your best bet would be to have just the steps break if an error occurs if you can help then go in TestStand. If you open a new instance of TestStand, you won't be really able to troubleshoot the sequence you just ran, it will be troubleshooting a new sequence.

    Best regards

    Adam G

  • Introduction to the SCOPE in TestStand step Type

    Hello! I am new to NI TestStand and like add a step to 'REACH' Type in a Test - Programm. Can anyone give a short introduction how can I use this type of step? at first, I put a frequency, and the next step must assess these frequencies by the scope. Greetings patrick


  • Action / insert an extra step after stop

    Hi guys,.

    Any way to add an extra step after the Action has been registered and collapsed? Sometimes I save and save and know that I forgot to add something. I did a search but found none so far.

    Thanks for any help or suggestion.

    See you soon,.

    SEBS

    To add a step in an action simply click on the step above where you want the step and click on save, save the step, and then click on stop. The stage (or stages) will be added to the action. Note that you need to make sure that the conditions of the image are appropriate to get the newly stored procedure... For examply, if you want to save a step in pen, you will need to make sure that there is an active selection of pen. Otherwise, you will get an error.

  • How can I set default values in the Labview Advanced Settings the TestStand step settings tab to run a VI on a remote PC?



  • Extension NI_Flow_For does not insert good end specified in BlockEndStep step

    Hello!

    I need expand the capabilities of my sequences.

    So I buil a new type of step (My_For) that I have combined with the type of NI_Flow_For I then added properties to meet my needs.

    I did the same with the step of NI_Flow_End type (My_End).

    Two step definitions have been created in MyTypes.ini.

    In the definition of type 'My_For', I put the "BlockStartTypes" to the empty string (""); and 'BlockEndType' to 'My_End '.

    In the definition of type 'My_End', I put the 'BlockStartTypes' to 'My_For '; and 'BlockEndType' to the empty string ("").

    Then, when I insert a "My_For" step in a sequence, it creates a "NI_Flow_End" step, but not a step of "My_End!"

    If I delete the step of "My_End" created automatically, and Drag ' n drop a "My_End" below the "My_For" notch, it works!

    So I guess that the problems come from the lower level OnNewStep which is a bad thing, but I don't see what is wrong in the properies I put...

    Any idea?

    The lower level custom OnNewStep is programmed to insert the step of the 'end '.  Must NOT be smart enough to know the specified end block and insert this step.  You must write your own code lower level OnNewStep that inserts end of 'my_end' block stage where you want and configure properly (half of the problem is also that when you insert pairs of steps, you have the steps from beginning and end must be configured specially, not only inserted.

  • Add limits to the parameters step through API TestStand of LabVIEW

    Dear LabVIEW and TestStand community!

    I am trying to add FileGlobal Variables that limits TestStand step NumericLimit programmatically, via LabVIEW via the TS API. I attach a screenshot of the code, which I use (part of it - the module that defines only values up to a limit high and low of the step), and also I agree, what I managed to get.

    In TS, when I open the file in sequence, after the execution of the code, I see in the description of the test line, he accepted limits, I put the LV - you can see on the screenshot, it is marked yellow. But in the "Limits" tab, there are even numeric values by default, not FileGlobal Variables.

    Could someone explain, what it means and how to configure correctly?

    Thank you very much in advance!

    I think that the search string to set the value Boolean true is inaccurate. Try to use "Limits.UseLowExpr" and "limits. UseHighExpr ".

    -Shashidhar

  • How to insert a step to give the position?

    Hello

    I have the sequence with the Select Case structure and to insert steps within the business end. How to do this? I found the index step can be readable by the TS_SequenceGetStepIndex (SequenceHandle, & errorInfo, szTestType, TS_StepGroup_Main, & val), but how to insert new step after, for example the case? For the function TS_SequenceInsertStep (SequenceHandle, & errorInfo, view, iNumofSteps, TS_StepGroup_Main) is not available index (iNumofSteps sucks and does not work as an index of the step and cannot be applied to the order of insertion of the steps (first step on start or end)).

    Currently, I create all (Select, case, end and the steps that need to be in the end case), but if the basic structure can be a default (including case select this option, etc.), only content must be updated, not all construction.

    (LabWindows/CVI coding)

    Best regards

    branar

    Hi all

    Yes, it was the right solution. Only thing, it's that need to take iNumofSteps for the front step and if you want to insert the new stage (or stages), this index should be increased by 1.

    error = TS_SequenceGetStepIndex (SequenceHandle, &errorInfo, "TuningTimeAfterLNA", TS_StepGroup_Main, &val);
                    iNumofSteps=val+1;
                        //add
                        tsErrChkMsgPopup( TS_EngineNewStep (EngineHandle, &errorInfo, "", "Label", &actionStep));
                        tsErrChkMsgPopup( TS_StepSetName ( actionStep, NULL, szTestType));
                        tsErrChkMsgPopup( TS_SequenceInsertStep ( SequenceHandle, &errorInfo, actionStep, iNumofSteps, TS_StepGroup_Main ));
    

    Best regards

    branar

  • Teststeps custom: appearance of rightclick + Insert not different

    Hello

    I created a certain custom. NET-teststeps by copying the NOR-steps, rename, reissue of links for my dll by moving them to a new folder (step Type Menu Editor).

    Now I cannot rightclick in the sequence and choose Insert step and all my new steps are inside the new folder.

    Then I have inserted all the steps in the following order and save it.

    Then copy this wermutstrop on another pc and open the movie.

    But now, the folder is not visible-steps are lying directly under "Insert step.

    Why is that?

    THX

    TS 2014 32-bit SP1

    Hallo OnlyOne,

    I wish you a happy new year.

    I saw you're question and I have seen that:

    TestStand stores the settings in this dialog box in \Cfg\TestExec.ini and in the files of type palette. When you want to share the configuration of the list Types of step and the submenu insert step with another computer, copy TestExec.ini to the target computer. Copy this file also copies the option settings of station that configure you in the dialog box Options of the Station.

    I tested it on two different computers and it works. When you copy the TestExec.ini, you will have the structure of folders on the other PC.

    Best regards

    LMarini

  • Using controls IMAQ Image in steps of LabVIEW

    Hi guys

    So far, I used TestStand 4.0 with LabVIEW 8.5 and Vision Development Module 8.5 with no problems. Recently, I've updated to LV 8.6 and 8.6 VDM. I started having weird problems when using LabVIEW steps with input/output containing IMAQ Image controls. When I try to click on such an approach in the seq editor or try to insert a new step in the sequence, the initialization step takes a long time (a few tens of seconds) or completely freezes. I also tried to upgrade TS to version 4.1, but no difference. Also, my colleague experiences very similar symptoms on the same software configuration. The only difference is that on his machine, it takes only a few seconds when you click on the step in the vision. However, the steps containing only not an IMAQ Image control behave normally, i.e. you will not encounter any "time initialization" when clicking on it in the sequence.

    To illustrate, I enclose a simple VI containing nothing more than a single Image IMAQ control. If you don't link to the connector pane, the VI works fine when it is inserted in a time of TS. If the Image IMAQ control is bound to the connector pane, TS freezes when inserting such an approach.

    Vladimir

    The problem that causes this problem has been identified.  More information is available here: with TestStand and LabVIEW 8.6 known compatibility issues

  • Expression evaluation limits step

    I'm just trying to understand the point at which the step limits expression is evaluated. I'm trying to define the limits of a test of numerical limit based on an expression. I'm passing the context of the sequence for the LabVIEW code module so that the VI may determine the limits to set the colors of parts of pass/fail indicator and for certain other purposes.

    The problem I have is that it resembles the step limits expression has not been evaluated at the time wherever the context of the sequence is passed to the VI, which means that the calculated limits are not available. Is this correct? If so, does anyone have suggestions as to how I might be able to get around this?

    Thank you.

    Adam

    Hi Adam,.

    The following graph shows the order of execution of the teststand steps.

    I believe that the evaluation of the expression limited on "steps of numerical limit test" occurs during the evaluation of the expression status (so the last part of the stage).

    Another solution would be to create your own custom step type and include a custom "step first substep for your personalized step step" (I think I just broke the world record for most uses of the word 'no' in a sentence )

    However, I think that you've already found the solution more practice/simple/elegant. Yes, Bravo to you!

    Thanks for your time. I hope that gives a little clarification.

    Best wishes

  • How to use the return value of TestComplete (using COM) as a variable in the conditional statement (for example loops) TestStand

    Hello

    I have setup a COM interface for TestStand (TS) to run some scripts in TestComplete (TC).  Normally, when TestComplete has finished executing the script, it returns a 0 or 1 to designate the success/failure during the TestStand step (step test for example String value).  It worked well.

    However, now I need TestComplete to regain a vaule (e.g. 32) TS and TS need to assess this value in a while statement. So if the TC value is 32, I would have some statement in TS ike:

    While (return value! = 30)

    Do something...

    Thank you

    Jigg,

    No, the program does not have a new thread.  It's just a single sequential thread. She called other sequential files, and that's all.

    I think I'll have some luck with the StationGlobal.  It seems to work (for example by setting the StationGlobal a single sequence file automatically updates the Stationglobal in another movie file, sort of like passing the reference value)

    Thank you!

  • TestStand do not call a Labview DLL copied to a new location.

    TestStand v4.2 & v8.6.1 LabVIEW: I have a problem with TestStand calling a Labview project DLL. It will call the DLL successfully if it points its record source (the directory where the DLL was built. However if the DLL is copied to the clients working directory and the appellant TestStand step points to the copied DLL, the problem occurs. The TestStand calls the DLL from the working directory of the client, but does not execute the DLL, simply set the status of the step to "Done" where he clearly didn't.

    The vi named in the DLL has correctly, all handles error clusters such that if there is an error in the vi running, the error would be forwarded to TestStand.

    Any ideas please?

    Update: the original problem was never solved, but another method was used successfully to generate an Excel results worksheet. This used controls Active-X to open a file, import a model, write the data, close the file, and then make the new file read-only. It now everything works fine.

  • Shared in Teststand variable: error-17500

    Hello

    I'm trying to deploy a shared library that contains shared variables that I use inside step (screws). But I have error-17500 poping up-to the top whenever I'm trying to deploy it (see attached photo).

    It says that I need the module "the remote execution..." Why is this?

    I tried to access all users of remote machines (as advised in TS Reference Manual) but I have error-17502 poping up-to the top (see photo 2). Is there a reason for this?

    Hello

    This problem is now known by us on TestStand 4.2.1.

    One solution would be to circumvent the TestStand step by:

    -deploy the variables shared by using a LabVIEW LabVIEW VI is installed on the computer

    -creating an application (Installer with LabVIEW Run-Time, OR Variable engine) for this purpose that will deploy the variables so there is no LabVIEW software installed on the computer.

    Best regards

Maybe you are looking for