Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 4 out of 5     Rate this Document

How Can I Hide Comments in TestStand?

Primary Software: TestStand
Primary Software Version: 4.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I would like to hide the comments in a sequence within the Sequence Editor or within my User Interface, how can I do this?

Solution:
If you are using the Sequence Editor, or a User Interface at run-time, right-click anywhere on the sequence and go to Step List Configurations » Edit Step List Configurations.  Within this dialog window, click on the Edit button to edit the selected configuration, which will display another dialog window.  Within this dialog window, uncheck the check box labeled Display Step Comments to hide the comments in a sequence.

Step List Configuration Properties

For the User Interface at edit time, finding the properties is different depending on what language you are using to write your User Interface.

In LabVIEW, open the Front Panel of the User Interface and right-click on the SequenceView control and go to SequenceView » Properties.  In this properties dialog on the Appearance tab, uncheck the check box labeled Display Step Comments to hide the comments in a sequence.

In Visual Studio (C#/VB), open the source code and open your main form that has the SequenceView control in design mode.  Right-click on the SequenceView control and select Properties.  In this properties dialog on the Appearance tab, uncheck the check box labeled Display Step Comments to hide the comments in a sequence.

In Visual Studio (C++), open the source code and open the dialog that displays the SequenceView control.  For the User Interface that ships with TestStand, this dialog is called IDD_EXECUTION_TAB_DIALOG.  This dialog can be found by opening the source code, then opening the TestExec.rc file, and looking at Resource View.  Under TestExec.rc » Dialog, open IDD_EXECUTION_TAB_DIALOG.  Right-click on the IDC_EXECTAB_STEPLIST control (the SequenceView control) and select Properties.  One property you can set is ShowComments.  Set this to false to hide the comments in a sequence.

In LabWindows/CVI, open the source code and open the User Interface file.  Right-click on the SequenceView control and select Properties.  In this properties dialog on the Appearance tab, uncheck the check box labeled Display Step Comments to hide the comments in a sequence.

Related Links:

Attachments:





Report Date: 08/27/2007
Last Updated: 12/18/2009
Document ID: 4CQG429A

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