I am trying to use a kr-87 adf radio to control a generic ADF indicator instead of the ki227 indicator.
I am using this in the kr87.xml file, so the "frq" button does this.....
.......
<binding>
<command>property-swap</command>
<property>/instrumentation/kr-87/outputs/standby-khz</property>
<property>/instrumentation/adf/frequencies/selected-khz</property>
</binding>
This works well, but, it also replaces the standby readout on the KR-87 with what ever was in the "/adf/frequencies" variable.
I don't want to "swap" the two, I want only to replace the value of one with the value of the other.
Something like:
<binding>
<command>property-assign</command>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value> <property>/instrumentation/kr-87/outputs/standby-khz</property> </value>
</binding>
I think using the "property-assign" command only works with a variable number like an integer....
How do I change a property value, with the value of another property?
Thanks in advance.