Search found 47 matches: simulator

Return to advanced search

Re: Connection to XPlane Flight Simulator

Good morning, What I have programmed serves to create an external application, in this case in Fivewin, to control what is happening inside the simulator from another computer. The simulator usually has one or several dedicated computers. A typical application is to create an instructor console, ...
by alvaro533
Thu Jun 08, 2023 10:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Re: Connection to XPlane Flight Simulator

Estimado Alvaro,

Muchas gracias por compartirlo.

Podrias publicar aqui algunas capturas de pantalla para que veamos como se ve la aplicación ?
Basicamente lo que tu has programado que utilidad tiene ?

gracias nuevamente
by Antonio Linares
Thu Jun 08, 2023 5:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Re: Connection to XPlane Flight Simulator

Thanks Alvaro
I try and comment
by cnavarro
Wed Jun 07, 2023 9:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Re: Connection to XPlane Flight Simulator

Hi, I forgot, you have to Include this file “xplaneConnect.h” that I have also modified //Copyright (c) 2013-2018 United States Government as represented by the Administrator of the//National Aeronautics and Space Administration. All Rights Reserved.////DISCLAIMERS//    No Warranty: THE SUBJECT SOFT...
by alvaro533
Wed Jun 07, 2023 8:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Re: Connection to XPlane Flight Simulator

I made this program to connect Fivewin to the flight simulator “X-Plane” This could be used to develop an external program for: virtual instructor, flight recording, flight analyzer, moving map, instructor console, and other applications. The simulator ...
by alvaro533
Wed Jun 07, 2023 8:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Re: Connection to XPlane Flight Simulator

alvaro533 wrote:Thanks again Antonio

If there is some interest I will write a short tutorial and upload the code.

Regards

Alvaro

Yes, thanks
by cnavarro
Mon Jun 05, 2023 4:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Re: Connection to XPlane Flight Simulator

Thanks again Antonio

If there is some interest I will write a short tutorial and upload the code.

Regards

Alvaro
by alvaro533
Mon Jun 05, 2023 1:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Re: Connection to XPlane Flight Simulator

sock.port = hb_parvni( 1, 1 );
strcpy( sock.xpIP , hb_parvc( 1, 2 ) ) ;
sock.xpPort = hb_parvni( 1, 3 );
sock.sock = hb_parvni( 1, 4 );
by Antonio Linares
Mon Jun 05, 2023 11:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Re: Connection to XPlane Flight Simulator

Hola Antonio, Thanks a lot for your help. Everything is working know. I can read and write data from the simulator. I will upload the code when it is finish, just in case someone wants to program de X-Plane simulator. One last question: I have an array in Fivewin like this ...
by alvaro533
Mon Jun 05, 2023 11:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Re: Connection to XPlane Flight Simulator

Estimado Alvaro, Las funciones en C no se pueden llamar directamente desde Harbour, sino que hay que usar lo que se denomina "el sistema extendido": despues de todos los includes inciales añade este: #include <hbapi.h> XPCSocket openUDP(const char *xpIP){    return aopen...
by Antonio Linares
Mon Jun 05, 2023 6:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Re: Connection to XPlane Flight Simulator

Muchas gracias Antonio,

Ahora me da este error

Code: Select all  Expand view
Error: Unresolved external '_HB_FUN_OPENUDP' referenced from C:\......


Cuando llamo a la función en C "openUDP"

Gracias.
by alvaro533
Sun Jun 04, 2023 6:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Re: Connection to XPlane Flight Simulator

Dear Alvaro, C language does not allow to declare variables after code, in example: (for error in line 106) XPCSocket aopenUDP(const char *xpIP, unsigned short xpPort, unsigned short port){    XPCSocket sock;    // Setup Port    struct sockaddr_in recvaddr;...
by Antonio Linares
Sun Jun 04, 2023 3:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Connection to XPlane Flight Simulator

Good evening, I’m trying to use a SDK, from XplaneConnect (NASA), to connect an external app to the X-Plane flight simulator. The C program in the SDK is as follows: #pragma BEGINDUMP//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the//National ...
by alvaro533
Sun Jun 04, 2023 12:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Connection to XPlane Flight Simulator
Replies: 13
Views: 974

Re: How to build Harbour for iOS (and simulator)

For iOS simulator: https://bitbucket.org/fivetech/harbour-xharbour-builds/downloads/harbour_ios_simulator_20160401.zip To build it: git clone https://github.com/harbour/core.git harbour_iossim iossim.sh (remember to ...
by Antonio Linares
Thu Apr 07, 2016 3:54 pm
 
Forum: Utilities / Utilidades
Topic: How to build Harbour for iOS (and simulator)
Replies: 1
Views: 827
Next

Return to advanced search