Failure TestStand 2014 operator Interface examples

I tried to run a number of examples that illustrate the operator TestStand 2014 (32 bit) functionality of the interface, such as handling user interface Messages.  When I load and run the .NET solution interface operator beneath the example file I get the following error:

System.Runtime.InteropServices.COMException was unhandled
HResult =-2147221164
Message = recovery of the class factory COM for component with CLSID {B2794EF6-C0B6-11D0-939C-0020AF68E893} failed due to the following error: 80040154 class not registered (Exception from HRESULT: 0 x 80040154 (REGDB_E_CLASSNOTREG)).
Source = NationalInstruments.TestStand.Utility
ErrorCode =-2147221164
StackTrace:
at NationalInstruments.TestStand.Utility.LaunchTestStandApplicationInNewDomain.LaunchHelper (point of entry MainEntryPointDelegate, MainEntryPointDelegateWithArgs entryPointWithArgs, String [] args)
at NationalInstruments.TestStand.Utility.LaunchTestStandApplicationInNewDomain.Launch (point of entry MainEntryPointDelegateWithArgs, String [] args)
at TestExec.MainForm.Main (String [] args) in c:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit) \Examples\Modifying User Interfaces\Handling UI Messages\DotNet\MainForm.cs:line 284
InnerException:

I tried restarting the PC and also reinstall TestStand 2014 but still not the same error.  I can, however, run the sequence editor and run sequences that without errors.

I am that running on a Windows 7 64-bit installation and execution of the interface Visual Studio 2012 runtime solution.  Any ideas on what else to try?

Kind regards

David

Hi David,

Sorry to hear you're having trouble to get examples of the user interface to work.  A few questions to get a better idea of what is happening:

1. If you have TestStand 32-bit installed only, ensure that the platform selected for the solution of the example is x 86, and then rebuild the solution.

2. the example of the simple User Interface gives the same error?  ("\UserInterfaces\Full-Featured\CSharp\TestExec.sln")

3. If you run the version selector TestStand and select this option to activate TestStand 2014 (even if it is already active), do you get any errors?  The example gives the same error after this step?

4. If you have Visual Studio 2010 installed, please test this version as well because it's the version in that the examples have been developed.

Tags: NI Software

