Error launching the 'LabVIEW.A​pplication" ActiveX automation server [Error Code: -18001]

Hello,
I have TestStand 2010 and LabVIEW 2010 development systems.
In the TS LabVIEW adapter is configured to use Development System.
Till today everything worked properly.
Today I tried to run TS sequence (which worked yesterday) and got error -18001.
I changed LV adapter configuration to use LVRTE and then back to Development System - and got error -18001 again.
Please see the image below.
LV2010 development system exists and I can use it: edit and run VIs.
How can this problem happen and how to resolve it?
Thanks in advance!
Attachments:
TSError_LV_App_ActiveX.JPG ‏135 KB

Hi,
there are multiple possible causes why you could encounter this error. Have a look in this KB:
http://digital.ni.com/public.nsf/allkb/5C692ACB049D0D30862575710051601F
cheers,
cheggers
Sascha E.
Group Leader Applications Engineering
National Instruments Switzerland

Similar Messages

  • Error launching the 'LabVIEW.A​pplication [Error Code: -18001]

    Hello,
    i have a TS 3.4 Sequence wit LabView 8.21-Teststeps.
    The Sequence is called from an Labview-OperatorInterface.
    In a step which run before 100 times without problems i suddenly get the error-message:
    ErrorMessage: Error executing substep 'Run'.Unable to launch the 'LabVIEW.Application' ActiveX automation server [Error Code: -18001]
    After a restart of al NI-Software everything is working normal again.
    What does this error mean and what should i do with it?
    Should i ignore the error and try to execute the step again or does this mean tht the ActiveX-Server was lost forever?
    How can this problem happen?
    Thanks for your help
    Solved!
    Go to Solution.

    Hi,
    Its difficult to know what the problems is that causes this. I am guessing you are using either the RTE or Runtime Server rather than LabVIEW Developement system.
    Once you get this error you can't ignore it and hope that repeating the step will regain the link to the server. (well that's what I've noticed).
    There is a patch for labview 8.2.1 http://joule.ni.com/nidu/cds/view/p/id/906/lang/en that you might what to try.
    And there is TS version 4.0.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Using LabVIEW RTE vs. LabVIEW ActiveX Automation Server (TestStand LVRTS) for a TestStand Deployment and experience​ing Unabel to Launch LabVIEW.Ap​plication ActiveX Automation Server Error 18001

    I am developing in TestStand 4.2.1 and LabVIEW 2009, I have accomplished the following:
    1. Deployment package is built and deployed on PC
    2. PC has activated TestStand Deployment License
    3. LabVIEW 2009 RTE was selected as the adapter for the sequence and thus I believe the deployed testexec.ini contains this.
    I  am experiencing the following error: "see attachment".
    Is the LabVIEW RTE the right selection?
    Is there something I may have missed in building the deployment?
    Do I need to register the ActiveX server.
    THere seems to be conflicing solutions based on Version of TestStand and LabVIEW!!
    Thanks!!
    Attachments:
    TS_LV ActiveX Error.doc ‏77 KB

    Howdy mobiux,
    Please consider KnowledgeBase 4V58058Z: -18001 Errors in TestStand. If you're using Vista or Windows 7, then this may apply as well. You might also consider ensuring you have the proper LV version active in the TS Adapter Options.
    Warm regards,
    pBerg

  • -18001: An error occured accessing the LabVIEW ActiveX automation server

    Hi,
    I'm currently investigating a problem with a Teststand 2.0 sequence. The
    sequence makes use of VI's that call methods of an ActiveX. After a few
    successful loops through the test sequence the error "-18001: An error
    occured accessing the LabVIEW (6.1) ActiveX automation server" is brought up
    in Teststand. I think that somehow the ActiveX automation server is dying
    during the execution of the sequence but I don't know where to start
    searching...The problem does not seem to lie within the ActiveX istself, but
    I'm not sure. Using the same ActiveX within a Visual Basic Application and
    performing the same commands several times does not produce a failure. Has
    anybody an idea what could be the problem
    Thanks, Sven.

    Thanks, but I already know these entries from the Knowledge Base. I found no
    help in there and my error text is also not mentioned there.
    JRA schrieb in im Newsbeitrag:
    [email protected]..
    > There is actually a few Knowledge Bases on NI's website which deals
    > with this exact issue. You will probably want to start there.
    > 1. >
    "http://digital.ni.com/public.nsf/websearch/55574CB4E0F326DF862567FD0077E303
    ?OpenDocument">-18001
    > ...
    > 2. >
    "http://digital.ni.com/public.nsf/websearch/D8690EC8044C7B3586256C63005D4D84
    ?OpenDocument">Why
    > do ...

  • LV5 as ActiveX automation server

    Hello,
    I hope that somebody here is able to help me. I have a question about using
    LabView 5 as ActiveX automation server. This works fine for me when I build
    an C++ application based on the examples I got with LabView. But all
    examples I found make use of MFC.
    Now I have a C application that is based on pure Win32 API. My question: How
    can I implement calls to LabView-automation server using Win32 API without
    MFC?
    Thanks for your help in advance!
    Martin Schellenberger.

    Whether you are using database logging or not, you should not get an error like that when database options are loaded. From the kb's you specified it sounds like there was an issue with a COM/ActiveX server not getting registered in the past. Especially on machines in which TestStand was installed from a deployment rather than the main installer. Have you tried running the version switcher like the KB suggested? Did it succeed or give an error? If it gave an error what was the error? Could you perhaps try a fresh install of TestStand on a clean machine?
    -Doug

  • LabVIEW Run Time Engine and ActiveX Automation Server

    Hi,
    I have a question related to LabVIEW Run Time Engine and ActiveX Automation Server:
    We have a tool developed in LabVIEW and TestStand. End user interface is a LabVIEW GUI (it's an executable) which executes TestStand sequences. Some TestStand sequences call lower level LabVIEW VIs.
    Everything works fine with LabVIEW installed, but I was wondering if I could run this tool on deployment machine with only LabVIEW run time engine installed. We are using LabVIEW 6.1 and with only the run time engine installed, I get the error message: "Unable to launch the 'LabVIEW.Application' ActiveX automation server ". 
    BTW, we are planning to upgrade the versions soon.
    Is it possible to make things work only with the run time engine?
    Thank you.

    Thanks for the response, Brian.
    I did upgrade to LabVIEW 8.0 and TestStand 3.5. Everything works fine on the development computer where LabVIEW and TestStand is installed. On the target computer in the lab, I installed LV RTE 8.0 and TestStand 3.5, and now when a VI is called in a sequence file, I get the following:
    RunState.PreviousStep.Result.Error.Code  -18002 
    RunState.PreviousStep.Result.Error.Msg  "LabVIEW: The VI is not executable"
    So, the executable opens and works fine (which means that the LV RTE is installed properly), but when a sequence calls a low level VI, it does not make it through.
    comments/suggestions are appreciated. Thanks.

  • ActiveX Automation server error on deployed TestStand

    I'm trying to deploy TestSTand 2.0 + LabVIEW 6.1 on a PC under Win-2K.
    I created and deployed TS Engine and Operator Interface for LV.
    I try to deploy the "Auto.seq" test from the TS exemples.
    Of course, it works on my Development system.
    On the deployed system, I got an error : -18351; An error occurred reading an ActiveX Automation server type library.
    Step 'Read Database Option - Construct' of sequence 'Get Database Options' in 'SequentialModel.seq'
    Step 'Read Database Option - Read Options' of sequence 'Get Database Options' in 'SequentialModel.seq'
    After having ignored those 2 errors, the tests goes on normally and the report looks fine.
    I also get this error opening the database configuration:
    Step 'Read Database Option - Construct' of sequence 'Edit Database Options' in 'Database.seq'
    From answers already given for similar subjects, I've checked that TsDBOptions.dll is present and registered (done regsvr32...) on the PC.
    Can someone help ?
    Note: upgrading to more recent TS + LV versions is not a solution!

    Whether you are using database logging or not, you should not get an error like that when database options are loaded. From the kb's you specified it sounds like there was an issue with a COM/ActiveX server not getting registered in the past. Especially on machines in which TestStand was installed from a deployment rather than the main installer. Have you tried running the version switcher like the KB suggested? Did it succeed or give an error? If it gave an error what was the error? Could you perhaps try a fresh install of TestStand on a clean machine?
    -Doug

  • Error accessing Activex Automation server code -18001

    hi guys
    i am trying to call  a labview generated DLL   thr' a labview VI   "newread_dll.vi"     which i call in teststand
    but   labview kind of hangs loading it  &
    "error accessing Activex Automation server   code -18001"
    the VI runs without issues in  Labview
    only  in teststand the isssue exists ??
    Attachments:
    seq_dll_error.PNG ‏208 KB

    Hi aparab,
    did you follow the instructions in the error message? See screenshopt for configuration details.
    Below a link which describes, why error code .18001 could occur:
    http://digital.ni.com/public.nsf/allkb/5C692ACB049D0D30862575710051601F?OpenDocument
    Best Regards, Fabian
    Attachments:
    S1.PNG ‏22 KB

  • ActiveX Automation Server Error -18351

    I wrote a program using TestStand Version 4.5.1 and ran into this error code as soon as I initialize it.
    Error loading type library/DLL.
    Error Code: -18351; An error occurred reading an ActiveX Automation server type libarary Step 'Read Database Otion - Construct' of sequence 'Get Database Options' in 'SequentialModel.seq'
    Bottom line, I'm not using or planning to use any form of database with my program. I just want it to run.
    There was another document with ID 4IE7CCM6 that addressed this issue. Tried it, didn't help. I also went to the related links referring to the Knowledgebase document with ID 1HBAMMSR, didn't help either.
    How do I fix this?
    Attachments:
    errors_activeX.docx ‏200 KB
    errors_activeX.docx ‏200 KB

    Whether you are using database logging or not, you should not get an error like that when database options are loaded. From the kb's you specified it sounds like there was an issue with a COM/ActiveX server not getting registered in the past. Especially on machines in which TestStand was installed from a deployment rather than the main installer. Have you tried running the version switcher like the KB suggested? Did it succeed or give an error? If it gave an error what was the error? Could you perhaps try a fresh install of TestStand on a clean machine?
    -Doug

  • ActiveX automation server return "Error Win32"

    Has anybody meet this problem: I click on the' ActiveX automation server'
    in the CVI project window 'Tools' menu (CVI5.01) and then it starts to
    scan all the registered components but after a while it returns an error
    message like "Error Win32" so I can't work with the ActiveX components,
    I tryed uninstall and reinstall the CVI and the problem remains the same.
    The OS is Win NT 4.0

    Whether you are using database logging or not, you should not get an error like that when database options are loaded. From the kb's you specified it sounds like there was an issue with a COM/ActiveX server not getting registered in the past. Especially on machines in which TestStand was installed from a deployment rather than the main installer. Have you tried running the version switcher like the KB suggested? Did it succeed or give an error? If it gave an error what was the error? Could you perhaps try a fresh install of TestStand on a clean machine?
    -Doug

  • How can we launch the labview screen beyond other screens while running two applications on a same time

    Hi all,
     I need to run two applications in my system at same time. one of the application is labview. it is running in backside. the dialog boxes which i created in labveiew need to display in fron of all applications.... what should i do to do that.....any suggestions...
    thanks in advance
    Regards,
    Ragu 

    The easiest thing to do (but can be bad) is to make the LabVIEW window modal.  This will make it the front most window at all times, until the program stops executing.  As you can imagine if you don't have a way to close the window then you will be forced to kill LabVIEW through the taskmanager.
    To make window modal go to VI Properties (by right clicking the VI's icon) go to Window Appearance, click Customize, then under Window Behavior select Modal.
    The other more complicated solution is to use Dll calls to bring the window to the front.
    Message Edited by Hooovahh on 07-02-2009 08:44 AM
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • -18001; And error occurred accessing the LabVIEW ActiveX automation server.

    I installed a revised TS deployment, and got this error.
    For other deployments, when this error occurred, there was a simple solution - change the Adapter in TestStand.
    This time, if I change the Adapter, I cannot reload the test vi's in the test sequence, so that doesn't work.
    Any help would be appreciated.
    TS 4.2.1
    LV 2010

    Jauron,
    This knowledgebase article here: http://digital.ni.com/public.nsf/allkb/D577B50A123​5A088862570FA004BDD63  seems to have a solution for the issue. 
    Regards,
    Kyle Mozdzyn
    Applications Engineering
    National Instruments
    Regards,
    Kyle M.
    Applications Engineering
    National Instruments

  • -17702; An error occurred accessing the CVI ActiveX automation server.

    I am now getting this error consistently whenever I try to debug my dll. I was able to successfully debug earlier, but it has degraded. I tried shutting down teststand and labwindows and restqarting them, but the error persists. I am using teststand 4.1.1 and labwindows/cvi 9.0.0 (348).
    Anyone have any ideas?  This has me stalled.

    Hello,
    Pretty old post, but I have a similar problem...How can I fix this issue ?

  • MAX Data form Labview-VI into Measure&Automation Explorer

    Hallo all!
    How can i write data for a channel into the "MAX" with a LabVIEW VI.
    For Example
    For kalibration i read value from a AI with DAQPad6020E
    For measurement i need this information for scaling .

    Currentlty labview can not interact with MAX in a way to pass some values to it. LabVIEW can get values from virtual channels though. However if MAX would have been ActiveX Automation server, then setting up values to vitual channels would be something that could have been done. LabVIEW 6 interaction right now is only to an extent that it can launch the virtual channel wizard using the DAQ Channel datatype.
    May be something for future.....
    Abdullah

  • What does this mean? Server Message: Unable to load server - system error code: 0x80080005, CO_E_SERVER_EXEC_FAILURE: Server execution failed.

    This is the error that we get when we run the Tag File.
    ERROR 04/16/2004 02:26:15 PM Server ERROR from Server: National Instruments.OPCLookoutDrivers. Status: -196608, Server Message: Unable to load server - system error code: 0x80080005, CO_E_SERVER_EXEC_FAILURE: Server execution failed.
    What does it all mean?

    ACRE,
    this looks like the Industrial Automation OPC Server (Lookout OPC) is not correctly installed or configured and therefore the DSC Tag Engine - as OPC client - cannot launch the OPC server correctly.
    Two checks I have in mind.
    - Installation check: Check if the Industrial Automation Server is installed and configured correctly and that you will have a .lpd file as default. Could it be that the .lpd file is corrupted? BTW - what kind of protocol are you using and did you configure aliases for the LPD object? A good resource on checking the configuration might be the online help of Industrial Automation Server (Lookout Protocol Drivers) or the link penDocument>How Do I Configure My Devices with Lookout Protocol Drivers?
    - Access rights, COM/DCOM problems: Can you launch the OPC Server with another OPC client? Is your OPC server running locally? If you don't know how to check on this I found a good KB Tools for Troubleshooting OPC Interface Problems E.g. can you access it with Server Explorer?
    Last question... did you encounter this problem recently while it was working before? What changes have been done on your system?
    Let us know if you have some questions and I hope some of the links help you further troubleshooting this issue.
    Roland

Maybe you are looking for

  • What is wrong with my Gamecenter?

    Recently I logged out of my Gamecenter so that I could let a friend play a game called Clash of Clans on my phone. Today I tried to log back in, I did so, but all my friends and games are now gone. The weirdest part is that when I checked my brothers

  • I photo  trash

    I have been trying to free up space by trashing a bunch of photos that I have on cds and external hard drives. At first I trashed a hundred or more by dragging them from the photo thumbnails to the trash then emptying the trash. Next time I trashed a

  • Offsetting account in FBL1N & FBL5N

    Dear All, In FBL1N & FBL5N reports OFFSETTING ACCOUNT is showing as * mark instead of showing its GL account. What could be the reason? Kindly help me on this. Regards, Yadayya

  • What are the best accessories to buy for an iphone?

    I bought an iPhone this xmas, and i'm curious which are the better or best accessories one should buy? I'm thinking of another usb cord, so i can leave the dock on my computer and just bring the outlet plug and usb cord on when i'm mobile. But then i

  • Why is my IPhone 5 not downloading my iTune purchases

    Why is my iPhone not downloading purchases from iTunes