Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Error -18001 When Using TestStandLVRTS in TestStand 4.1 on Windows Vista

Primary Software: TestStand
Primary Software Version: 4.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
When I tried to use TestStandLVRTS in TestStand 4.1 on Vista, I get the error in the screenshot below. How do I solve this issue?

Unable to launch the 'C:\Build\TestStandLVRTS.exe.Application' ActiveX automation Server.
Error Code: -18001, An error occurred accessing the LabVIEW ActiveX automation server.




Solution:
TestStandLVRTS is an ActiveX server that allows TestStand to call into LabVIEW VIs. TestStand 4.1 no longer ships an executable version of the TestStand LabVIEW Runtime Server (TestStandLVRTS.exe).  The TestStand LabVIEW Runtime Server must be built into an executable before it can be used. To build TestStandLVRTS, you should follow the instructions found in <TestStand Public>\Components\RuntimeServers\readme.txt

After the executable is built, you need to manually register the ActiveX server with the operating system. This can only be done as a user with administrator privileges. To register the server manually you have to run the exe with the /RegServer command line option as follows:

  1. Right-click onStart»All Programs»Accessories»CommandPrompt and select Run as administrator.

  2. Type the following in the dialog box that appears:

    <Full path of the EXE file> /RegServer

    Where <Full path of the EXE file> is the location of your EXE server.

Once the TestStand LabVIEW Runtime Server has been registered, you need to configure the LabVIEW Adapter option Other Executable to the name of the ActiveX server, which is TestStandLVRTS.exe

Related Links:
KnowledgeBase 1HBAMMSR: How Do I Manually Register Type Libraries, ActiveX Controls, and ActiveX Servers?

Attachments:





Report Date: 05/20/2008
Last Updated: 05/23/2008
Document ID: 4LJKGLM6

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit