Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I'm stumped - again! I've programmed one of my knobs on a FoGlight RP48 to increase/decrease the IAS "hold" on the autopilot. I can increase it, but I can't seem to find anything that will decrease it.

Here are my "buttons" for the LearJet 45:

[buttons.Learjet 45 Limited Edition]

0=CP(+2,0)2,6,C66080,0

1=CP(+2,0)2,7,C66079,0

2=P2,4,C65759,0

3=P2,5,C65758,0

4=R2,2,C65607,0

5=R2,3,C65615,0

6=CR(-2,0)(-2,1)2,6,C65771,0

7=CR(-2,0)(-2,1)2,7,C65769,0

8=CR(-2,0)(-2,1)2,8,C65777,0

9=CR(-2,0)(-2,1)2,9,C65775,0

10=CP(+2,1)2,6,K50,9

11=CP(+2,1)2,7,K51,9

12=CP(+2,1)2,8,K52,9

13=CP(+2,1)2,9,K53,9

14=P175,20,C1020,0

15=P175,21,C1020,0

16=P175,23,C65896,0

17=P175,22,C65896,0

18=P175,8,C65893,0

19=P175,9,C65893,0

20=P175,10,C65892,0

21=P175,11,C65892,0

22=P175,12,C65895,0

23=P175,13,C65895,0

24=P175,15,C65894,0

25=P175,14,C65894,0

Buttons 20 and 21 are supposed to decrease the IAS values. I also tried using C65897. Neither option seems to work.

I can use the knob to increase the numbers, but not decrease. I know the knob works properly, because I was using it for something else prior to this arrangement, and it worked properly. But I can't get it to work here.

Art

Posted

I've programmed one of my knobs on a FoGlight RP48 to increase/decrease the IAS "hold" on the autopilot. I can increase it, but I can't seem to find anything that will decrease it.

Both AP SPD VAR DEC and FSUIPC's own added AP SPD VAR DEC FAST both work fine and consistently here. Really there's no difference to the INC versions except they call a decrementing function instead. They won't decrease below zero of course.

Test them out on a default aircraft, and maybe with Key press programming first. Also try other buttons to cross-check. I assure you that the controls themselves are fine.

BTW you are not programming these by hand, in the INI file, are you? There's really no need to show me the INI file bits unless you are. Best to use the FS options dialogue for simple (non-Conditional) assignments.

Regards,

Pete

Posted

Well, the LearJet 45 *is* a default aircraft! At any rate....

I initially set the knob function from the dialog box. It didn't seem to work, so I tried it by putting the code directly in the .ini file. The first attempt was with standard FS control codes. Then I noticed the "fast" commands (1020 in this case) and tried that. Zilch!

What's puzzling is that when I find it doesn't work, I open up the FSUIPC dialog box, turn the knob to the left (for both buttons 20 and 21) and FSUIPC tells me correctly what the "buttons" do, but they just won't do it!

I'll try it in something like the default B737, B747 etc.

Obviously, I can "move" the numbers with the mouse, but I'm trying to pretend I'm in the cockpit!

Thanks, Pete. I'll keep playing with it. I *know* it should work!

Art

Posted
Well, the LearJet 45 *is* a default aircraft! At any rate....

Ah, sorry, didn't read carefully enough. I'll go try it in the Learjet.

[Later]

They work perfectly in the Learjet too.

What's puzzling is that when I find it doesn't work, I open up the FSUIPC dialog box, turn the knob to the left (for both buttons 20 and 21) and FSUIPC tells me correctly what the "buttons" do, but they just won't do it!

Please try some other buttons too. It seems most odd. Are you sure the RP48 is not also programmed in the GoFlight driver and maybe there are conflicting controls?

Also can you remind me what version of FSUIPC you are using please? If it is 3.30 or later you can get some more information as follows:

Edit the FSUIPC.INI file and add the lines

Debug=Please

LogExtras=2

into the [General] section. (Replace the LogExtras line if there's one there already). Then, when you press the buttons/turn the knobs you'll get entries in the log like this (the important bits are "FS Control Sent". The lines with bRes=2 are Press, bRes=1 Release -- it'll be a little different with GoFlight I expect. sorry, my GoFlight stuff isn't connected at present):

    71704 [DNSCAN] J0.1, B2, bRes=2, Flags=01, ulValue=65896[0x00010168], lParam=0, TimeNow=20868625, TimeLast=0
    71704 FS Control Sent: Ctrl=65896, Param=0
    71985 [DNSCAN] J0.1, B2, bRes=1, Flags=01, ulValue=65896[0x00010168], lParam=0, TimeNow=20868906, TimeLast=20868625

    73454 [DNSCAN] J0.1, B0, bRes=2, Flags=01, ulValue=65897[0x00010169], lParam=0, TimeNow=20870375, TimeLast=20869703
    73454 FS Control Sent: Ctrl=65897, Param=0
    73735 [DNSCAN] J0.1, B0, bRes=1, Flags=01, ulValue=65897[0x00010169], lParam=0, TimeNow=20870656, TimeLast=20870375

    82110 [DNSCAN] J0.1, B3, bRes=2, Flags=01, ulValue=1021[0x000003FD], lParam=0, TimeNow=20879031, TimeLast=20871312
    82110 FSUIPC Control Action: Ctrl=1021, Param=0
    82360 [DNSCAN] J0.1, B3, bRes=1, Flags=01, ulValue=1021[0x000003FD], lParam=0, TimeNow=20879281, TimeLast=20879031

    83594 [DNSCAN] J0.1, B1, bRes=2, Flags=01, ulValue=1020[0x000003FC], lParam=0, TimeNow=20880515, TimeLast=20879968
    83594 FSUIPC Control Action: Ctrl=1020, Param=0
    83844 [DNSCAN] J0.1, B1, bRes=1, Flags=01, ulValue=1020[0x000003FC], lParam=0, TimeNow=20880765, TimeLast=20880515

Regards,

Pete

Posted

Whoa! That's a lot of information. My circuits are all overloaded! Just kidding! I found the problem.

Yes, the functions work just fine. There's apparently a small bug in my RP48. That knob I was using works fine with the FGConfig programming, but becomes balky trying to do what I was doing the IAS speed control.

As a test, which I should have thought of before, I went to a different default aircraft, but the same knob and experienced the same failure. Then, I changed knobs. Success! Indications are that the *other* knob has a minor defect. So I changed the knob functions accordingly and all is well.

I should have thought of the above testing technique first, but I was accidentally deluded into thinking the button was functioning perfectly.

The reason for all the progamming difficulties was that I purchased a couple more GoFlight modules (I now have four of them). From a cost perspective, they are just about comparably priced to the Elite AP2000 I was using, and the GoFlight offers (thanks to their own programming and your FSUIPC module) significantly more flexibility. There are only about ten or twelve buttons on the AP2000 that are progammable and that's only with their software. By contrast, the four GoFlight modules and my joystick have given me something on the order of 50+ buttons!

Great stuff. I'll go back and muck something else up now! Thanks again for your wonderful support.

Art

Posted

There's apparently a small bug in my RP48. That knob I was using works fine with the FGConfig programming, but becomes balky trying to do what I was doing the IAS speed control.

Strange! I'd report that to Goflight if I were you. Maybe it's a known defect easy to fix, but whatever, they ought to know about the ways their hardware can go wrong.

Good flying!

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.