- Messages
- 95
- Country

Hi folks,
I've created a DME device for my panel. The distance and speed readouts display correctly etc. When there is no DME signal present on the tuned nav frequency the display should change to a dash in place of each digit. I am doing this by using dummy nodes with the visibility code attached. One node has the distance and speed readouts childed to it and the other has the dashes childed to it. The dashes display perfectly correctly when there is no DME signal present, here's the code for the dashes....
Note: L200_DMEknob2 is the DME unit power knob. L200_RadioMasterSW is the radio master switch (duh!).
Now, here's the perplexing problem I'm having.....
When there is a DME signal present I want the distance and speed to show instead of the dashes, here's the code I have for this.... as you can see, there is only one change from the working code above, yet this simply refuse to work. WHY ??????
I've reset XForm mulitple times on each node, also had it in the root of the parts hierarchy and childed it to the panel etc.
While I'm on the subject of DMEs, has anybody got a code example to effect the 'Time To Go' or 'Minutes' readout ?
Many thanks for any help, suggestions or sympathy
Skip
I've created a DME device for my panel. The distance and speed readouts display correctly etc. When there is no DME signal present on the tuned nav frequency the display should change to a dash in place of each digit. I am doing this by using dummy nodes with the visibility code attached. One node has the distance and speed readouts childed to it and the other has the dashes childed to it. The dashes display perfectly correctly when there is no DME signal present, here's the code for the dashes....
Code:
<PartInfo>
<Name>L200_DME_signal_no</Name>
<Visibility>
<Parameter>
<Code>
(L:L200_DMEknob2, bool) 1 ==
(L:L200_RadioMasterSW, bool) 1 ==
(A:ELECTRICAL MASTER BATTERY, bool) 1 ==
(A:NAV HAS DME:1, bool) 0 ==
and
and
and
if{ 100 } els{ 0 }
</Code>
</Parameter>
</Visibility>
</PartInfo>
Note: L200_DMEknob2 is the DME unit power knob. L200_RadioMasterSW is the radio master switch (duh!).
Now, here's the perplexing problem I'm having.....
When there is a DME signal present I want the distance and speed to show instead of the dashes, here's the code I have for this.... as you can see, there is only one change from the working code above, yet this simply refuse to work. WHY ??????
I've reset XForm mulitple times on each node, also had it in the root of the parts hierarchy and childed it to the panel etc.
Code:
<PartInfo>
<Name>L200_DME_signal_yes</Name>
<Visibility>
<Parameter>
<Code>
(L:L200_DMEknob2, bool) 1 ==
(L:L200_RadioMasterSW, bool) 1 ==
(A:ELECTRICAL MASTER BATTERY, bool) 1 ==
(A:NAV HAS DME:1, bool) 1 ==
and
and
and
if{ 100 } els{ 0 }
</Code>
</Parameter>
</Visibility>
</PartInfo>
While I'm on the subject of DMEs, has anybody got a code example to effect the 'Time To Go' or 'Minutes' readout ?
Many thanks for any help, suggestions or sympathy
Skip
Last edited:





