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

How Do I Stop Execution of My Code Module (VI or DLL) After I Call it in TestStand?

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

Problem:

In my sequence, I have an Action step that calls a LabVIEW VI or DLL.  After my TestStand execution calls the code module, I cannot continue editing it.  When the code module is a VI, for example, the VI's arrow changes color as if it is still running, I cannot edit the VI, and I cannot end the VI's execution:

 



Solution:

By default, TestStand keeps the VI (or DLL) from your Action step in memory.  If you select File » Unload All Modules, it will unload the code modules from memory.   Alternatively, you can configure the Action step's Run Mode to unload

  • when the step's precondition fails
  • after the step executes
  • or after the sequence executes

In any of these configurations, you will be able to edit your code module after the TestStand execution completes. 



Related Links: KnowledgeBase 3V6I7SO8:  How Can I Unload All TestStand Modules Programmatically?

Attachments:





Report Date: 08/20/2007
Last Updated: 08/30/2007
Document ID: 4CJESOH0

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