Jump to content
The simFlight Network Forums

UIPC_SDK_PYTHON needing help with basic read() write()


Recommended Posts

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.