LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Quit and Reopen Labwindows/CVI using teststand programmatically

Labwindows/CVI establishes communication over TCP ports but only closes them when teststand is closed. However, I am suspicious that Labwindows is what allows the sockets to remain established, therefore: Is there a way to quit labwindows/CVI using teststand? While running teststand, labwindows always seems to be open.

0 Kudos
Message 1 of 2
(2,819 Views)

Hi autorun,

 

I do not believe that there is any way to programmatically quit LabWindows/CVI through TestStand.  However, you can choose to prevent CVI from opening up at all when you run your TestStand program.  To do so, select Configure >> Adapters at the top menu bar.  This will open up the Adapter Configuration window.  Here, you can select LabWindows/CVI and then click "Configure" near the bottom of the window.  This will open up the LabWindows/CVI Adapter Configuration window.  If you click the radio button next to "Execute Steps In-Process (CVI is NOT Required for this Mode)", then your TestStand will not open up an external instance of CVI when you run your program. 

 

 

Regards,

 

Stephanie R.

National Instruments

Stephanie R.
National Instruments
0 Kudos
Message 2 of 2
(2,791 Views)