G1000 reacting to Light Potentiometer 30 for no reason

Both FS20 and FS24. Potentiometer 30 is not defined and 99 is not used either.

I use Pot 30 for cockpit text and lamps.

	<Component ID="AS1000_PFD">
		<UseTemplate Name="ASOBO_AS1000_PFD_Template">
			<POTENTIOMETER>99</POTENTIOMETER>
			<AMBIENT_POTENTIOMETER>12</AMBIENT_POTENTIOMETER>
			<CIRCUIT_ID>6</CIRCUIT_ID>
			<NO_AUTOPILOT_BUTTONS/>
			<AUTOPILOT_SUFFIX_ID>_2</AUTOPILOT_SUFFIX_ID>
			<PANEL_NODE_ID>AS1000_Panel_NoAutopilot_ALTKNOB_1</PANEL_NODE_ID>
			<ID>1</ID>
			<ALTIMETER_ID>1</ALTIMETER_ID>
		</UseTemplate>
	</Component>
	<Component ID="AS1000_MID">
		<UseTemplate Name="ASOBO_AS1000_MID_Template">
			<EMISSIVE_SCALE>(L:AS1000_MFD_Brightness, number) *</EMISSIVE_SCALE>	
			<POTENTIOMETER>99</POTENTIOMETER>
			<CIRCUIT_ID>9</CIRCUIT_ID>
			<NO_AUX/>
			<NO_COM_3/>
			<NO_NAV_3/>
		</UseTemplate>
	</Component>
	<Component ID="AS1000_MFD">
		<UseTemplate Name="ASOBO_AS1000_MFD_Template">
			<POTENTIOMETER>99</POTENTIOMETER>
			<AMBIENT_POTENTIOMETER>13</AMBIENT_POTENTIOMETER>
			<CIRCUIT_ID>20</CIRCUIT_ID>
			<ID>2</ID>
			<AUTOPILOT_SUFFIX_ID>_1</AUTOPILOT_SUFFIX_ID>
			<ALTIMETER_ID>1</ALTIMETER_ID>
		</UseTemplate>
	</Component>

Here is an old screenshot of the same situation. PFD at full brightness.

Hello @MrTommymxr ,

This is an old template and I’m afraid we can’t make a fix as it will cause some regression.

This is caused by a condition where we check SIMVAR_POWER_SETTING and then the potentiometer 30 is used.

As a workaround, I think you can create a new template based on the ASOBO_AS1000_Template, and only modify this section:

        <Switch>
            <Case Check="SIMVAR_POWER_SETTING">
                <GET_POTENTIOMETER>#MAX_EMISSIVE_PERCENT# #SCREEN_MIN_EMISSIVE_PERCENT# - (L:AS1000_#FUNCTION#_Brightness, number) * #SCREEN_MIN_EMISSIVE_PERCENT# + (L:AS1000_#FUNCTION#_Brightness_IsAuto, Bool) ! * @AutomaticBrightnessFactor (L:AS1000_#FUNCTION#_Brightness_IsAuto, Bool) * + (A:#SIMVAR_POWER_SETTING#, Percent over 100) *</GET_POTENTIOMETER>
            </Case>
            <Default>
                <GET_POTENTIOMETER>#MAX_EMISSIVE_PERCENT# #SCREEN_MIN_EMISSIVE_PERCENT# - (L:AS1000_#FUNCTION#_Brightness, number) * #SCREEN_MIN_EMISSIVE_PERCENT# + (L:AS1000_#FUNCTION#_Brightness_IsAuto, Bool) ! * @AutomaticBrightnessFactor (L:AS1000_#FUNCTION#_Brightness_IsAuto, Bool) * + (A:LIGHT POTENTIOMETER:#POTENTIOMETER#, Percent over 100) *</GET_POTENTIOMETER>
            </Default>
        </Switch>

If you never want to use the power setting, you can probably remove everything except the second <GET_POTENTIOMETER>.

If you want to support both behaviors, you can replace Check with Valid. Then, if you set SIMVAR_POWER_SETTING to an empty string or to 0 / false, it will fall back to using the potentiometer.

Hope it helps,

Regards,
Boris

I switched to Lvars instead.

This topic has been automatically closed after 60 days of inactivity since it was marked as by-design.

If there is important new information about this same report, you can use the “Request reopen” button below to ask the moderation team to review it again.
For other issues or broader discussion, please open a new topic in the appropriate category.