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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • 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.