Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter Web Forum > Simpit Forum
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Simpit Forum Share & discuss simpit projects for Orbiter here!

Reply
 
Thread Tools
Old 05-07-2015, 10:00 AM   #136
kamaz
Unicorn hunter
 
kamaz's Avatar
Default

Quote:
Originally Posted by ZXS2000 View Post
 1. Have you tried these MDF modules in the new orbiter2015 beta yet?
The version posted in this thread should work with 2015 (feel free to try it). The version which I distribute as a closed beta (because I still don't have time to finish it) must be adapted to 2015 because it does runtime patching of the core.

BTW, if you want the beta send me a PM.

Quote:
Originally Posted by ZXS2000 View Post
 2. Anyone tried these with touch screens running off a rasberry Pi yet?
I have thought about it an concluded that it makes no sense economy-wise.

A 7" tablet is perfectly capable of working as an MFD display and costs about $50. A 7" touch screen for Raspi costs $50 by itself, plus another $50 for the Raspi itself. So you place 2x as much per screen and are left with device which has not too many alternate applications. In contrast, repurposing or reselling a tablet is no problem.

My long term goal is to integrate VNCMFD with Orb::Connect::Web so you can see both MFDs and panels in a web browser. This will let you use practically anything in the simpit (laptops, tablets, phones, Raspis).
kamaz is offline   Reply With Quote
Thanked by:
Old 06-10-2015, 07:10 PM   #137
GodAtum
Orbinaut
Default

Quote:
Originally Posted by kamaz View Post
 All hail the Probe!



I have solved the dialog box problem. Here is an addon which allows you to enter the needed values through a network socket instead.

The reason I used a socket, is that (1) you cannot easily tell which MFD triggered the dialog box, so you don't know which client you should render the dialog box to; (2) I did not feel like writing a code which would render the dialog boxes to VNC framebuffer, (3) although VNC can take keyboard input, keyboard input on tablets is not very convenient and (4) by separating this functionality from VNCMFD, you can use it with another display solution (such as WebMFD).

But you can now write a "Mission Control" application which uses a VNC client component for displaying the MFD screen and pops up dialog boxes when it receives data from this add-on.

Usage description (short): install & enable the addon, use e.g. PuTTY to connect to port 31337 (TCP) and have fun

{image}

Thanks to:

- Martin Schweiger for Orbiter and for having no objections to this add-on

- cjp, who first reverse engineered the dialog code in Orbiter 2006 ( http://www.orbiter-forum.com/showthr...3&postcount=55 ) and the published the FreeOrbit MFD, which made my disassembly efforts much easier

- Hex-Rays SA for the excellent IDA Pro disassembler / debugger, and providing the freeware version

- Microsoft Research for the excellent Detours Express library which I used for patching the orbiter core

- Microsoft for the excellent Visual Studio Express compiler

Readme file is below; the add-on (source & DLL) is atatched.
Thanks for making this. How do I use it? I tried connecting Putty to 127.0.0.1:31337 but it cannot make the connection.
GodAtum is offline   Reply With Quote
Old 06-10-2015, 10:00 PM   #138
kamaz
Unicorn hunter
 
kamaz's Avatar
Default

A dumb question, did you enable the module?

That said, it makes no sense to use this module now, as it has been integrated into beta VNCMFD... check your PM
kamaz is offline   Reply With Quote
Old 06-11-2015, 06:29 PM   #139
GodAtum
Orbinaut
Default

Quote:
Originally Posted by kamaz View Post
 A dumb question, did you enable the module?

That said, it makes no sense to use this module now, as it has been integrated into beta VNCMFD... check your PM
Thanks for the beta link

I tired to connect to 127.0.0.1:5900 once I enabled it and loaded orbiter, but an error can up saying "Server refused connection". I am using VNC Viewer. The old VNCMFD connects fine however. I tried changing the .ini to a static port of 5900 and 5901 but no luck.
GodAtum is offline   Reply With Quote
Old 06-11-2015, 06:32 PM   #140
kamaz
Unicorn hunter
 
kamaz's Avatar
Default

Because the beta version starts the VNC servers dynamically on request.

You must use the client supplied with the beta (ORC for Windows or the android app). That also gives you dialog boxes on the MFD display device instead of on the main screen.
kamaz is offline   Reply With Quote
Thanked by:
Old 12-31-2016, 04:08 AM   #141
RacerX
Donator
 
RacerX's Avatar
Default Rebuilt the project to work in Orbiter2016

Rebuilt the project in VS2015 to work in Orbiter2016. NO changes to the source were made. Just pointed it to the orbiter2016 lib's and built. I got lucky
Attached Files
File Type: zip VNCMFD-rev36_Orbiter_2016.zip (2.00 MB, 78 views)

Last edited by RacerX; 12-31-2016 at 05:19 AM.
RacerX is offline   Reply With Quote
Thanked by:
Old 12-09-2017, 12:20 PM   #142
buznee
Orbinaut
Default

I just tried the repacked version for orbiter 2016! Works well, the only issue is the dialogue box does not show up on the MFD. Anything that can be done about that? Also I was curious if it would be possible to export the HUD graphics to VNC. This would allow you to build a real HUD for a sim cockpit Something I've always wanted to do.
buznee is offline   Reply With Quote
Thanked by:
Old 10-25-2018, 05:37 PM   #143
Phil Smith
Donator
 
Phil Smith's Avatar
Default

Hey guys!
after 4 years of not using external MFDs I'm back)

And ran into the trouble. I totally forgot how to set up vnc connections properly.
So what I do:
1) Launch the Orbiter 2016 scenario with vncmfd addon installed and enabled.
2) On the PC, via CMD -> ipconfig I get my local IP address (for example 192.168.XXX.X)
3) Open installed VNC viewer on my android device.
4) Create new connection with my local IP and port 5900 (192.168.XXX.X:5900)
5) Click connect...

