Distributed TestStand vs. Sequence Editor

I am having problems with TestExec that I created a distribution for.  The executable that I created and distributed, will not run, for failing to find or open a DLL.  However, when I run the same sequence using the Sequence Editor that I also included in the distribution, it works fine.  I have checked and it appears that all setting are the same on both the Executable and the Sequence Editor, can anyone explaion this.

Hi greggj_00,
Did you follow the directions in this article to include your search directories and configuration in your deployment?  I'm assuming this is a DLL which is called by by one of the steps in your sequence.  Where is this DLL placed on the file system in relation to the sequence file?  Also could you post some more info on the error like snowpunter suggested?
Justin D
Applications Engineer
National Instruments
http://www.ni.com/support/

Similar Messages

  • TestStand 4.0 Sequence Editor Comments

    We are in the process of upgrading from TestStand 3.5 to 4.0.
    We use mostly Custom Steps and the Comments in the steps are used as "Help" instructions for each Custom Step Type.
    In TestStand 4.0, the comments show up in the Sequence Editor and for us are mostly repeatative. 
    Is there a way to suppress the comments from showing up on the Sequence Editor but still allow reading them in the Step properties? 
    I searched through the Station Options and other system configuration options but can't find anything.
    Mike

    Check out:
    http://forums.ni.com/ni/board/message?board.id=330&message.id=15113#M15113

  • Programatically select a step in a sequence in a sequence file loaded in TestStand sequence editor using C#

    Hi all,
    I have written C# code to load a sequence file dynamically in TestStand Sequence editor. The code is as follows...
    myEngine.PostUIMessage(mySequenceContext.Execution, mySequenceContext.Thread, UIMessageCodes.UIMsg_OpenWindows, 0, null, mySequenceFile, true );
    The code is working fine and I could view the Sequence file opened in TestStand Sequence editor.
    Now, I wish to select one sequence in the opened sequence file to get the details of  the sequence programatically. In other words, I want to simulate a mouse click to a sequence and view the steps associated with that sequence.
    Can anybody give some clues...
    Thanks in advance.

    Hi,
    Also I am getting error like "Index out of range. Source:  TSUISUPP.SelectedSteps   at NationalInstruments.TestStand.Interop.UI.Support.SelectedSteps.AddStep(Step val)". Error code: "-17500; Operation Failed." My code is like
    mySequenceFile = myEngine.GetSequenceFileEx(@"D:\dynamic loaded sequence.seq", 0, TypeConflictHandlerTypes.ConflictHandler_UseGlobalType);
    mySequence = mySequenceFile.GetSequenceByName("First");
    Step myStep = mySequence.GetStep(2, StepGroups.StepGroup_Main);
    SequenceContext mySequenceContext = mySequenceFile.NewEditContext();
    mySequenceContext .AsPropertyObject();
    myEngine.PostUIMessage(mySequenceContext .Execution, mySequenceContext .Thread, UIMessageCodes.UIMsg_OpenWindows, 0, null, mySequenceFile, true);
    ApplicationMgr applicationMgr = (ApplicationMgr)myEngine.GetInternalOption(InternalOptions.InternalOption_ApplicationManager);
    SequenceFileViewMgr sequenceFileViewMgr = (SequenceFileViewMgr)applicationMgr.GetSequenceFileViewMgr(mySequenceFile);
    sequenceFileViewMgr.SelectedSequences.Clear();
    sequenceFileViewMgr.SelectedSequences.AddSequence(mySequence);
    sequenceFileViewMgr.SelectedSteps.AddStep(myStep);
    I am sure that my Sequence selected in the Sequence file loaded has more than 2 steps. Please help me in solving this problem and that in the previous post.
    Thanks,
    Biju kuttan

  • Teststand Sequence Editor has stopped working

    I get the following message and error code when running my sequence file. This sequence files works ok on another machine. It is a display message to the screen for user input. Software version is 4.2.1
    Teststand Sequence Editor has stopped working. 
    Problem signature:
    Problem Event Name: CLR20r3
    Problem Signature 01: seqedit.exe
    Problem Signature 02: 4.2.1.83
    Problem Signature 03: 4af027d1
    Problem Signature 04: PresentationFramework
    Problem Signature 05: 3.0.0.0
    Problem Signature 06: 4f350630
    Problem Signature 07: 6263
    Problem Signature 08: e1
    Problem Signature 09: System.Windows.Markup.XamlParse
    OS Version: 6.1.7601.2.1.0.256.4
    Locale ID: 1033

    Kingme wrote:
    I get the following message and error code when running my sequence file. This sequence files works ok on another machine. It is a display message to the screen for user input. Software version is 4.2.1
    Teststand Sequence Editor has stopped working. 
    Problem signature:
    Problem Event Name: CLR20r3
    Problem Signature 01: seqedit.exe
    Problem Signature 02: 4.2.1.83
    Problem Signature 03: 4af027d1
    Problem Signature 04: PresentationFramework
    Problem Signature 05: 3.0.0.0
    Problem Signature 06: 4f350630
    Problem Signature 07: 6263
    Problem Signature 08: e1
    Problem Signature 09: System.Windows.Markup.XamlParse
    OS Version: 6.1.7601.2.1.0.256.4
    Locale ID: 1033
    Do your code modules use System.Windows.Markup.XamlParse? Is the process close to running out of memory (i.e. over 1GB of memory used)? Do you have any DLLImprorts (if C#) or any native code (i.e. C/C++) being called by your sequences? Does the error happen every time you run? Always on the same step? If so, what is that step doing? Have you tried to debug the process?
    -Doug

  • TestStand 3.1 doesn't launch sequence editor

    TestStand doesn't launch sequence editor, it is not coming up with login screen.

    Hi,
    Need a little bit more help.
    Any there any errors generated. Is the TestStand Splash screen seen?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Teststand 2010 SP1 Sequence Editor Lauch Error

    Hi, everyone.
    Today I have installed the Teststand 2010 SP1 eval version on Windows XP but an error pops up when I run the sequence editor, as per shown in the attached screenshot.
    Hopefully, someone can help and advise me on this.
    Thanks.
    Attachments:
    Error.JPG ‏16 KB

    Yes, there is an error.
    Please refer to the attached picture.
    When I tried to make active of Teststand 2010 SP1, there is also an error.
    Attachments:
    error4.JPG ‏5 KB
    error5.JPG ‏7 KB
    error2.JPG ‏89 KB

  • How to add a top level menu to TestStand Sequence Editor

    Hi,
    Am unable to add a new top level menu item like File, Edit, Tools, Windows in Sequence Editor. Is it possible to add the same? Can anyone share code snippet to use TestStand API so that a new menu is created?
    Please find the attached snapshot and am trying to add "NewMenu" to SeqEdit. 
    TestStand Version is 4.0 
    Thanks
    Mrm 
    Attachments:
    NewtopLevelMenu.JPG ‏184 KB

    Hello Mrm,
    Adding a new menu is not going to be possible since the source code of the Sequence Editor is not accessible. However, you do have a few options:
    1) Add a new toolbar
    2) Create and entry point (configuration or execution) that will show in one of the existing menus. Here is a KnowledgeBase article that describes this more.
    3) Customize the right click context menus.
    4) Build your own UI or customize one of the shipping UI's (since you have access to that source code).
    What is the overall goal in doing this? Let me know so I can assist you further if needed.
    With warm regards,
    David D.

  • Preuut and postuut sequences are not executing when run using UI. They run when using the sequence editor.

    I am using TestStand 3.5 and LabVIEW 8 in a Windows XP environment.
    I have a sequence that runs properly when run from the sequence editor.  I have made a few minor mods to the simple Operator Interface that ships with TestStand.  When I run my sequence using the modified Operator Interface, the PreUUT and PostUUT sequences do not execute.  Only the main sequence executes.  This also happens when I run the demo sequences that ship with TestStand.
    What am I missing?

    Hi,
    It sound like you are executing the sequences without the process model, do you get a report at the end of the execution?
    What are these minor mods you have done?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Insert menu item blank in sequence editor for new sequence

    In TestStand 2.0.1, when I create a new sequence file using the sequence editor and right-click to insert a step, the Insert menu is greyed out.
    If I open an existing sequence file, copy a step from it, and paste it into the empty sequence, then whatever that step was (let's say Action) becomes available on the Insert menu.
    Is there any way to fix this other than re-installing TestStand? Any idea why this is happening?
    Thanks,
    Gizmogal

    Hi,
    This sounds like you have a problem with your type Palette files in sowe way.
    Check out if you can read the ini files found in teststand\cfg\TypePalettes.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Missing Database Options under Configure menu in Sequence Editor

    In my TestStand 4.0 Sequence Editor, the "Database Options" is missing under "Configure" menu. Does anyone know how to enable this option?
    Thanks

    Glad that was it! Definitely narrows things down.
    These entries on the Configure menu are controlled by a special type of sequence in the process model called Configuration entry points. If you open up one of the default models, you will see a sequence in the Sequences pane called "Configure Database Options". This is the default database options sequence.
    It's possible that your custom model contains a Configure Database Options sequence, but that it isn't configured to be an entry point. You can change this setting by right-clicking the sequence and choosing Sequence Properties. 
    If the custom model does not contain the database functionality at all, further work may be required to add that functionality in. Here's a document explaining how to add new configuration entry points to a process model: http://www.ni.com/white-paper/3837/en Depending on whether this model was originally based on one of our default models and how much of the original database logging code is still present, it may require a fair amount of work to reimplement that functionality. It might be a good idea to contact the person who created this custom model to find out more information about why those database options were removed and how difficult it might be to reimplement them.
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • How to fix sequence editor error when using Test Executive 5.1.1 with Labview6.0?

    I had a test sequence that was built with Test Executive 5.1.1 and Labview 5.1.1. The sequence test step vi used Test Shell to allow the user to edit and config the test. After upgrading the test step vi from Labview 5.1.1 to Labview6.0 by mass compiling all vi to Labview6.0, an error occurred while editing the test vi. The error is as following:"Sequence Editor Error: Config Test Vi Callback.vi: Could not config test vi. Make sure the path to the vi is valid." I am sure the vi path is valid, does anybody has any idea why the path was not seen? How can this bug be fixed? Any hints or suggestion would be helpful.

    That's really a TestStand question. You should post to the TestStand Discussion forum. TestStand Discussion Forum

  • How do I process user command line arguments inside of the Sequence Editor?

    Using TestStand 4.0, how would I go about storing "extra" command line arguments processed from the /runentrypoint command in the Sequence Editor specifically?

    djdewitt -
    TestStand 4.2 does not have this feature; however, we do have an internal issue (#163169) to track this request. You can actually get the commandline passed to the TestStand Sequence Editor using the below psuedo code in a sequence; however, currently the TestStand Sequence Editor displays a prompt when it does not recognize a custom token on the command-line and there is no way to suppress this.
    Locals.AppMgrRef = RunState.Engine.GetInternalOption(InternalOption_ApplicationManager);
    Locals.CommandsRef = Locals.AppMgrRef.CommandLineArguments;
    Locals.CountNum = Locals.CommandRef.Count;
    For i=0 to Locals.CountNum - 1
        Locals.CommandString = Locals.CommandRef.Item(i);
    End
    One suggestion is to use a batch file to write the commands to a dedicated text file and then launch the sequence editor. You can then use a sequence in the sequence editor to read from the file.
    Lastly, I just tried something and I do not necessarily recommend this, but I noticed that the Sequence Editor does not prompt when using the /goto token, so if I use the below command-line, it seems that no prompt appears, the goto command does nothing, and the psuedo code accesses the command-line tokens: 
    "C:\PathToApp\SeqEdit.exe" /goto "location tokens that do nothing" /run MainSequence "C:\PathToSequenceFile\GetCommandLineArgs.seq"
    Keep in mind that NI does not necessarily support this but it does seem to work for now.
    Scott Richardson
    National Instruments

  • My Sequence Editor is crashing

    Hello
    Have written a c++ dll function whitch is used in the model. In the function i get pointer to the Execution via SequenceContext.
    ExecutionPtr pExecution = m_pContext->Execution;
    // Now do some stuff 
    pExecution->Release();
    In the Operater Interface this works well, because the helpfile said:
    Execution Property (Read Only)
    Syntax
    SequenceContext.Execution
    Data Type
    Execution
    Purpose
    Returns a reference to the currently executing execution. Release your reference to this object when you are done using it.
    if i delete:  pExecution->Release(); The sequence editor works too:
    That means the Editor is using this reference, too.
    Please tell me where will this object bereleased?
    Greetings from the lake of constance, Germany
    juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

    It looks like you are using the TestStand API via a #import generated C++ wrapper.  This is probably the best way to use any COM server in C++, but you need understand that the types that you use are C++ smart pointers.  For example, the local variable of type "ExecutionPtr" is a C++ smart pointer class that will automatically release the reference it holds when it goes out of scope, which is a nice feature!. Thus, you shouldn't call Release directly, because then it will be called twice.
    If you are curious, the implementation of the COM smart pointers for #import wrappers can ultimately be found in the _com_ptr_t class which is in your copy of Program Files\Microsoft Visual Studio 8\VC\Include\comip.h file.

  • Can I create child windows in the Sequence Editor?

    Good morning,
    I'm working on an ActiveX class that manipulates some MFC dialogs and other useful things. I was wondering if anyone has been successful creating windows that have the sequence editor as a parent.
    I tried calling the following code with the ActiveX Adapter, and I pass it a copy of Engine.AppMainHwnd:
    long CCmdTargetTSDebugWindow:howDebugWindow(long parent)
    // TODO: Add your dispatch handler code here
    dialog = new CDialogTSDebugWindow();
    dialog->Create(IDD_DIALOG_TSDEBUGWINDOW, CWnd::FromHandle((HWND)parent));
    dialog->ShowWindow(SW_SHOW);
    return 0;
    This works for about 20 seconds then TestStand crashes. If anyone knows of a legal way to create a child window, please let
    me know!
    Thanks,
    Chris Norris
    Carrier Access Corporation
    [email protected]
    303.218.5826

    Hi,
    Maybe this example will help.
    http://zone.ni.com/devzone/explprog.nsf/webmain/0284C64CE766E18F862567AF004F06F8?opendocument
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Differences between TestExec and Sequence Editor for LabView7.1 runtime?

    Hello,
    My sequence runs perfectly in the Sequence Editor using the LabVIEW 7.1 runtime engine adapter and the dev adapter.
    However when I try it using full featured TestExec.exe (the supplied LabVIEW user interface) it gives the common
    'VI is not executable' error for one of the steps if I have the runtime adapter chosen.
    It works when the dev adapter is selected.
    The step that gives the error has no broken arrow - and as I mentioned,
    it works in the Sequence Editor with the same runtime engine adapter.
    The search paths are identical.
    Is there anything special I should know about TestExec.exe?
    I am at a loss on this one - any ideas?
    TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009

    Hi believer,
    I think you have to rebuild the testexec.exe with labview 7.1.
    Copy the NI folders to the User folder. You will find all the source VI's and the build file for the application builder as part of the file set.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

Maybe you are looking for

  • Windowserror while creating a socket

    How you cant think im new at netprogramming in java. Also I'm german so my english ist not very good. And here's my problem: Everytime I try to creak a socket there ist an Exception: java.net.SocketException: Unrecognized Windows Sockets error 10106:

  • Yosemite 10.10.1 will not allow me to copy multiple files to a NAS -error file in use, but other OS OK.

    I am running Mac OS 10.10.1 on a Mac Mini with 16G. I have a Buffalo NAS and wanted to copy files from one folder on the NAS  to another on the NAS. Under Yosemite I can only copy them one at a time. If I try to copy more than one I get an error mess

  • How do I create a simple gallery in iweb? I don't know much coding though!

    how do I create a simple gallery in iweb? I don't know much coding though so I struggle with some tips given on-line. I've spent many hours on it with no success. Helpful advice will be greatly appreciated.

  • Business Catalyst is not scroll

    Hello, Business Catalyst site when I upload to the server, and other widget features scrolling feature does not work. I have been getting  the same problem which i download to original themes from muse-theme.com in my pc, when I loaded Business Catal

  • Error opening /jsp/app/DeploymentsControlTable.jsp

    Hello , I am getting below error in the server console deployement tab. http://localhost:7001/console/console.portal?_nfpb=true&_pageLabel=AppDeploymentsControlPage&handle=com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3Dshreeram_domain%2CType