• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Comm gauge number + -

Messages
9
Country
unitedkingdom
Hi ive downloaded a freeware aircraft recently and noticed one the comm gauge when inreasing or decreasing the numbers it will skip some in a pattern of 2 or 3, this is causing a problem as i cant tune certain frequencies such as 133.55 i can only tune 133.54 or 133.57. Ive changed some things in the XML for the gauge with no results, any help would be appreciated as im more of a scenery person than a gauge one. Thanks
 
Not being psychic, I cannot diagnose long distance...

Please post the relevant <String> sections so we can see the problem... ;)
 
Sorry, this is the section i think is relevent but have no idea what im looking for this has all my current changes that made no difference, its the freeware EV97 comm gauge. I apologize in advance for posting so much code :o

Code:
- <!--  =========== Lower line =========== 
  --> 
- <!--  ====== Digit 1 ====== 
  --> 
- <Element>
  <Visible>(L:EV97_SQVLVX_button,enum) ! (L:EV97_MEM_knob,enum) ! (L:EV97_MHz_KHz_button,bool) ! and and</Visible> 
  <Position X="13" Y="27" /> 
  <Image Name="com_arrow_left.bmp" Alpha="Yes" /> 
  </Element>
- <!--  ====== Digit 2 ====== 
  --> 
- <Element>
  <Position X="27" Y="27" /> 
- <Select>
  <Value>(L:EV97_SQVLVX_button,enum) ! (L:EV97_MEM_knob,enum) ! and if{ (A:Com standby frequency:1,Megahertz) 100 / flr } (L:EV97_SQVLVX_button,enum) if{ 65 } (L:EV97_SQVLVX_button,enum) 1 == if{ 53 } (L:EV97_SQVLVX_button,enum) 1 == if{ 65 }</Value> 
- <Case Value="1">
  <Image Name="com_1.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="65">
  <Image Name="com_v.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="53">
  <Image Name="com_s.bmp" Alpha="Yes" /> 
  </Case>
  </Select>
  </Element>
- <!--  ====== Digit 3 ====== 
  --> 
- <Element>
  <Position X="41" Y="27" /> 
- <Select>
  <Value>(L:EV97_SQVLVX_button,enum) ! (L:EV97_MEM_knob,enum) ! and if{ (A:Com standby frequency:1,Megahertz) 10 / flr d 10 / flr 10 * - } (L:EV97_SQVLVX_button,enum) if{ 89 } (L:EV97_SQVLVX_button,enum) 1 == if{ 48 } (L:EV97_SQVLVX_button,enum) 1 == if{ 89 }</Value> 
- <Case Value="1">
  <Image Name="com_1.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="2">
  <Image Name="com_2.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="3">
  <Image Name="com_3.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="89">
  <Image Name="com_o.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="48">
  <Image Name="com_q.bmp" Alpha="Yes" /> 
  </Case>
  </Select>
  </Element>
- <!--  ====== Digit 4 ====== 
  --> 
- <Element>
  <Position X="55" Y="27" /> 
- <Select>
  <Value>(L:EV97_SQVLVX_button,enum) ! (L:EV97_MEM_knob,enum) ! and if{ (A:Com standby frequency:1,Megahertz) flr (A:Com standby frequency:1,Megahertz) 10 / flr 10 * - } (L:EV97_SQVLVX_button,enum) if{ 57 } (L:EV97_SQVLVX_button,enum) 1 == if{ 81 } (L:EV97_SQVLVX_button,enum) 1 == if{ 74 } (L:EV97_SQVLVX_button,enum) ! (L:EV97_MEM_knob,enum) 0 > and if{ 68 }</Value> 
- <Case Value="0">
  <Image Name="com_0.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="1">
  <Image Name="com_1.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="2">
  <Image Name="com_2.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="3">
  <Image Name="com_3.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="4">
  <Image Name="com_4.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="5">
  <Image Name="com_5.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="6">
  <Image Name="com_6.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="7">
  <Image Name="com_7.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="8">
  <Image Name="com_8.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="9">
  <Image Name="com_9.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="68">
  <Image Name="com_m.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="57">
  <Image Name="com_l.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="81">
  <Image Name="com_double_point.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="74">
  <Image Name="com_x.bmp" Alpha="Yes" /> 
  </Case>
  </Select>
  </Element>
- <!--  ====== Digit 5 ====== 
  --> 
- <Element>
  <Position X="69" Y="27" /> 
