Jump to content
The simFlight Network Forums

problem with offsets


Recommended Posts

hello

i have just got one of Mr Leo Bondnars bu0836x i am using progect magenta and fsx

what i would like to ask is when i whant to assigine a switch via fsuipc for progect magenta and fs do i just use the function offset word set

as i have the offset from progectmagenta and the parameter or dose this depend on the length of the offset???

what i am trying to explane is i notice alot of functions in the window of fsuipc(contor sent when button pressed) like offset byet set and lots of others

witch i do not understand

sence i have the parameters and offsets of project magenta in witch funtion should i assigne my switches best in

hope i make sence

kind regards spiro

Link to comment
Share on other sites

what i would like to ask is when i whant to assigine a switch via fsuipc for progect magenta and fs do i just use the function offset word set

as i have the offset from progectmagenta and the parameter or dose this depend on the length of the offset???

It depends on the length and type of switch in PM. The Project Magenta offsets list will tell you length ( 1 = BYTE, 2 = WORD, 4 = DWORD) so that determines the "Offset Byte Set", "Offset Word Set" or "OFfset Dword Set" control to be used. But then a lot of switches are by changing individual bits, not complete values. For those you'd need to work out the bit value (bit 0 = 1, 1=2, 2=4 ...15=32768) and use "Offset Word Togglebits", (or "Setbits" or "Clearbits"), or the Byte or Dword versions of those.

Regards

Pete

Link to comment
Share on other sites

  • 2 weeks later...

hello Mr Dowson

sorry about the lat reply ok i understand how it works ok know

thank you very much it made me understad it much better :D :D

i am having some other problems with the axis assignment function

i assigine my flap lever in fsuipc axis assignment page ok all steps (flaps up,flaps1,flaps2,flaps3 and flaps down)

all ranges are ok and work perfectly fine with fs and PM no prob

but after some time with out me pressing any buttons or any levers the flaps move to full flaps by its self like a gost!! if i sightlly move the lever down a bit and then to flaps up

it gose to flaps up after some time again with out me moving anything it dose it again i belive this is a fs problem and not my axis assignment

i have changed 3 diffrent pots but the problem still is happening

kind regards spiro

Link to comment
Share on other sites

i am having some other problems with the axis assignment function

i assigine my flap lever in fsuipc axis assignment page ok all steps (flaps up,flaps1,flaps2,flaps3 and flaps down)

Using the range assignments on the right-hand side?

That is a rather complex and inflexible way of doing it. For flaps you can simply assign to the flaps axis, then calibrate in the Joysticks tab. You can optionally assign detentes and calibrate those too, but this is only really needed if you actually do have detentes on your lever. Otherwise you can fairly easily determine the position by visual feedback. That way you have the same facility on all aircraft no matter how many flap positions they have.

but after some time with out me pressing any buttons or any levers the flaps move to full flaps by its self like a gost!! if i sightlly move the lever down a bit and then to flaps up

it gose to flaps up after some time again with out me moving anything it dose it again i belive this is a fs problem and not my axis assignment

Without seeing exactly what you've done (the [Axes] and [JoystickCalibrations] sections of the INI file) I couldn't really guess what is going on. Normally such things are down to jitter on the axis or possibly a bad connection. Logging the axes would tell you.

i have changed 3 diffrent pots but the problem still is happening

Jitter without lever movement is more likely due to voltage variations or bad (dry) joints or cabling. You could try using the Filtering option in the calibration tab, but of course if you are not using the flaps axis control, but assigning to ranges, you cannot use that.

Regards

Pete

Link to comment
Share on other sites

Hello Mr Dowson

Using the range assignments on the right-hand side?

yes that is correct i ajustst the range for each postion

i do have dents on my flap lever but i can to calibrati it via the [joystick calibration] page it withh not change all the positions when i prees the set button

this is what i think is the INI file you asked about the joystick calibration

[JoystickCalibration]

AllowSuppressForPFCquad=Yes

ExcludeThrottleSet=Yes

ExcludeMixtureSet=Yes

ExcludePropPitchSet=Yes

SepRevsJetsOnly=No

ApplyHeloTrim=No

FlapsSetControl=0

FlapDetents=No

ReverserControl=66292

Reverser1Control=66422

Reverser2Control=66425

Reverser3Control=66428

Reverser4Control=66431