.. and nothing happening, " the connection attempt timed out".

So please could you tell me what step do I miss or do wrong?

Appreciate any help!

Cheers!

---------- Post added 10-25-18 at 05:37 PM ---------- Previous post was 10-24-18 at 06:30 PM ----------

Argh, bugger! My bad, I've typed another IP address. the right one should be in 192.168.X.XX format (IPv4 address). So now it works fine and dandy!

Last edited by Phil Smith; 10-25-2018 at 05:40 PM.
Phil Smith is offline   Reply With Quote
Old 11-04-2018, 06:30 PM   #144
potjoe
Orbinaut
Default

Quote:
Originally Posted by Phil Smith View Post
 Hey guys!
after 4 years of not using external MFDs I'm back)

And ran into the trouble. I totally forgot how to set up vnc connections properly.
So what I do:
1) Launch the Orbiter 2016 scenario with vncmfd addon installed and enabled.
2) On the PC, via CMD -> ipconfig I get my local IP address (for example 192.168.XXX.X)
3) Open installed VNC viewer on my android device.
4) Create new connection with my local IP and port 5900 (192.168.XXX.X:5900)
5) Click connect...

.. and nothing happening, " the connection attempt timed out".

So please could you tell me what step do I miss or do wrong? :
Have you checked your firewall ? You need to add a rule for orbiter, allowing incoming and outgoing connections (both Orbiter.exe and orbiter_ng.exe) for the ports you setted up in the VNCMFD config file. No rule = no connection to other devices.
potjoe is offline   Reply With Quote
Old 11-04-2018, 06:48 PM   #145
potjoe
Orbinaut
Default

Hey ! You have to check your firewall as well and create rules of exceptions for orbiter.exe and orbiter_ng.exe to allow incoming and outgoing connections for these two programs in UCP and TCP, for the ports you'll be using according to VNCMFD config file.

Hope it can help.
potjoe is offline   Reply With Quote
Thanked by:
Old 11-07-2018, 11:58 AM   #146
Phil Smith
Donator
 
Phil Smith's Avatar
Default

Quote:
Originally Posted by potjoe View Post
 Hey ! You have to check your firewall as well and create rules of exceptions for orbiter.exe and orbiter_ng.exe to allow incoming and outgoing connections for these two programs in UCP and TCP, for the ports you'll be using according to VNCMFD config file.

Hope it can help.
Hey!

Thank you for help!
The issue was just my little mistake..)) I've typed wrong IP address and sure enough it didn't work. Simple as that..

Now it's all honky dory, and I've been testing some 4 tablet setup for simpit configuration.

One question is bothering me still - how to type targer name on a tablet screen? Cause now, when you press TGT button, the target input dialog box appears on the main screen
I know it's possible (see post #108 - https://www.orbiter-forum.com/showth...&postcount=108 ) but I dont know how to implement it.. As far I can see kamaz is absent for quite some time.. With this feature I could simply install some sort of Bluetooth keyboard (like in airbus for example - https://i.stack.imgur.com/rLdZ3.jpg ) to input Target name into a tablet using physical keys.

Cheers,
Phil

Last edited by Phil Smith; 11-07-2018 at 12:09 PM.
Phil Smith is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter Web Forum > Simpit Forum


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 10:54 AM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.