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

Programmatic Resizing of TestStand UI Front Panel

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

Problem:
I have added an additional tab control to the front panel of my LabVIEW Full Feature OI, Full UI-Top-Level.vi.  However, when I run the Full UI-Top-Level.vi, my front panel is resized and I can't see my new tab control.  How can I view this additional control?

Solution:
While using Full UI- Top-Level.vi, there are two places that need to addressed in the code to prevent the resizing.  Editing the code in these two places will disable the programmatic resizing of the Full UI- Top-Level.vi.  The two places that need to be edited are listed below:
  • From the top level vi»INIT.vi»LOAD PANEL BOUNDS.vi, then using the disable diagram structure comment out the TEST STAND-LOAD SIZES.vi.  See Figure 1 below.
  • From the top level vi»ARRANGE CTRLS.vi, disconnect the wire from the FP.Open property.  Instead wire a false constant to the case structure.  See Figure 2 below.


Figure 1


Figure 2

By altering the code in the two places described above this will eliminate the programmatic repositioning of objects in the front panel window.

Related Links:
Product Manuals: TestStand Reference Manual
Product Manuals: Using LabVIEW with TestStand

Attachments:





Report Date: 07/01/2008
Last Updated: 07/14/2008
Document ID: 4N0C13PJ

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