Jump to content
The simFlight Network Forums

problem with pause


W4rl0ck
 Share

Recommended Posts

Hi,

I have a problem with reading / writing pause, and it also happens in the example app.

On the Page BC004 Writing to offset I can enable disable the pause in FS X .. but if I press p in the simulator it enables the pause and instantly disables the pause again.

it works when I go to a different page in the example app.

I guess the problem is that `FSUIPCConnection.Process();` writes the "disable pause" offset on every call when it's defined and since it's write only it does not take the simulator state into consideration

Bastian

Link to comment
Share on other sites

Hi Bastian,

This is a bug in the sample application. The pause should not be declared as write-only. It works fine if you take that out.

In your own application you can make it a normal read/write offset. Or if you just want to control the pause you can make it write-only, but you should put it in a group so you can process() it only when you need to send the pause state.

I'll fix the problem in the next version of the example code application.

Paul

Link to comment
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...
 Share

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