Similar Questions

  • Many commands disabled in the operator interface

    Hello

    I use the full IO in c# on a system with a basic deployment license, and I see that a lot of commands is disabled, for example single-pass and execution (only Test DUT is active); also "Break" and "Break all ' in the menu debug is disabled when the system is running.

    I remember those who are active on other systems in the operator interface and I also checked that it uses the model that I use on all machines.

    What can cause such behavior?

    Best regards

    Peter

    Peter,

    It is a question of privilege.  What are the permissions of the user that logged in TestStand.  If it's an operator then you will see thos grayed out like that.  If it's a developer, technician or administrator, so they should be available.

    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.

  • Call Testexe with TestStand 2014 command line

    We are modernizing our Testsuites to TestStand 2014.

    When I want to run a movie with Testexe from an external batch file using the entry Point 'Test DUT' I get the error (see attachment file)

    'Test DUT' entry point does not exist.

    Invalid or out of range value. Code error-17300

    The content of the external batch is:

    On the echo
    'C:\Projects\TestStand\UserInterfaces\Full-Featured\CVI\win32\TestExec.exe' /runEntryPoint 'Test DUT' "C:\Projects\FrameworkFkt\TestProg\B1_SequenceFiles\E4_FRAMEWORK_SHORT.seq".
    pause
    ECH off

    With TestStand 2013, that it worked well. Does anyone know a solution to this problem. And the 'Test DUT' Entry Point exists.

    In addition, I would like to unload all the sequences wenn, I close the Testexe. Is there an easy way to do this, without changing the Code-Source-Testexe?

    Thank you very much for the help.

    Regards, Paul

    When a UI is closed all the sequence files are already closed. It is a standard cleaning part when the process is stopped. What exactly is the problem you see? Is it just that you don't want to reopen the next time that the user interface is launched? If so, it's just a setting in the ApplicationMgr of the ApplicationMgr.ReloadSequenceFilesOnStart user interface object. You can set this property in any programming language designer allows you to create your user interface, or programmatically set before calling Start() on the ApplicationMgr.

    Hope this helps,

    -Doug

  • Disable the TestStand 2014 report batch

    Hello

    I'm trying to disable batch report generation in the model batch of TestStand 2014. I found this thread back in 2005, but it seems that things have changed a bit since then with the addition of the Plugins model in new versions of TestStand. I always want to the individual report for each shot to test but I would like to disable the additional orders summary report. Anyone know the best way to achieve this?

    I seem to have jumped with success the guests to collect the serial number of the lot.

    I think I got it.

    There are 3 steps.

    1 - one, that we discussed.

    2. read report any controller model plugin - end

    3 - determine the path of the Batch report file in Plugin - Start Batch model

    Hope this helps,

  • API dll windows 10 teststand 2014 SP1

    Hello

    I'm looking for a solution to my problem a few hours ago, but I found nothing. I'm working on Teststand 2014 SP1 32 bit with a windows 10.

    I did a sequence on the same version of teststand on a windows 7, but I now have a windows 10. I opened my sequence (which worked fine on W7) on W10, but when I am executing it I got the following message.

    http://PUU.sh/pizsw/deabdd594d.PNG

    I tried to install the SDK W10 and some versions of Visual studio, but did not work. On my 64-bit version, I got another message that seems normal cause he says TS is unable to open my 32-bit dll.

    I think I forgot to install something but I don't know what, if soemone found a solution to this problem must be large to share =)

    Best regards

    Guillaume

    It would be wise for you to recompile DLL - 07_modbus.dll to work on Windows 10.  It looks like all of its dependencies are specific to W7.

    Kind regards

  • No icons shown in the sequence editor (Teststand 2014 Windows SP1 + 10)

    Hello

    I have the problem in the followig:

    After installation of Teststand 2014 SP1 on a computer Windows 10 empty, no icons are shown for the steps in the sequence editor. In addition, the breakpoints do not appear by clicking on the left side of the stage. Icons, which uses Teststand are in C:\Program NIUninstaller Instruments\TestStand directory 2014\Components\Icons, nothing is missing.

    Everyone knows the same problem?

    See you soon,.

    Roman

    Hey guys, so I finally found the solution to my problem: change the Format of the region of English (Europe) to English (United States). Thanks to Scott for an idea!

    I'm really curious to know what kind of bugs are hiding there, where Windows 10 meeting OR software

  • TestStand 2014

    Good: Been using TestStand 2010 and we try to pass to TestStand 2014.  Have an issue with modifing my name from the report.

    I Teststand 2010, we moved the call to 'Determine the path to the report file' after the recall of MainSequence, allows us to change the base to include an address and add either P, F, E, based on the result State.

    order-online f (x) Locals.ReportOptions.BaseName = Locals.Address + '_' + left (RunState.Sequence.Main ["ID #: xnW0PT0ORE2el7wF7uaxyB"].) Result.Status, 1) + "_".

    The name of the resulting report would therefore be _Address_P_ [Test name] [number] [Date] [time] .extention.

    With TestStand 2014, we want to use with the new sequence, however with the plugin modules it is difficult.  From what I can tell the name of the report is generated in model Plugins - Begin-> who called model Plugin - embark on the NI_ReportGenerator.seq.  I want to add the database name in the model Plugin call - USE in the NI_ReportGenerator.seq

    found the answer, to add a report name in 2014 TestStand found that I had to do following:

    You should use - specify a file of report by Expression:

    "Z:\\$(ClientFileName)\\$(ClientFileName)_[$(UUT)]_$(UUTStatus)_[$(FileTime)][$(FileDate)].$(FileExtension)" (add the marco $(UUTStatus)) so report any time generated after the return of the main sequence.

    Updated the NI_ReportGenerator to include a parameter in the address.

    Need in - model Plugin - USE fact and calculate the reminder of the path of the report in NI_ReportGenerator

    Added a statement in the callback path of report Calculate in NI_ReportGenerator (determine report queue Path by Expression)

    Added if statement (not all units have an address) - If Len(Parameters.Address>1)

    Fill the uutStatus variable to determine Queue Path by report Expression with: "[" + Parameters.Address + "" "]" + Left(Parameters.UUTStatus,1) get the following result: "."

    SG4000 Verify_Thermo_ [7000267] Lady [8 52 47 AM] [4-6-2015] .html

    On the other

    Fill in uutStatus variable in determining report queue Path by Expression with: Left(Parameters.UUTStatus,1)

    The key is specify report be expression and adding the UUTStatus macro.

  • TestStand 2014 Version selector "Program Error"

    I upgraded to TestStand 2014 from 2013. I suspect that I deleted TestStand 2013 by using the uninstall program NOR but had not chosen 2014 TestStand using the version selector.

    When I try and run the selector version as an administrator, I get an error "unable to determine the current Version of TestStand. The Version selector then begins with the "Version Active current = n/a" and launch sequence buttons are grayed out.

    The select Version section all seem OK with 32 and 64 bit paths showing correctly and the projection of "2014 (14.0)" in the Teststand installed drop-down. When I click on 'Get active', I get a dialog box error which is entitled 'Attention' and says "program error".

    Is there a way to fix this? I installed 2014-64 bit and then reinstalled the 2014-32 bit version but still the same.

    I am on Win 8.0 and Avast antivirus and firewall (which I checked and logs do not show that it is not blocking anything related to this).

    I could just try and install the 2013-32 bit version and see if I can make some versions then and uninstall 2013 thereafter. This sounds like a good idea?

    Thank you very much: David

    I did a deactivation of 1 hour of Avast and used the repair option. This made me the Teststand service installed and everything is working again now.

    Thanks much for the tips

  • Need to frontend.dll for 64 bit TestStand 2014

    Hi all

    I get an error during indexing, I think I changed something in the directory then it asks x64\frontend.dll file that I could not find anywhere.

    I found frontend.dll for 32 bit, but not for 64 bit.

    I also tried to uninstall teststand 2014 and install it again. Same problem, I directed to

    Need Suggestions

    Thank you

    You might have a custom version of FrontEndCallbacks.seq in your public directory? If so, it is perhaps where it isn't finding the 64-bit version. You should be able to copy from the installation location to C:\Program NIUninstaller Instruments\TestStand 2014\Components\Callbacks\FrontEnd as far as your custom version is in your public directory. Or remove your custom so FrontEndCallbacks.seq you do not use it.

    Hope this helps,

    -Doug

  • Operator interface

    In the operator Interface Simple how would you code hard of a sequence into the window open the sequence file?

    Hi, Clint Eastwood.

    One way to do this is shown in the attached screenshot.  After the 'start' invoke the node, you can set down a 'OpenSequenceFile' invoke node (pass in a reference to the Application Manager) and then wire in your path to hardcode.  It is just a string constant.  You can then place down a property node "SequenceFile" (pass in a reference to the sequence of file View Manager) and wire in reference to the release of OpenSequenceFile.  This will fill the sequence files drop-down list box.

  • Problems to show the driver IVI and property loader error messages when you use a type of operator interface

    I use UI operator (programmed in ICB, with asynchronous timer) in the folder OP1 in attached zip file. This operator interface does not have the error message from the driver of the IVI, properts, charger etc. on the screen (messages as in the photo attached error.jpg in zip file attached). Due to stability problems, I use this operator interface, but I need these error message. One other operator interface is OP2 in attached zip file. This operator interface puts the error message from the driver of the IVI, charger properts... on the screen (messages as in the photo attached error.jpg in zip file attached). Now, I want to have this feature with OP1 for reasons of stability I use OP1. How can I implement this in OP1? I tried and tried a lot of time, but I have not found a method to implement this. can someone help me? Thank you kind regards Samuel

    Hello, Johann,.

    I'm not sure you understood my problem. My problems are not the IVI and loader drivers error messages property! But my problem is, that errors of the IVI drivers and property loader operator interface does not bring on the screen. So to test this situation, cause an error of the driver of the IVI or shipper of property, then you can see that with a PC, you have an error message and with another IO no error message takes place and the test of stocks without a message. Do you know why this OI does not show the error messages and how showing the error message can be implemented in this operator interface

    concerning

    Samuel

  • loading of vi with operator interface

    When I load a movie file with my operator interface, I always get a message that the vi is already in memory. When I close LV in taskmanager and load the sequence once again, the error has disappeared also. Is this a configuration problem? Because my system else do not have this problem.

    Thierry,

    I solved the problem with the dynamic loading of setting in step configurations. TNX!

  • Change the path open the initial sequence of the operator Simple of TestStand with LabVIEW Interface

    Hello

    I use an Interface with LabVIEW TestStand operator similar to the TS IO Simple example.

    But I want to change the path when you click the button open the sequence file, I want a specific path.

    Any help is apreciated.

    Kind regards

    Daniel Coelho

    Daniel, you might be interested by this Knowledge Base:

    How can I change the default directory for the open file dialog box in TestStand?

    I searched ni.com for teststand of dialog box open the file and it was the fifth or so link.

  • Operator Interface labview and teststand back the call for promotion of status sequential

    Hello

    I am looking for a solution to be able to take by the API Testand 'call sequence' status key of my teststand sequence.

    The idea is to combine, on my operator labview interface a specific indicator pour each call sequence 'important '.

    Example: an indicator to test consumers, another for power supply, an another SoftComm ex but not pour tests under

    The first solution that comes to me and inspired by what I could find on this forum is the utilistion method PostUIMessageEx en post expression for each call sequence don't I want to get the result.

    I find this solution satisfactory sector a bit heavy and a little too dependent on the test sequence she herself.

    Other solutions of would they?

    Please pour your contributions

    Hello

    In general, I get the UIMessage TraceCallback. So based on the name of the step (say consolidated test for example) I can do whatever I want since LabVIEW update my GUI without having to change the TestStand sequences.

    Kind regards

Maybe you are looking for