MaxThrottleForReverser=256

AileronTrimControl=66731

RudderTrimControl=66732

CowlFlaps1Control=66162

CowlFlaps2Control=66163

CowlFlaps3Control=66164

CowlFlaps4Control=66165

SteeringTillerControl=0

MaxSteerSpeed=60

UseAxisControlsForNRZ=No

LeftBrake=-7039,7040

RightBrake=-7039,7040

Flaps=-16143,-12356

[ClientNames]

1=SPIROS-PC

2=CLIENT1

[Axes]

0=0U,256,D,23,0,0,0

1=0U,B,-16375,-16007,65595,0

2=0U,B,-15607,-15575,65597,0

3=0U,B,-15078,-14534,65599,0

4=0U,B,-14045,-13405,65601,0

5=0U,BR,-12884,-12460,65603,0

6=0V,256

7=0V,BR,13560,14872,66065,0

8=0V,B,11472,13096,66064,0

9=2X,256,F,65698,0,0,0

10=2Y,1,D,23,0,0,0

11=3U,8

12=3U,B,-12260,-12180,65595,0

13=3U,B,-12204,-12172,65597,0

14=3U,B,-12940,-12316,65599,0

15=3U,B,-15222,-14606,65601,0

16=3U,B,-8456,-7671,65603,0

17=3T,256,D,23,0,0,0

kind regards spiro

Link to comment
Share on other sites

i do have dents on my flap lever but i can to calibrati it via the [joystick calibration] page it withh not change all the positions when i prees the set button

There's a facility in the Flaps calibration page to calibrate the range for each detente. It is specifically designed to do what you have done, but much more easily and reliably. There's a complete section about it in the User guide, entitled "Calibrating flaps with specific détentes", and it is listed in the contents at the front, so I don't know how you missed it! :-(

Flaps=-16143,-12356

...

0=0U,256,D,23,0,0,0

1=0U,B,-16375,-16007,65595,0

2=0U,B,-15607,-15575,65597,0

3=0U,B,-15078,-14534,65599,0

4=0U,B,-14045,-13405,65601,0

5=0U,BR,-12884,-12460,65603,0

You have assigned the axis to flaps, so the axis is trying to control the flaps directly, and you have also assigned specific FS controls to specific ranges!

Those two things will certainly conflict! I'm surprised it works at all! :-(

Either do one thing or the other, NOT both! You either treat it as an axis and calibrate it properly, with detentes if you like, OR you treat it as a set of switches, as in the right-hand side of the axis assignments! By doing both it is conflicting, and this certainly explains your problems! The axis assignment will send axis controls to move the flaps and the control assignments will send different ones.

There's something wrong in any case if you are only getting a range from -16143 to -12356. Have you checked the Windows' game controllers? A more normal range would be -16000 ot more to +16000 or more. Most USB axes give at least -8000 to +8000. You seem to have very little measurement on your axis.

Regards

Pete

Link to comment
Share on other sites

Hello Mr Dowson

Yes i thought i had mixed it all up :oops: :oops: :oops:

i will clear all assigments ans start fresh tonight

i had not calibrated the pot via windows joystick calibration :oops: :oops:

my pot is working ok from -16350 to 16350 in the range i whant it to

i will try the easy way as you explaned via the joystick calibration in fsuipc with dt feture

thank you very much

regards spiro

Link to comment
Share on other sites

Hello Mr Dowson

i cleard all assigments and started from scratch like this

1, [AXIS ASSIGNMENT] i move the lever so it becomes activated in the center boxes in/out -16350 to 16350

2, in the left colume of the axis assignment i select:

[Type of action required]

[ send direct to FSUIPC calibration]

then i tick the first box and select [FLAPS]

3, i then go to [JOYSTICK CALIBRATION]

4, i go to page 6 FLAPS(direct) and calibrate as said in the FSUIPC users PDF manuel

i get the fap movement ok with no problem but i am still getting the gost movement, as i have flaps up with out me moving or pressing anything

the flaps go to full by them selfs it could be a hardwere problem here is the ini file once more just to see if i have the calibration and softwere part ok

[JoystickCalibration]

AllowSuppressForPFCquad=Yes

ExcludeThrottleSet=Yes

ExcludeMixtureSet=Yes

ExcludePropPitchSet=Yes

