TestStand said modified prototype

When starting my TestStand complains that the prototype of a VI changed the main sequence. The file has been opened and saved inadvertently, but comparison tools shows some differences between the archived version and the working version. This vi is affected dozens if not hundreds of times, then it will be a major undertaking to stop at each place TS complains and reload the prototype.

Why think TS that the prototype has changed? Is there an easier way to solve this problem?

Thank you

JVH

Bug 4.2 and 4.2.1. Use "tools > update VI calls" as a workaround.

Tags: NI Software

Similar Questions

  • How to reload the prototype and to keep the settings?

    Hello

    I changed my Labview 7.11 for the latest labview 2012.

    Now, I have a few express-vi-teststeps in 2012 Teststand.

    In the testplan it says that I must update the prototypes because they have been configured with labview 7.1.1 and are not compatible with lv2012.

    When I click the blue arrow and then the prototype is reloaded, the labview icon is shown and the teststeps is running again.

    The problem is that after reloading all custom values for the VI input variables are lost and the default value is displayed (configured settings of express-vi).

    I also changed the prototype in the types.ini, but this seems to be only valid for the new inserted teststeps.

    So what I need, is something like a 'reload all prototypes with parameter values.

    How can I do this?

    Thanks for help

    Please use update tool vi

    Open your test sequence...

    Go to tools - update vi calls (this should LV dev on your system)

    In the vi's explicit appeal process - option - select Reload if modified prototype

    This should solve the problem.

  • Prototype update VI

    Have a VI which is called dozens of times of TestStand and its prototype has changed. Should I visit each step where it is called and reload the prototype?

    Thank you

    JVH

    Hello

    If you are not using a custom step type then,

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/5267

    the above link help you.

    concerning

    Ray Farmer

  • Remote_login_passwordfile value changes do not

    Hello guys
    using 10gr 2 on windows server 2003
    as soon as I change the value of remote_login_passwordfile
    ALTER system set remote_login_passwordfile = exclusive scope = spfile
    It is said modified system
    but then when I do a
    remote setting of Sho
    It still shows no, why?
    Thanks in advance

    Scope = spfile average after the database is restarted, it will change

    The parameter you are editing cannot be dynamically change, it requires a restart of the database

    http://docs.Oracle.com/CD/B28359_01/server.111/b28320/initparams198.htm

    Do: -.

    SQL>shutdown immediate
    
    SQL>startup
    
    SQl>show parameter remote_login_passwordfile;
    

    It will change according to the value placed by you

    And if your issue is resolved, please do not forget to change the status thread answer. His recording of the peoples who are looking for time for the open question in this forum

  • TestStand - dynamically retrieve a prototype of code module

    Hi all

    Thank you for reading me

    I am currently trying to find little code (if it exists), or some ideas/directions to automatically retrieve a prototype of code module.

    This code can be written in any language (LabVIEW, C, TestStand, or other)

    My final goal is to scan a directory for screws, dll (and so on) and get their prototype in order to have an external database generator module filled code.

    Where there is no such thing as this code, could you please let me know what methods I could interact with the TS engine to retrieve a code module.

    Best regards.

    Hello

    This c# example you will see what needs to be done to get the list of parameters

    SequenceCallModule objModule is step (SequenceCallModule). Module;  Just a note: only if you're sure it's a SeqenceCall
    objModule.UseCurrentFile = true;
    objModule.SequenceName = strSeqName;
    objModule.UseSequenceParameterPrototype = false;
    objModule.LoadParametersFromSequence (sequence); Parameters SequenceCallParameters = objModule.Parameters;

    Concerning

    Jürgen

  • Change the parameter Prototype of a Module DLL TestStand Programmaticaly

    Hello.

    I started this post inside the LabWindows, but there was no response.

    Hope I can get help here.

    Please see the following link

    http://forums.NI.com/NI/board/message?board.ID=180&message.ID=46129&query.ID=804485#M46129

    Thanks in advance.

    Hi Doug.

    I'm sorry for the delay.

    Here is how I solved the problem: I changed the module of the BCI to the DLL module.

    Here is a sample of my code:

    I changed CVIModuleGetParameters() and CVIParametersGetItem() to TS_DllModuleGetParameters() and TS_DllParametersGetItem and now it works fine.
    seqContextCVI = object reference ThisContext
    __declspec(dllexport) __stdcall GetControlarParameters (CAObjHandle seqContext) Sub
    {
    error int = 0;
    ErrMsg errMsg = {'\0'};
    ERRORINFO errorInfo.
    char strItemLabel2 [1024] = "";
    Step CAObjHandle = 0;
    CAObjHandle seqFile = 0;
    Module CAObjHandle = 0;
    Parameters CAObjHandle = 0;
    Parameter CAObjHandle = 0;

    tsErrChk (TS_SeqContextGetStep (seqContext, & errorInfo, &step));))
    tsErrChk (TS_StepGetModule (stage, & errorInfo & module));
    tsErrChk (TS_DllModuleGetParameters (module, & errorInfo & settings));
    tsErrChk (TS_DllParametersGetItem (parameters, & errorInfo, CA_VariantInt (1) & parameter));
    sprintf (strItemLabel2, "\"%s\"", "TEST" ");
    tsErrChk (TS_CommonCParameterSetValueExpr (parameter, & errorInfo, strItemLabel2));

    NOTE: After make a change to a stage you must mark the file, as amended by
    increment the number of changes to the file. It is also necessary for the change to show
    upwards in the sequence editor immediately.
    tsErrChk (TS_SeqContextGetSequenceFile (seqContext, & errorInfo, seqFile));
    tsErrChk (TS_SeqFileIncChangeCount (seqFile & errorInfo));

    Error:

    CA_DiscardObjHandle (Step);
    CA_DiscardObjHandle (seqFile);
    CA_DiscardObjHandle (module);
    CA_DiscardObjHandle (Parameters);
    CA_DiscardObjHandle (Parameter);

    If an error occurs, set the error indicator causes an error of execution at TestStand.
    If (error<>

    TS_SetStepError (seqContext, error, error);
    }

    Thanks for all the help.

    My best regards.

  • Adobe Acrobat X Pro 1 - impossible to modify a PDF file, we created. It is said to use Live Cycle, this terminable Adobe not include Live Cycle? The earlier version of Adobe did.

    Cannot modify a PDF file from Adobe Acrobat pro X 1. The form indicates to use Live Cycle to edit. Is - what the X 1 subscription excludes direct cycle? Our earlier versions of Adobe include Live Cycle

    N ° you can buy LCD separately now.

    Monday, April 13, 2015 at 17:23, celestes5673329 [email protected]>

  • Is it possible to modify the prototype of the object of a DOM?

    I can change the prototype of built-in Javascript types, for example:

    Array.prototype.indexOf = function(elt/*, from*/) {
        var len = this.length >>> 0;
    
        var from = Number(arguments[1]) || 0;
        from = (from < 0)
            ? Math.ceil(from)
            : Math.floor(from);
        if (from < 0)
            from += len;
    
        for (; from < len; from++) {
            if (from in this &&
                this[from] === elt)
            return from;
        }
        return - 1;
    };

    Do the same to the Photoshop DOM objects, such as Document or sets of layers? When I try to access to Document.prototype or activeDocument.layers.prototype I get an error of Document is not defined ...

    What I understand there many classes in the Photoshop DOM, which are not loaded into memory until the object of this class is referenced. Which means you need to do something like that.

    App.documents[0];// load the Document class by referring to a document object.

    Document.prototype.foo = function() {return 'bar'};

    app.activeDocument.foo ();

  • Unable to modify a VI after the execution of TestStand sequence

    If I open a VI after the execution of my order, it cannot be edited. I assume that it is loaded in memory and ready to be run again. What should I do? Normally, I close LabVIEW and open it again. There must be an easier way.

    Thank you

    CT

    File-> unload all Modules

  • TestStand Non blocking deportees to interface (c#)

    Hello

    I wish to have a graphical interface (c#) for managing TestStand (read/write variables FileGlobals, Notifications of waiting/Set,...). This interface must be enabled during the activity of TestStand (graphical indicators of the status of tests, allows the activation of the subsequences, etc.), and it must use the TestStand interface (make a break, step by step debugging, see variable, States in discussions, etc...).

    I start from the example of NI TestStand '\TestStand 4.2.1\Examples\Demo\DotNet' and make a few changes:

    -call the constructor of the windows dialog with a new SequeceCall thread

    -Added management of Notification (unsing TSSyncLib, modify the constructor of the dialog box and send my FileGlobals.Notifier variable create during the stage of creation of Notification).
    -Added a button. When you press on, a variable FileGlobals number is read, + 1, then write and display in the label. And another button set a Notification.

    -Add a breackpoint in the step next to the SequanceCall of the dialog Windows

    My problem is, as long as I do not close the windows, TestStand still 'running' and do not stop on my breakpoint and unresponsive when you "Break everything" change watch Variables...

    If I change this.mDialog. ShowDialog (by this.mDialog). Show(), TestStand responds but the mistake of report of dialog Windows with FileGlobals read/write and Notification.

    My need is achievable?

    As an attachment, the file .seq (TS4.2) with the generated dll and the DotNet project.

    Thanks for help; (o)

    You must use Thread.ExternallySuspended (see using the API for more details) while your dialog box is running. Also you should consider using Execution.InitTerminationMonitor and Execution.GetTerminiationMonitorStatus.

    That said, the description of what you want to do, I thought you were going to start with a UI examples. If you really want to write a custom user interface, it is perhaps a better way to go.

    Hope this helps,

    -Doug

  • Why TestStand change my movie file

    Hello everyone,

    I see something new all of a sudden.  We have five different clients that are available for operators to use files.  Two of the files were made by a work colleague and the other three by myself.  Lately, whenever the operator ends with one of my co-workers file and load one of my friends is a ' * ' after. SEQ"in the tab.  Please note that all five of these files are protected and no one can change the password file.  As the operator has not received absolutely no privledges.  So when he tries to close the file, they are greeted with a dialog sequence editor that indicates of course that they "you have insufficient privledges for saving this file. Closing now will reject changes in the file.

    When I try the same thing, but running as an administrator, I get a different dialog that requires "the file xxxxxxx.seq is changed because of automatic conversions that TestStand performed during the loading of the file.  Save changes? ».  It also shows and ' * ' after the name of the template on the bottom of the screen.  When you try to close TestStand, you are greeted with an another "Modified files" dialog box, which shows the Client file and the Model.seq.

    Why is-TestStand making automatic conversion on something than theorectically has not changed since the operator cannot do things it would cause?  The patterns in the model are independent of each other.  Is there a way as in Labview, when the library caught from another place and advise you of the fact, in TestStand I'm able to see what is happening.  My fear is that I save changes A) that won't go away and seems like that B) will cause harm to the client file and cause the production, time that I can't afford.

    Thank you for reading and sorry I'm very long in this message.  I can't wait to hear from some of you with you thoughts and direction in the understanding of what made this conversion.

    Kind regards

    Scott

    I think that this change type of ReportOptions comes from the ATML Toolbox. Your colleague has perhaps the ATML toolkit installed. In any case, what I said in my previous email should always work. I recommend either putting the version of the type you want in a palette file type or re-record all files with the version of the report type options you want.

    Deleting and time the reminder reportoptions as you described are just to get rid of the use of the new type and its replacement by the old version (i.e. the parameter of the callback is an instance of the ReportOptions type). If you can do it everywhere it is fine too, but an easier way to get the same result is simply the version of the ReportOptions type desired in a palette of type file (for example MyTypes.ini). Then when you load a file with a newer version of the type, teststand will warn you that there is a conflict of type and you can choose to solve using the already loaded type (i.e. that of the pallet type you want). It's probably a good idea to keep that desired in a range of type to avoid the unintentional use of the wrong version of the type.

    Hope this helps to clear things up,

    -Doug

  • TestStand can not find that all exported DLL functions

    Hi all

    My problem is the following:

    I have a DLL that I compile with Visual Studio with 40 functions. When I want to use this DLL in teststand, there are two missing functions. If I check with the dependency walker, the 2 missing function in teststand tool are well implemented.

    The missing function prototype:

    struct HModemBoardOpaqueType * mbCreateModemBoard (void)

    Good function prototype:

    enum UbtDllErrorCode mbDisconnectFromModemboard(struct HModemBoardOpaqueType *)

    Is that possible that teststand does not structure opaque type correctly?

    If I export my function type C (with extern C) no function is missing from the test bench

    Thank you

    What version of TestStand do you use? Older versions of TestStand only supported zero, digital and Boolean data types for the return values of the adapter of the dll. More recent versions of TestStand are now supported pointer/handle as well. New versions of TestStand I expect you can use such a prototype with the handle/pointer data type. However, if you want to convert this struct to an equivalent TestStand custom data type, you need to make a parameter instead of a return value, as the card does not support the conversion of struct for return values.

    Basically returning a struct pointer this way (as return value) is dangerous in C/C++, because it is not possible to know who owns the memory. The type of pointer/handle allows you to do anyway, but it must be properly to maintain life of memory return you at a lower level (i.e. maybe with an exported function that uses the pointer who knows how free it).

    Hope this helps,

    -Doug

  • Export/import teststand settings.

    TestStand environment settings are stored in several files in the Cfg folder located in ProgramData.
    If we have changed the settings in a test environment according to our condition and wants to deploy on another machine, need to replace the folder Cfg on this PC with us to see the changes of environment parameter in action.
    Ideally, we should be capable of maintaining the Cfg custom folder instead of overwrite the existing Cfg folder. Is their any other way to do instead of overwrite files system TS as good practice.

    Cfg files are not considered TestStand system files and are intended to be customized.  This is why they are not in the folder TestStand and undergo ProgramData.  Currently, it is advisable to deploy them as you said.

    TestStand 2016 makes all this easier but you should adapt.  Read this article in TestStand environments: http://www.ni.com/white-paper/52330/en/

    Kind regards

  • TestStand 2014 freezes when I select a path from the project during an Action LabVIEW using LabVIEW TERM 2014

    In the company that I work, we have a solution that uses the two TestStand 2014 and 2014 LabVIEW.

    We work with the development version of the two, but we are deploying our automation using TestStand and Labview Runtime engine 2014.

    We tried to deploy a new station, but during the analysis of our project, the User Interface for Teststand (version Deploy) froze.

    I tried several things and decided to install a full version of TestStand 2014 and 2014 LabVIEW to try to debug the problem.

    What I've discovered is that when I create a new sequence in TestStand, add a VI Action and try to load the path to the project, the TestStand freezes if I use the adapter Runtime.

    If I go to the LabVIEW development system adapter in TestStand, it works. However, I need to use the Runtime since it's free while the LabVIEW Development is paid.

    We already use our solution in other places, and this is the first time, it never happened. The only post I found online that had something to do with this issue is this.

    If I remove the path of the project and call the VI himself, as "dvu", said in his second post, it works.

    However, it is something not good to do in our automation together, since we have several calls from LabVIEW.

    Any ideas on how to do this only works with 2014 DURATION and 2014 Runtime LabVIEW TestStand?

    Thank you!

    Thanks a lot Stop_Luke_and_Listen, but the guy where the deployment was made called the support NEITHER and they couldn't find the problem, so they formatted the PC.

    Now it works very well, so I won't be able to generate the report. It would have been a great idea.

    Thank you!

    SOLUTION: Format the PC and reinstall.

  • Receive data at teststand dll file

    Hello

    I have the function below in my dll file but I have a problem receiving parameters to teststand.

    int GetEvent (pid int, char * msg, int & msgSize)

    PID is the input parameter

    * msg will be the received string

    & msgSize will be the length of the received in full force.

    Any idea on how to address this problem?

    Concerning

    Ray

    Hello Ray,

    Are you accommodation TestStand using the type definition to set the function parameters in your call TestStand DLL? If so, TestStand generally expected of the input strings to be of type ' char *' and the output of the channels to be of type "char [x]", where x is a default size. It can also be simply 'char []').

    Alternatively, you can substitute TestStand think is the prototype of msg and change string TestStand type C (const) to the C string buffer in setting property settings. You must also give the buffer of a default size that is larger than you would expect to receive in the field of memory size buffer.

    Note that refreshing the prototype resets this substitution, so change the type library in the source would be preferable.

    I hope this helps.

    -Jack

Maybe you are looking for