Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi Pete,

I have a problem with the delay in communication between Prepar3D and mobiflight that use fsuipc of protocol comunication.
I am noticing that very often the communication takes place late and it is noticed when I turn an encoder and release the same the values of the display do not stop. 
I have increased the value of fsuipc in mobiflight as timing to the maximum but to no solution. 

In my home cockpit obviously it is not the only system standing like that of mobiflight, but in the same pc other programs are running that influence the simconnect or fsuipc as opus which gives me the connection between the various visual pc and the weather, or traffic programs like widetraffic. 

I considered moving to a single PC, effectively removing all bottlenecks such as the LAN, opus and traffic, but I did not notice any improvement. 
Obviously in my PC I don't have very high frames, but I have optimized the machine in such a way as to have constant frames at 30fps. 

I wanted to ask is this a fsuipc problem? if yes how does it solve? or do I have to consider anything else like the not really high frames of prepar, fsuipc latency, simconnect, usb sockets etc etc? thanks again for the support

Simone

Posted
1 hour ago, sisoffi said:

I am noticing that very often the communication takes place late and it is noticed when I turn an encoder and release the same the values of the display do not stop.

If you are using a method that has to invoke a control to change a dial or value in a gauge, this is because the updates are flowing too fast and a queue has built up.

For a dial or gauge in a cockpit there are usually better ways. If you have direct control over the local cockpit display, then make the increments there, NOT updating the Sim until there's a pause in the rotation of the encoder. Then write the value reached. The pause need not be very long - eg 1/2 second maybe. I've used this method in cockpit display drivers for many years.

1 hour ago, sisoffi said:

I wanted to ask is this a fsuipc problem? if yes how does it solve? or do I have to consider anything else like the not really high frames of prepar, fsuipc latency, simconnect, usb sockets etc etc? thanks again for the support

I'd need to know a lot more about exactly what you are doing to even have a guess at that.

Pete

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.