SepRevsJetsOnly=No

ApplyHeloTrim=No

FlapsSetControl=0

FlapDetents=Yes

ReverserControl=66292

Reverser1Control=66422

Reverser2Control=66425

Reverser3Control=66428

Reverser4Control=66431

MaxThrottleForReverser=256

AileronTrimControl=66731

RudderTrimControl=66732

CowlFlaps1Control=66162

CowlFlaps2Control=66163

CowlFlaps3Control=66164

CowlFlaps4Control=66165

SteeringTillerControl=0

MaxSteerSpeed=60

UseAxisControlsForNRZ=No

LeftBrake=-7039,7040

RightBrake=-7039,7040

FlapStarts=-16384,-12982,-2846,2021,14570

FlapEnds=-15203,-3471,1393,11921,16384

Flaps=0,16380/24

[ClientNames]

1=SPIROS-PC

2=CLIENT1

[Axes]

0=0U,256,D,23,0,0,0

1=0V,256

2=0V,BR,13560,14872,66065,0

3=0V,B,11472,13096,66064,0

4=2X,256,F,65698,0,0,0

5=2Y,1,D,23,0,0,0

6=3U,8

7=3U,B,-12260,-12180,65595,0

8=3U,B,-12204,-12172,65597,0

9=3U,B,-12940,-12316,65599,0

10=3U,B,-15222,-14606,65601,0

11=3U,B,-8456,-7671,65603,0

12=3S,256,D,23,0,0,0

13=3T,256,D,23,0,0,0

kind regards spiro

Link to comment
Share on other sites

i get the fap movement ok with no problem but i am still getting the gost movement, as i have flaps up with out me moving or pressing anything

the flaps go to full by them selfs it could be a hardwere problem here is the ini file once more just to see if i have the calibration and softwere part ok

The most usual cause of this is multiple assignment, and there they all are, clearly shown in your INI:

[Axes]

0=0U,256,D,23,0,0,0

1=0V,256

2=0V,BR,13560,14872,66065,0

3=0V,B,11472,13096,66064,0

4=2X,256,F,65698,0,0,0

5=2Y,1,D,23,0,0,0

6=3U,8

7=3U,B,-12260,-12180,65595,0

8=3U,B,-12204,-12172,65597,0

9=3U,B,-12940,-12316,65599,0

10=3U,B,-15222,-14606,65601,0

11=3U,B,-8456,-7671,65603,0

12=3S,256,D,23,0,0,0

13=3T,256,D,23,0,0,0

You see (the red parts) that you have no less than FOUR separate axes actually assigned to the FSUIPC Flaps facility (internal 23) -- 0 U, 2 Y, 3 S and 3 T! The ones you don't want will provide your "ghost" inputs even if the devices are not connected -- not connected looks like zero which will be the same as full flaps (as the lever movement is reversed for flaps, the lever nearer to you for full).

Additionally, see the Green highlighted lines? You have axis 3U sending specific Flaps Up/1/2/3/down commands using the range system in axis assignments too, and 2X sending the FS axis control "FLAPS SET"! No wonder you have odd things going on!

In fact, of the 7 axes you are assigning in FSUIPC, 6 (SIX!) are assigned for flaps operations of one sort or another, and the other, oddly, is assigned by range to do "Spoilers On" and "Off"! Why? Why not assign to the spoilers axis and calibrate as usual to give you a full range of spoiler/speed brake movement?

I don't understand how you are getting yourself into such a weird mess. It is a first for me. You seem to be making things really complicated for yourself. If you were really set on "starting over" as you said you should think about deleting the whole lot from the INI file and doing it all properly.

Okay?

Regards

Pete

Link to comment
Share on other sites

Hello Mr Dowson

i deleted all axes from the INI file and and just assigined it via the options page in fs as it was a simple joystick

and it is working 100% with no gost!!!!! :D

with out doing anything in the FSUIPC page

i got it so messed up as my first misstake mas i did not calibrate the pots with windows calibration program

so when i was going to the option page in fs and trying to assigine the lever fs could not detect it but in FSUIPC axis assignment it was detected!!

thats were i whent wrong and also i did not delet anything from the INI page ever and atempting so many diffrent things it was very messed up

i feel a bit stupid messing somthimg so easy up so much :cry:

thank you very much for you time and help

kind regards spiro

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.