FSUIPC for Flight Sim 200X was one of the first interfaces I had worked with. Having seen how easy it was to work with I then went looking around for other sims. Until recently the only other easy to work with Sim was Falcon 4, using Shared Memory Files.
The good news is that in early 2004, both il2 (with Aces Expansion Pack) and Lock On Modern Air Combat have both provided bidirectional programmatic interfaces.
All of the interfaces can be used across remote computers, meaning that you don't have to stress the CPU on the PC running the simulator. This is good if you are programming in a not so fast language such as Visual Basic.
| Simulator | Programmatic Interface | Remote Access |
| |
|
|
| FS200X | Peter Dowson's FSUIPC | WideFS |
| Falcon 4 | Shared Memory | Eagle9s F4 Glass |
| il2 | Device Link | Native? |
| Lo-mac | LUA | via the LUA TCP interface |
| |
|
|
The Simkits CCU includes algorithms which smoothes the servo outputs. As the Phidget devices provide a raw interface, smoothing must be done in your own code. Whilst the mileage may vary, here is the algorithm I used.
Read value from Simulation
Write to Desired Servo output (via calibrated routine)
Timer Event
for each servo
If Desired Value = Current Value then
exit sub
else
add/subtract incremental value to current value
set servo pos to current value
end else
next servo
exit sub