Jump to content
The simFlight Network Forums

FSUIPC ManualConnectDemo failed


paulsk

Recommended Posts

Hi,

Today I installed the FSUIPC Client DLL after viewing the YouTube video by Paul Henty, built and ran the ManualConnectDemo. It failed.

Unfortunately, I cannot upload a good screenshot because that is bigger than the size of "15B" (!?) that I am allowed to attach.

I have Visual Studio 2019 installed on a desktop PC running the latest version of MS Windows 10 Pro.

Building the ManualConnectDemo succeeded OK.

- MSFS2020 ver 1.17.3.0 with WideServer running. Waiting for a client;

- FSUIPC7 running: "Simulator is available: connected";

- The ManualConnectDemo built Main Form showing on the bottom line the text: "Looking for a flight simulator..."

- After clicking on "Connect" button on the "Main Form" of the ManualConnectDemo built, an "FSUIPC" window popped up with the text:

"Connection Failed   FSUIPC Error #12: FSUIPC_ERR_SENDMSG. Error sending message to FSUIPC".

Question: what can I do to run the ManualConnectionDemo successfully?

My intention is to build an interface for the Sim Innovation's Knobster which I used until now only with X-Plane 11.

Paulus

Link to comment
Share on other sites

Hi Paulus,

Your application must be running at the same privilege level as FSUIPC7. For example if you start FSUIPC7 'as administrator' then you must also start your application (or Visual Studio if you are coding/debugging) 'as administrator'. Or you can run both not 'as administrator'. 

The most likely cause of this error is that one is 'as administrator' but the other isn't.

Paul 

Link to comment
Share on other sites

Hi Paul,

Thank you for your very rapid Reply. I just copied the demo .exe and the .dll to a 2nd PC that has a WideClient running. Now it worked. Then I tried it also on the PC that is running MSFS2020. On this PC the demo was now running OK "Connected to MSFS (V11.0)" while displaying the actual IAS. 

Maybe the error was caused by the fact that before, this afternoon, I had connected a Raspberry Pi Pico via a USB cable and the UART of the Pico via a USB-to-RS232 converter with the PC running MSFS2020 using the data broadcasts from FSUIPC7 GPSout to display GPS sentences to a 4x20 LCD connected to the Pico. I go to connect them again and see if this makes a difference to the execution of the ManualConnectDemo.

Greetings,

Paulus

Link to comment
Share on other sites

Hi Paul,

Now I have my Pico app running and the ManualConnectDemo also (on 2 PC's). Everything is working OK !

The ManualConnectDemo displaying the IAS and the data on the LCD connected to the Pico GS in Kts. (Currently 3 Kts GS more than the IAS).

Greetings,

Paulus

Link to comment
Share on other sites

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.