Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MonitorExample.m unable to connect to XPlane 11 [Windows 10] #249

Closed
donfung opened this issue Mar 1, 2021 · 4 comments
Closed

MonitorExample.m unable to connect to XPlane 11 [Windows 10] #249

donfung opened this issue Mar 1, 2021 · 4 comments

Comments

@donfung
Copy link

donfung commented Mar 1, 2021

When I run MonitorExample.m In MATLAB, I'm getting the error "java.io.IOException: No response received.".
image

I get the same error when trying to run Example.m as well.

I do have the XPlaneConnect plugin enabled in the Plugin Admin:
image

I have tried several different port numbers but none work -- all produce the same error message.
image

Here are the relevant settings in the "Network" tab in XP11:
image
image

Here are the "Network Configuration" settings in the "Data Output" tab:
image

I am using Windows 10.

Thanks in advanced.

@donfung donfung closed this as completed Mar 2, 2021
@donfung
Copy link
Author

donfung commented Mar 2, 2021

Solved. The port definition in xpcPlugin.cpp (line 77) did not match the port number in the Network settings. Changing line 77 from 49009 to #define RECVPORT 49000 solved the issue.

@steagnas
Copy link

steagnas commented Nov 2, 2021

Hi donfung.
Same problem for me.
I did not get how did you solve. I am not able to access xpcPlugin.cpp . Could you please tell me how did you access it, in order to modify liine 77?
Thx

@donfung
Copy link
Author

donfung commented Nov 2, 2021

Can you please show a screenshot of the errors you're getting? I must be honest it's been awhile since I last touched XPC

@steagnas
Copy link

steagnas commented Nov 3, 2021

image
That is.

I have also noticed that on openUDP.m on line 27 you can modify a port number, but I honestly don't know which is and why.
image

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants