Speaking of (probably) me screwing things up, I've got some weird behavior I can't sort out. I have multi-level hidden items. Almost all of them work, but one set acts oddly.
This is the grand parent item that selects the lower level groups:

This next one works fine, and it has 3 levels- top level, then second level with 2 separate selectable sub levels):

Now, for some reason, the Modulation section is weird. Here's what it's supposed to look like:

Or this one is also correct:

If I cycle through, then the separators get lost:

It's odd, because the other multilevel selector sets work fine. This also worked fine before I hid it beneath another parent level.
This is the grand parent (top level):
#cmdSetup toggleButton AWG_Modification AWG_Mod
:write: :FGEN:MOD:MODE
:read: :FGEN:MOD:MODE?
:update: AWG_Modification,Mod_Modu_NA,Mod_Sweep_NA,Mod_Burst_NA
:string:
:nogrid:
:color: gray red green blue
None NONe
Modulation MODulation
Sweep SWEep
Burst BURSt
:tip: set or disable function generator modificationThis is the parent:
#cmdSetup selector Mod_Modu_NA AWG_Mod
:read: :FGEN:MOD:MODE?
NONe Main.Empty
MODulation AWG_Mod_Mod.
SWEep Main.Empty
BURSt Main.Empty
#cmdSetup separator - AWG_Mod_Mod
1 100 Sunken
#cmdSetup separator - AWG_Mod_Mod
:labelformat: bold (0,40,115)
1 100 Empty
center Modulation_Settings
#cmdSetup separator - AWG_Mod_Mod
1 100 Sunken
#cmdSetup toggleButton Modulation_Type AWG_Mod_Mod
:write: :FGEN:MOD:MOD:TYPE
:read: :FGEN:MOD:MOD:TYPE?
:update: Modulation_Type,AMP_Mod_NA,FM_Mod_NA,PM_Mod_NA
:string:
:nogrid:
:color: orange blue pink cyan
:tip: Choose modulation type.
AM AM
DSB-SC DSBSC
;FM FM
PM PM
This is the code for the inconsistent piece:
#cmdSetup selector AMP_Mod_NA AWG_Mod_Mod
:read: :FGEN:MOD:MOD:TYPE?
AM AWG_Mod_Mod_AMP.
DSBSC Main.Empty
FM Main.Empty
PM Main.Empty
#cmdSetup separator - AWG_Mod_Mod_AMP
1 100 Sunken
#cmdSetup separator - AWG_Mod_Mod_AMP
:labelformat: bold (0,40,115)
1 100 Empty
center Amplitude_Settings
#cmdSetup separator - AWG_Mod_Mod_AMP
1 100 Sunken
#cmdSetup number AM_Depth AWG_Mod_Mod_AMP
:read: :FGEN:MOD:MOD:AM:DEPT?
:write: :FGEN:MOD:MOD:AM:DEPT #
:update: AM_Depth
% 0 100
:tip: Enter desired modulation depth.If I close the Setup window, and open it again, the above looks as it's supposed to. Cycling the grandparent also fixes it.
Also should note that FM is commented out because it's not available yet, and the toggleButton gets stuck before whatever is listed above FM since switching to FM fails. I've tried removing everything to do with FM, and it had no effect.
Thanks,
Josh