Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello,

 

I'm having some problems with the FSUIPC slew offsets.

For testing, I'm using FSUIPC 4.936 on Prepar3d 2.2.10438.0

 

What I'd like to achieve:

Slew the aircraft through FSUIPC offsets, while ignoring any slew axes assignments that might be configured.

 

The first problem is slew mode de-activation.

To active slew, I write a 1 to 0x5dc. This successfully enables slew mode. When I want to exit slew mode, I write a 0 to the same offset. This however, does not deactive slew mode. In Prepar3d, the red "SLEW" indicator is still flashing, although the FSUIPC monitor confirms 0x5dc is 0. Only pressing the 'Y' key gets me out of slew mode.

 

The second problem:

I've tried disabling the configured slew axes by setting three values at the same time:

0x5dc to 1 to enable slew,

0x5de to 1 to disable slew axes

0x310b to 255 to mark all axes for disabling

 

From what I read in the manual, this would disconnect the axes, leaving offsets like 0x5eb and 0x5ed available for me to control the actual slew rate. When setting slew up as above however, all slew control seems to be disabled, and 0x5eb and 0x5ed can no longer control the slew rate.

If I don't write to 0x5de and 0x310b when enabling slew, the forward/side offsets do work and allow slew control, but joystick input isn't disabled and can interfere with slew control.

 

Is there a fix for this?

 

Many thanks,

 

Marty

Posted

I'm having some problems with the FSUIPC slew offsets.

For testing, I'm using FSUIPC 4.936 on Prepar3d 2.2.10438.0

 

What I'd like to achieve:

Slew the aircraft through FSUIPC offsets, while ignoring any slew axes assignments that might be configured.

 

The first problem is slew mode de-activation.

To active slew, I write a 1 to 0x5dc. This successfully enables slew mode. When I want to exit slew mode, I write a 0 to the same offset. This however, does not deactive slew mode. In Prepar3d, the red "SLEW" indicator is still flashing, although the FSUIPC monitor confirms 0x5dc is 0. Only pressing the 'Y' key gets me out of slew mode.

 

All writing to 05DC does is cause FSUIPC to send "Slew on" or "Slew off" controls, but only if the value written is different from the last read. And it works fine here with P3D 2.3 -- I just tested it. Use FSUIPC's event logging to see what is going on. I think you must be doing something wrong.

 

"Y" uses Slew toggle controls. That's the only difference.

 

The second problem:

I've tried disabling the configured slew axes by setting three values at the same time:

0x5dc to 1 to enable slew,

0x5de to 1 to disable slew axes

0x310b to 255 to mark all axes for disabling

 

From what I read in the manual, this would disconnect the axes, leaving offsets like 0x5eb and 0x5ed available for me to control the actual slew rate. When setting slew up as above however, all slew control seems to be disabled, and 0x5eb and 0x5ed can no longer control the slew rate.

If I don't write to 0x5de and 0x310b when enabling slew, the forward/side offsets do work and allow slew control, but joystick input isn't disabled and can interfere with slew control.

 

Actually 05DE does nothing in FSUIPC4 --it's actually removed from the offsets list. The remaining reference, in the 05DC slot, is an error.

 

Offsets 05E4 to 05EF all result only is Axis slew events being sent, just like the real axes, and as far as the 310B offset is concerned, the result is indistinguishable. They simply look like inputs from the axes you want to suppress. But there should not be a real problem. Provided your real axes are not changing their values will be ignored. Just set zeroes to the 05E4-05EE offsets first then set slew mode.

 

Pete

Posted

Thanks for the help. The slew de-activation problem was caused by me writing to the offset as 1 byte instead of 2. This works when turning on but not when turning off. 

 

Unfortunately. writing 0 to all of the movement offsets won't stop the axes from being set to some value if the axes was configured in Prepar3d/FSX instead of FSUIPC. FS has a nasty habit of randomly assigning every joystick in the system to some axis, so you will often find throttles or bodnar cards being configured on Slew axes without the user knowing it. Enabling slew when than result in immediate wild spinning. I guess it's best to just make sure that all the slew axes are cleared to prevent this.

 

Thanks,

 

Marty

Posted

Unfortunately. writing 0 to all of the movement offsets won't stop the axes from being set to some value if the axes was configured in Prepar3d/FSX instead of FSUIPC. FS has a nasty habit of randomly assigning every joystick in the system to some axis, so you will often find throttles or bodnar cards being configured on Slew axes without the user knowing it. Enabling slew when than result in immediate wild spinning. I guess it's best to just make sure that all the slew axes are cleared to prevent this.

 

Sorry. FSUIPC really only handles axes fully if they are assigned in FSUIPC. If you disable controllers in P3D they should remain dfisabled?

 

Pete

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.