- <Select>
  <Value>(L:EV97_SQVLVX_button,enum) ! (L:EV97_MEM_knob,enum) ! and if{ 98 } (L:EV97_SQVLVX_button,enum) ! (L:EV97_MEM_knob,enum) 0 > and if{ (L:EV97_MEM_knob,enum) } (L:EV97_SQVLVX_button,enum) 1 == if{ 81 } (L:EV97_SQVLVX_button,enum) 1 == if{ 81 }</Value> 
- <Case Value="1">
  <Image Name="com_1.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="2">
  <Image Name="com_2.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="3">
  <Image Name="com_3.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="4">
  <Image Name="com_4.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="5">
  <Image Name="com_5.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="6">
  <Image Name="com_6.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="7">
  <Image Name="com_7.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="8">
  <Image Name="com_8.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="9">
  <Image Name="com_9.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="98">
  <Image Name="com_point.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="81">
  <Image Name="com_double_point.bmp" Alpha="Yes" /> 
  </Case>
  </Select>
  </Element>
- <!--  ====== Digit 6 ====== 
  --> 
- <Element>
  <Position X="83" Y="27" /> 
- <Select>
  <Value>(L:EV97_SQVLVX_button,enum) ! (L:EV97_MEM_knob,enum) ! and if{ (A:Com standby frequency:1,Megahertz) 10 * (A:Com standby frequency:1,Megahertz) flr 10 * - flr } (L:EV97_SQVLVX_button,enum) if{ (L:EV97_VOL,enum) 10 / flr } (L:EV97_SQVLVX_button,enum) 1 == if{ (L:EV97_SQ,enum) 10 / flr } (L:EV97_SQVLVX_button,enum) 1 == if{ (L:EV97_VOX,enum) 10 / flr } (L:EV97_MEM_knob,enum) 0 > (L:EV97_SQVLVX_button,enum) ! and if{ 10 }</Value> 
- <Case Value="0">
  <Image Name="com_0.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="1">
  <Image Name="com_1.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="2">
  <Image Name="com_2.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="3">
  <Image Name="com_3.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="4">
  <Image Name="com_4.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="5">
  <Image Name="com_5.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="6">
  <Image Name="com_6.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="7">
  <Image Name="com_7.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="8">
  <Image Name="com_8.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="9">
  <Image Name="com_9.bmp" Alpha="Yes" /> 
  </Case>
  </Select>
  </Element>
- <!--  ====== Digit 7 ====== 
  --> 
- <Element>
  <Position X="97" Y="27" /> 
- <Select>
  <Value>(L:EV97_SQVLVX_button,enum) ! (L:EV97_MEM_knob,enum) ! and if{ (A:Com standby frequency:1,Megahertz) 10 * d flr - 10 * flr } (L:EV97_SQVLVX_button,enum) if{ (L:EV97_VOL,enum) 10 / d flr - 10 * } (L:EV97_SQVLVX_button,enum) 1 == if{ (L:EV97_SQ,enum) 10 / d flr - 10 * } (L:EV97_SQVLVX_button,enum) 1 == if{ (L:EV97_VOX,enum) 10 / d flr - 10 * } (L:EV97_MEM_knob,enum) 0 > (L:EV97_SQVLVX_button,enum) ! and if{ 10 }</Value> 
- <Case Value="0">
  <Image Name="com_0.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="1">
  <Image Name="com_1.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="2">
  <Image Name="com_2.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="3">
  <Image Name="com_3.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="4">
  <Image Name="com_4.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="5">
  <Image Name="com_5.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="6">
  <Image Name="com_6.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="7">
  <Image Name="com_7.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="8">
  <Image Name="com_8.bmp" Alpha="Yes" /> 
  </Case>
- <Case Value="9">
  <Image Name="com_9.bmp" Alpha="Yes" /> 
  </Case>
  </Select>
  </Element>
- <!--  ====== Digit 8 ====== 
  --> 
- <Element>
  <Visible>(L:EV97_SQVLVX_button,enum) ! (L:EV97_MEM_knob,enum) ! (L:EV97_MHz_KHz_button,bool) and and</Visible> 
  <Position X="111" Y="27" /> 
  <Image Name="com_arrow_right.bmp" Alpha="Yes" /> 
  </Element>
  </Element>


Or this section

Code:
- <!--  =========== Tuning Knob =========== 
  --> 
