wiki:HetProcedures/TCSGUItabs

(these notes come from an email from Randy on Apr 27 2020)

When you want more than one tab on a single tab (combined tabs), you begin the item with a ‘[‘. [[br[] Then you list one single tab (including position and spacing information) per line, and then end the item with a special tab name “Title” followed by a ‘(‘ and the title you want on the combined tab, followed by a ‘)’, and then close the combined tab item with a ‘]’.
The position and spacing information and the Title line are optional.

The position and spacing information are indicated by an opening ‘(‘, followed by 4 items separated by colons ‘:’.

  • Row - starting row (zero relative) for the combine tab
  • Column - starting column (zero relative) for the combined tab
  • Row span - how many rows the tab will occupy
  • Column span - how many columns the tab will occupy

This set of entries (taken from the Configure Tabs display of a normal production gui on jove, describes how the Guider1 combined tab is drawn:

[Guider1Image(0:0:3:1)
Guider1Control(0:1)
Guider1MetrologyControl(1:1)
Guider1MetrologyData(2:1)
Title(Guider1 Camera)]

If you look in or edit the tcsGui_xxx.ini file you we see a slightly different syntax in the mainWindow/tabs ini file entry.

[mainWindow]
detachedTabs=@Invalid()
maximized=false
minimized=false
tabs=TrackerStatus, Tracker, Trajectory, [Guider1Image(0:0:3:1), Guider1Control(0:1), Guider1MetrologyControl(1:1), Guider1MetrologyData(2:1), Title(Guider1 Camera)], [Guider2Image(0:0:3:1), Guider2Control(0:1), Guider2MetrologyControl(1:1), Guider2MetrologyData(2:1), Title(Guider2 Camera)], [TTImage(0:0:3:1), TTControl(0:1), TTMetrologyControl(1:1), TTMetrologyData(2:1), Title(TT Camera)], [ACQImage(0:0:3:1), ACQControl(0:1), ACQMetrologyControl(1:1), ACQMetrologyData(2:1), Title(ACQ Camera)], [PVImage(0:0:3:1), PVControl(0:1), PVMetrologyControl(1:1), PVMetrologyData(2:1), Title(PV Camera)], [WFS1Image(0:0:3:1), WFS1Control(0:1), WFS1MetrologyControl(1:1), WFS1MetrologyData(2:1), Title(WFS 1 Camera)], [WFS2Image(0:0:3:1), WFS2Control(0:1), WFS2MetrologyControl(1:1), WFS2MetrologyData(2:1), Title(WFS 2 Camera)], VirusEnvironment, [CWFSImage(0:0:3:1), CWFSControl(0:1), CWFSMetrologyControl(1:1), CWFSMetrologyData(2:1), Title(CWFS Camera)], [PFIPControl(0:0), PFIPEnvironment(0:1), FCUControl(1:0), Title(PFIP/FCU Control/Status)], ProbeAssembly, [BIBImage(0:0:3:1), BIBControl(0:1), BIBMetrologyControl(1:1), BIBMetrologyData(2:1), Title(BIB Camera)], Production, [HPF_ACQImage(0:0:3:1), HPF_ACQControl(0:1), HPF_ACQMetrologyControl(1:1), HPF_ACQMetrologyData(2:1), Title(HPF_ACQ Camera)], ProbeControl, VideoSwitch, FocalPlaneShutter, Apc, [Dome(0:0:2:1), Shutter(0:1), Structure(0:2), DMI(1:1), Title(Legacy)], PFIPEnvironment, WeatherData, Igloo, PFIPControl

Also, notice that the Legacy tab is now a combined tab that combines the individual Dome, Shutter, Structure and DMI tabs into a single Legacy tab.
There is still the original Legacy tab that combines all of these with using this syntax, but that tab is deprecated and will be removed soon.



To copy TCS GUI profile ini file

to copy TCS gui profile to you own account

1) login to any computer under you account

2) run commands:

mkdir ~/..config/UT_McDonald_HET
cp ~astronomer/.config/UT_McDonald_HET/tcsGui_<you profile name>.ini ~/.config/UT_McDonald_HET/.
Last modified 3 years ago Last modified on Nov 25, 2020 11:02:46 PM