NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to 'Unload all modules' from a TestStand sequence

Does anyone know how to call a TestStand menu item from within a TestStand sequence?

Specifically I wish to make a call to 'Unload All Modules' as part of my sequence.
This is found under File -> Unload All Modules.

I'm using TestStand 3.0

Many thanks,

Ronnie
TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 1 of 3
(5,114 Views)
Hi,

You can try the following TS API methods

Sequence.UnloadModules() - this unloads all the code modules in a sequence

SequenceFile.UnloadModules() - this unloads all the code modules from all the steps in all the sequences of the sequence file.

Engine.UnloadAllModules() - Unloads all code modules assoicated with steps, step types and substeps.


Hope this helps
Ray Farmer
Regards
Ray Farmer
Message 2 of 3
(5,109 Views)
Thanks Ray - these suggestions work great and I've since found out where thay are in the online help!
TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 3 of 3
(5,092 Views)