- <Area Left="108" Top="156" Width="29" Height="58">
  <Cursor Type="UpArrow" /> 
  <Click Repeat="Yes">(P:Zulu time,seconds) (>G:Var1) 1 (>L:EV97_rotary_sound,enum) (A:Circuit avionics on,bool) if{ (L:EV97_SQVLVX_button,enum) ! (L:EV97_MEM_knob,enum) ! and if{ (L:EV97_MHz_KHz_button,bool) ! if{ (>K:COM_RADIO_WHOLE_INC) } els{ (>K:COM_RADIO_FRACT_INC) } } (L:EV97_SQVLVX_button,enum) if{ (L:EV97_VOL,enum) 32 < if{ (L:EV97_VOL,enum) 1 + (>L:EV97_VOL,enum) } } (L:EV97_SQVLVX_button,enum) 2 == if{ (L:EV97_SQ,enum) 10 < if{ (L:EV97_SQ,enum) 1 + (>L:EV97_SQ,enum) } } (L:EV97_SQVLVX_button,enum) 3 == if{ (L:EV97_VOX,enum) 10 < if{ (L:EV97_VOX,enum) 1 + (>L:EV97_VOX,enum) } } }</Click> 
  </Area>
- <Area Left="79" Top="156" Width="29" Height="58">
  <Cursor Type="DownArrow" /> 
  <Click Repeat="Yes">(P:Zulu time,seconds) (>G:Var1) 1 (>L:EV97_rotary_sound,enum) (A:Circuit avionics on,bool) if{ (L:EV97_SQVLVX_button,enum) ! (L:EV97_MEM_knob,enum) ! and if{ (L:EV97_MHz_KHz_button,bool) ! if{ (>K:COM_RADIO_WHOLE_DEC) } els{ (>K:COM_RADIO_FRACT_DEC) } } (L:EV97_SQVLVX_button,enum) if{ (L:EV97_VOL,enum) 1 > if{ (L:EV97_VOL,enum) 1 - (>L:EV97_VOL,enum) } } (L:EV97_SQVLVX_button,enum) 2 == if{ (L:EV97_SQ,enum) 1 > if{ (L:EV97_SQ,enum) 1 - (>L:EV97_SQ,enum) } } (L:EV97_SQVLVX_button,enum) 3 == if{ (L:EV97_VOX,enum) 1 > if{ (L:EV97_VOX,enum) 1 - (>L:EV97_VOX,enum) } } }</Click> 
  </Area>
 
Last edited:
Sorry, this is the section i think is relevent but have no idea what im looking for this has all my current changes that made no difference, its the freeware EV97 comm gauge. I apologize in advance for posting so much code :o

Gah! Don't these gauge authors know what the ENTER key is for? Why do they insist on keeping all these complex expressions on one line? :banghead:

The last digit is the one to examine. Isn't this MUCH easier to read? :D

Code:
<Value>
    (L:EV97_SQVLVX_button,enum) ! 
    (L:EV97_MEM_knob,enum) ! 
    and 
      if{ (A:Com standby frequency:1,Megahertz) 10 * d flr - 10 * flr } 
   (L:EV97_SQVLVX_button,enum) 
      if{ (L:EV97_VOL,enum) 10 / d flr - 10 * } 
   (L:EV97_SQVLVX_button,enum) 1 == 
      if{ (L:EV97_SQ,enum) 10 / d flr - 10 * } 
   (L:EV97_SQVLVX_button,enum) 1 == 
      if{ (L:EV97_VOX,enum) 10 / d flr - 10 * } 
   (L:EV97_MEM_knob,enum) 0 > 
   (L:EV97_SQVLVX_button,enum) ! 
   and 
      if{ 10 }
</Value>

I don't spot anything obviously wrong in the above. Where did you find this freeware package? I'll need to see the entire thing (unmodified) to discover what the problem might be.
 
The aircraft is availabe from http://www.fsnordic.net/Files (select 'Flight Simulator', followed by 'Aircraft', 'General Aviation', and then scroll down the alphabetical list to find 'Project EV97') im using it with the FSX update and i believe it was created by a member of fsdeveloper but cant remember who now
 
Last edited:
Thanks. I'll take a look at it whenever I can make some time. I'm assuming that you did d/l and install the v1.1 update as well?
 
Thanks. I'll take a look at it whenever I can make some time. I'm assuming that you did d/l and install the v1.1 update as well?

Thanks, Yes ive installed v1.1 ;) It seems to be deliberate rather than an error but with my second to none knowledge of this i would know what to look for or to change
 
Back
Top