- Using AirManager on my Laptop for programming instruments and setup the different AirPlayers
- first Desktop with xplane11 and AirPlayer for testing
- second Desktop with xplane 11 for flying
- raspberry PI4 with AirPlayer
I have the following "test instrument":
Code: Select all
gruen = img_add("gruen.png", 40, 30, 120, 120)
rot = img_add("rot.png", 120, 30, 120, 120)
function callback(pos)
print("GEAR: " .. tostring(pos))
if pos == 1 then
visible(gruen, true)
visible(rot, false)
else
visible(gruen, false)
visible(rot, true)
end
end
xpl_dataref_subscribe("sim/cockpit2/controls/gear_handle_down", "INT", callback)
In addition it is running fine on the raspi in combination with the "Test-Desktop"
But the raspi is not talking to the "Flying-Desktop", although the raspi with AirPlayer is showing up in AirManager all the times.
I hope it is possible to understand my problem, because I have no idea to solve it!
Marc