-bin/yabb2/YaBB.pl?num=1247081547Re: Interfacing with Flight simulator XReply #5 - 11.02.2010 at 21:56:41 Hello,the fastests and simplest way is to use fsuipc (just google for it).It's a library which interfaces to FSX in order to read and write nearly every value from airplane and environment: autopilot, heading, speed, etc etc etc...I was thinking about doing some stuff on this way, and it looks to be really easy.The hardest way is to think what do you want: a simple heading/speed/autopilot/lights module ? Or a full A380 cabine ?Using fsuipc is very easy: just read any value you want and send it to arduino via serial interface (may be you use 7 segment or LCD), or read any button/switch change and send to FSX.I hope this information help you!
more importantlyUsing fsuipc is very easy: just read any value you want and send it to arduino via serial interface (may be you use 7 segment or LCD), or read any button/switch change and send to FSX.
GPSGate has the ability to use "virtual serial ports" for input, which would obviate the need for MixW/Eltima VSPD. IOW, In GPSGate, you create a virtual serial port for its input, and then you can call out that serial port from GPSOut, and GPSGate should be able to read the input directly because you can attach multiple "devices" to a virtual serial port. Unfortunately, in my experience GPSOut doesn't seem to recognize the virtual serial ports created by GPSGate. Another GPSOut-like utility called XConn ( -downutility.asp#Ubi) does, but it only works with FSX.
For instance, I would create a virtual serial port in GPSGate like COM19 as the input, and then set Port=COM19 in FSUIPC4.ini. So far, GPSGate has not received a signal when I've tried that. I know it works though, because if I use XConn, I'll get a connection in GPSGate.
-- Open Seial Port and connect to Arduinospeed = 115200handshake = 0serial_wait = 100inited = 0states = dev = com.open("COM6", speed, handshake) -- Change Port Number for your Arduinoif dev == 0 thenipc.display("Could not open device port")ipc.exit()end
When purchasing the license, please provide the serial number of your TQ.This number is displayed in the CFY Console.Your TQ will be activated within 2 days of purchasing the license.You will then receive a download link.