Search the Community
Showing results for tags 'python'.
Found 4 results
Hello, I've been hunting around the web all evening trying to find an answer but I'm not getting so far. I'm looking at developing an application with node.js which will need to be fed live data from FSX. I've looked through a few of the examples in the SDK, in various languages but I just want to see if any one knows if any of the following exist before I have to hack something together: Program that will save flight data to a JSON or XML file, and update on a set interval A server that can allow access to live data via an API. If you've seen PWFServer I mean something like that, but it documentation for accessing the data Node.js app which uses a C or Python as a bridge to FSUIPC I realise what I'm asking might be a little ambiguous but any help or pointers would be great. Thanks!
Hello Guys, I would like to use FSUIPC with Python 3.X Can please anyone help to do this? The SDK is for Python 2.7 and win32. Is there any chance to compile the module for Python 3.5 and amd64? Is there another way to geht the pyuipc module for Pyhon 3.X? Where should I start? Is there anythind out which does this? Thank you very much, Andreas
Hi There, while trying to write into the COM1 standby frequency (Offset 0x311A) i'm running into a problem. If i switch to frequency 120.000 inside the simulator, the reading is ok. But if i write back that same value and read again, i'm getting a different result. >>> pyuipc.open(pyuipc.SIM_FSX) >>> dat = pyuipc.prepare_data([(0x311A, 2)]) >>> pyuipc.read(dat) ['\x00 '] >>> pyuipc.write(dat, ['\x00 ']) >>> pyuipc.read(dat) ['\x00\x00'] Is this behaviour know? Also, is it possible, that the '\x00' terminates the string? I'm using the python sdk: UIPC_SDK_Python thanks for your time, Matthias
I made a server using the python and the fsuipc_sdk_python and I'm able to connect to fsuipc and get the basic variables (fs_version, etc.) I am stumped though at getting the pyuipc.read() to function correctly it throws a pyuipc.FSUIPCException. So I guess I'm close but the syntax is probably goofing me up. The documentation isn't very in depth for the pyuipc module (at least for a newby like me). If I have it correct I'm wanting to read from the 0x0d0c. A short snippet of code to show me a read would help a great deal. At this point I'm really just trying to operate my lights on FSX PS. I'm a newby to this so I guess it's the syntax of prepare_data() and