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

Building a TestStand Deployment that Includes VIs in a LabVIEW Class may Sometimes Produce a Bad Deployment

Primary Software: TestStand
Primary Software Version: 4.2
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Base Package

Problem:
I am trying to deploy my TestStand system. I am using LabVIEW, and some of my code modules are VIs in a LVOOP class, or call VIs that are in a LVOOP class. When I deploy my system using the TestStand deployment utility, the build completes fine, but I get error -18002 on my target machine. If I open one of these VIs in the <Image> folder that was produced by the deployment utility on my development machine, I see that it is marked with a 'dirty dot' and needs to be re-saved.
Even when I do a source distribution of my VIs using LabVIEW, I still see the same problem.

Solution:
There are two potential ways to solve this problem:
  1. Add your classes to the workspace.  Specifically, make sure that all .lvclass files are included.
  2. Force LabVIEW to recompile your VI.  This sometimes fixes the problem, but may not work in all cases.  Recompiling your top level VIs by Ctrl-clicking on the run arrow or running a mass compile operation (from the Tools»Advanced menu) will accomplish this.
This issue is a Known issue when using the TestStand 4.2 deployment utility to deploy LabVIEW 8.6.1 VIs that are or include LVOOP VIs.  This problem only occurs for these specific versions: TestStand 4.2 with LabVIEW 8.6.1. The problem is that the LabVIEW source distribution step used by the TestStand 4.2 Deployment Utility may not correctly link some VIs together if those VIs are included in a LVOOP class.  This can occur for normal VIs or for embedded controls.

If you believe that you are experiencing this issue, please contact National Instruments support at www.ni.com/support

Related Links:
KnowledgeBase 4V58878Z: -18002 Errors in TestStand

Attachments:





Report Date: 04/28/2009
Last Updated: 11/20/2009
Document ID: 4WRAKGT3

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