NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically expand or collapse the Setup and Cleanup section

When we open the new sequence file in TestStand the Setup and Cleanup section are collapsed.

Is there any property or method or option which user can set so that depending on user selection the Setup and Cleanup sections will be displayed in expand or collapsed form.

 

Thanks in advance,

Vidula
0 Kudos
Message 1 of 4
(3,451 Views)

Hi Vidula,

 

It appears that the ability to expand each of the groups (Setup, Main, Cleanup) is not exposed through the API.  However, you can allow only one group to be displayed at a time by changing the StepGroupMode property.  Perhaps this will be of use in your application.

 

 

Jessica
National Instruments
Product Support Engineer
0 Kudos
Message 2 of 4
(3,415 Views)

Jessica,

 

The StepGroupMode is for ExecutionViewMgr.

Is there anything similar to this for Sequence View Manager?

 

Thanks,

Vidula

0 Kudos
Message 3 of 4
(3,403 Views)

I've attached an example that programmatically controls step group expansion.

 

It works as follows. Find the SequenceFileViewMgr that holds the file you are interested in. Get its SelectedSteps property. Set the SelectSteps.SelectionFlags property to control the step group expansion.

 

 

0 Kudos
Message 4 of 4
(3,398 Views)