Hello,
A new Passerelle version is coming with a window capture feature. Passerelle is a module to control Saitek devices that can be used with the FSUIPC Lua engine. You can now stream an instrument window to your Saitek Flight Panel Instrument with a very simple script:
require "passerelle"
passerelle.addPage("SFIP", 1, 1, true);
function capture()
local bitmap = passerelle.captureWindow("FS98FLOAT", "PFD", 0, 0, 100, 100);
passerelle.setImage('SFIP', 1, 1, 0, bitmap);
collectgarbage();
end
while true do
capture();
ipc.sleep(50);
end
To test this script in FSUIPC:
- Select a Cessna with a G1000 GPS
- Start the flight
- Open the PFD window
- Undock it (window must be in non-minimized state)
- Run the script
And voilà! Your are streaming your PFD to your FIP!
Check the installation procedure here:
https://github.com/chrilith/Passerelle/wiki/Installing-the-Module#with-flight-simulator
This preview version can be downloaded from here:
https://github.com/chrilith/Passerelle/releases
The documentation is here:
https://github.com/chrilith/Passerelle/wiki
Chris