Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I am having trouble programing the autopilot rotary knob that controls airspeed, heading and altitude. My issue is setting up the compound assignment.  FSUIPC is showing the event in the log but nothing is happening in the simulator. 

Posted

What aircraft are you using? Can you please show me / attach your FSUIPC7.log and FSUIPC7.ini files. As a new forum user, you will have a low upload limit, so you may need to compress/zip the files, or use a file-sharing service. Your upload limit will increase the more you post.

John

 

Posted

Good morning, 

I am using Fsuipc6 in P3Dv5 simulator. My plane is the PMDG737 NGXu.  Thank you for responding, I will send my files shortly. 

Posted

John,

Here is a copy of my ini and log file. My ini file is really jacked up because I have been attempting to program and just left it like it was last night.  I am also going to try and send you of the throttle quadrant showing the knob in question. Thank you again for your assistance.

 

Rick

FSUIPC6.zip FSUIPC6 (3).zip

Posted
1 minute ago, RHoyler said:

I am also going to try and send you of the throttle quadrant showing the knob in question.

No need. A knob us just a collection of buttons (usually either 1 or 2 in each direction) or an axis. From your ini, your knobs use buttons.

Please see my previous reply. You have assigned to the standard FS controls. For PMDG aircraft, use the custom controls.
Try logging events (with the logging console open) and turn the knob/knobs you want to replicate. You should see Rotor Brake controls logged with the parameter indicating the function and mouse control applied. You can also use/assign to these - to use the PMDG custom controls via the Rotor Brake control, see 

That is deprecated as the other method (via custom control numbers) is preferred, but it is still valid and maybe easier to use for inc/dec assignments (which usually correspond to left/right mouse-clicks on the VC control).

John

Posted

Hey John,

I wanted to drop you a note to say thank you for pointing me in the right direction to get my throttle quadrant knob programmed.  It works great. 

Thank you

Rick Hoyler 

On 11/8/2024 at 9:08 AM, RHoyler said:

John,

Here is a copy of my ini and log file. My ini file is really jacked up because I have been attempting to program and just left it like it was last night.  I am also going to try and send you of the throttle quadrant showing the knob in question. Thank you again for your assistance.

 

Rick

FSUIPC6.zip 1.95 kB · 0 downloads FSUIPC6 (3).zip 1008 B · 0 downloads

Good morning, 

I am using Fsuipc6 in P3Dv5 simulator. My plane is the PMDG737 NGXu.  Thank you for responding, I will send my files shortly. 

  • 1 month later...
Posted

Hi Pete. In case of healthproblems I have been away a few years from the Flightsimulator and now I am back. I had sold all my stuff, cause it was not clear, what happened to me. And so I have not one byte of data from my old computer, which is gone, where all my collected knowledge was stored. And time has gone and I forgot all my knowledge I had and now I try to get in again. I still use P3D 4.5 and work with FSUIPC 5. And I was seraching for the solution of the Thrustmaster Boeingthrottle problem, which is described here. I bought it used via Ebay.
Due to the fact, that my English is quite rusty (I need a lot of time to formulate the sentences and the same time to understand, what is written here), I am not really able to understand all the information in this thread, to solve the problem, the fellow had, too.
I do understand, that I need the custom Controls for operating the upper knob on the rotary switch and the rotary switch itself, but I can not find the solution, how to progam them via FSUIPC.
What I did is to log the events. And the log shows me following information:

FirstButtonChange res=0000010F (0.1, 15)  - It`s the result to turn the "Sel knob" to the right.
FirstButtonChange res=0000010E (0.1, 14)  - It`s the result to turn the "Sel knob" to the left.

If I turn the "Rotary switch" iteself to select the IAS/Mach, the HDG/TRK and the Altitude, it shows the following results:
FirstButtonChange res=0000010B (0.1, 11) - It`s the result to turn the "rotary switch" to IAS/Mach.
FirstButtonChange res=0000010C (0.1, 12) - It`s the result to turn the "rotary switch" to HDG/TRK.
FirstButtonChange res=0000010D (0.1, 13) - It`s the result to turn the "rotary switch" to Altitude.

If I push the "Sel-knob" it shows the following result:

FirstButtonChange res=00000110 (0.1, 16)

I understand, that the last numbers from 11 to 16 are the numbers of the buttons, cause they all are representing just a push of a button.
I think, that the numbers 0 and 1 are representing the states 0 for off and 1 for on, in case of the fact, that a switch or button can only have this two states.
I assume, that the line of numbers with the B,C and D at the end of the long number must be hexadecimal numbers.

I calculated from the PMDG SDK the numbers I needed to trigger the right operations. For example the 70022 for the headingselector (calculated by adding the basicnumber 69632 and the 390 for the Headingselector in the MCP Section of the SDK Data).

But here are my problems, I have no idea, how to combinate my knowledge to make the "rotary knob" and "the sel knob" work proper by programming in FSIUPC.

For example: I open FSUIPC and go to the Button/Switches menu. Within I switch the rotarybutton to HDG/TRK and it shows me the Joy 1, button 12. In the "Control send" I choose "Custom control" and put in the mask my calculated 70022. And now my struggeling begins. What value to put in the parametersection? 0 or 1 do not work, and if I put the value for the left mousebutton "536870912" it only changes the indicator one time and turning the sel knob does not work, in case of the fact, that I am not able to program it for three different selectors.

I think, that I am totally on the wrong road, cause I can not imagine, how to combinate those things. 

So I need advice to solve my problem.
Thanks for the helping hand.




 

Posted
1 hour ago, simnutzer1962 said:

I do understand, that I need the custom Controls for operating the upper knob on the rotary switch and the rotary switch itself, but I can not find the solution, how to progam them via FSUIPC.

To use PMDG custom controls via FSUIPC, please see those 2 FAQ entries. All the information you need is there - I am not going to explain that again here...

1 hour ago, simnutzer1962 said:

What I did is to log the events. And the log shows me following information:

FirstButtonChange res=0000010F (0.1, 15)  - It`s the result to turn the "Sel knob" to the right.
FirstButtonChange res=0000010E (0.1, 14)  - It`s the result to turn the "Sel knob" to the left.

If I turn the "Rotary switch" iteself to select the IAS/Mach, the HDG/TRK and the Altitude, it shows the following results:
FirstButtonChange res=0000010B (0.1, 11) - It`s the result to turn the "rotary switch" to IAS/Mach.
FirstButtonChange res=0000010C (0.1, 12) - It`s the result to turn the "rotary switch" to HDG/TRK.
FirstButtonChange res=0000010D (0.1, 13) - It`s the result to turn the "rotary switch" to Altitude.

If I push the "Sel-knob" it shows the following result:

FirstButtonChange res=00000110 (0.1, 16)

Why are you doing this? Just open up the button assignments panel, turn your rotary or press a button, and the button should be registered and you assign the custom control. You don't need logging.

1 hour ago, simnutzer1962 said:

For example: I open FSUIPC and go to the Button/Switches menu. Within I switch the rotarybutton to HDG/TRK and it shows me the Joy 1, button 12. In the "Control send" I choose "Custom control" and put in the mask my calculated 70022. And now my struggeling begins. What value to put in the parametersection? 0 or 1 do not work, and if I put the value for the left mousebutton "536870912" it only changes the indicator one time and turning the sel knob does not work, in case of the fact, that I am not able to program it for three different selectors.

This is correct. The parameter is either the mouse operation, or a value. Using a mouse operation as a parameter should produce the same effect as clicking the mouse on the rotary in the VC, i.e. a single inc/dec in each direction.
When programming a rotary that controls different things based on a selector, you would need to overload the in/dec rotary (i.e. multiple assignments for each quantity you want to change) and use either a compound button assignment so that only the control is send based upon the position of the mode selector switch, or an offset condition based upon the position of the mode selector switch in the VC.
To get better control, and implement both fast and slow inc/dec, you would need to use a lua script. The script would, on each rotary button press, need to read the current value for what is to be inc/decremented, apply the relevant delta value (i.e. increase or decrease this read value by an appropriate amount)  and then use the custom controls to set the new value.

I don't have any PMDG aircraft for P3D, but I can take a look in the MSFS version if you need further assistance, and if it works in the MSFS version it should work in the PMDG version once any control/offset numbers have been checked. I won't have time to look into this until later next week though.

John

 

Posted

Thanks for your answer and the advice to use a luascript. I am not more familiar with the scriptlangauge. And I must learn it again. Then I will see, what I can do later.
Seems to me, I have to use Linda in the meanwhile and to get a PMDG datafile for it. I like to work with the pure FSUIPC much more. But anyway. One step after another. It is really amazing, how fast I have forgotten so many things. 
 

Posted
1 hour ago, simnutzer1962 said:

I have to use Linda in the meanwhile and to get a PMDG datafile for it. I like to work with the pure FSUIPC much more.

If there are Linda scripts available for your device and aircraft, you should certainly try that, although beware the Linda is no longer supported. However, I would have thought it would be quite stable for P3D with PMDG as both have been around for a while. Linda is lua interface that sits on top of FSUIPC's lua facilities.
Check these forums and also the Linda support forums for any issues - there should be a lot of information there if you need further assistance.

Posted

@simnutzer1962 Did you manage to get the selection knob working yet in the PMDG 737?
If not, if you attach your latest FSUIPC5.ini I can take a look. I don't have this aircraft for P3D, but I can look into setting this up in MSFS (on a different controller) then it should be possible to map this to P3D and your thrustmaster throttle quadrant.

Posted

Dear John, thanks for asking. No, I did not manage it. I have to lack knowledge and understanding, how this all works. And because my understanding of English is not exactly good either. It takes me hours to fight me through the words to understand the instructions. And additionally I am a kind of "leghastnic" 🙂 🙂 in computerlanguages and I would really appreciate your graceful help. 
 

FSUIPC5.ini

Posted (edited)
Quote

[Buttons]
PollInterval=25
ButtonRepeat=20,10
1=P1,6,C65752,0     -{PARKING_BRAKES}-
4=R1,4,C65602,0     -{THROTTLE_DECR}-
5=U1,4,C65604,0     -{THROTTLE_CUT}-
11=P1,9,C70320,536870912     -{Custom control: <70320>}-
12=U1,9,C0,0     -{}-
13=P1,10,C70321,536870912     -{Custom control: <70321>}-
14=P1,7,C70034,536870912     -{Custom control: <70034>}-
15=P1,8,C70035,536870912     -{Custom control: <70035>}-
17=CP(+0,11)0,14,C65897,0     -{AP_SPD_VAR_DEC}-
18=CP(+0,11)0,15,C65896,0     -{AP_SPD_VAR_INC}-
19=CP(+0,11)0,16,C66532,0     -{AIRSPEED_BUG_SELECT}-
21=CR(+0,12)0,14,C70022,8192     -{Custom control: <70022>}-
22=CR(+0,11)0,15,C70016,16384     -{Custom control: <70016>}-
23=CR(+0,11)0,14,C70016,8192     -{Custom control: <70016>}-

6=P1,13,C70032,0     -{Custom control: <70032>}-
24=P1,12,C70022,0     -{Custom control: <70022>}-
25=P0,6,C76773,0     -{Custom control: <76773>}-
26=P1,11,C70016,0     -{Custom control: <70016>}-

Delete those settings in bold and try these:

Quote

17=CR(+1,11)1,14,C66587,38408     -{ROTOR_BRAKE}-
18=CR(+1,11)1,15,C66587,38407     -{ROTOR_BRAKE}-
19=CR(+1,12)1,14,C66587,39008     -{ROTOR_BRAKE}-
21=CR(+1,12)1,15,C66587,39007     -{ROTOR_BRAKE}
22=CR(+1,13)1,14,C66587,40008     -{ROTOR_BRAKE}
23=CR(+1,13)1,15,C66587,40007     -{ROTOR_BRAKE}

Those use the rotor brake custom controls to control the IAS/HDG/ALT using the mouse-wheel down/up codes (on repeat) for inc/dec, (on buttons 15 & 14) with a compound conditional on the position of the selector switch (buttons 11, 12 & 13)

Not sure why the previous assignments were for the Microsoft SideWinder Precision Pro....

Edited by John Dowson
Further info added
Posted

 John. You make me happy, again. Now it works all well. I post the FSUIPC.ini again, that you will have it for your records. May be other fellows here may or will have the same problems, which are now solved. 
Would you be so kind to explain to me, what the particular values in this sample lines mean? It is for my basic understanding.

CR(+1,11)1,14
C66587,38408   
-{ROTOR_BRAKE}-

Thanks a lot.

FSUIPC5.ini

Posted
37 minutes ago, simnutzer1962 said:

Would you be so kind to explain to me, what the particular values in this sample lines mean? It is for my basic understanding.

CR(+1,11)1,14
C66587,38408   
-{ROTOR_BRAKE}-

I already did...complete description:
    C - indicates a compound condition
    R - indicates repeat while button pressed
    (+1,11) - this is the compound condition, and indicates that button 11 on device 1 must be pressed (+). This is true when the selection rotary is in the IAS/MACH position
    C66587 - is the standard ROTOR_BRAKE control
    38408 - is the control parameter, where 384 is this custom control:
#define    EVT_MCP_SPEED_SELECTOR                    (THIRD_PARTY_EVENT_ID_MIN + 384)    

                 and 08 indicates a 'mouse wheel down' operation on the control, which is the speed selector and so will decrement the speed

37 minutes ago, simnutzer1962 said:

Thanks a lot.

No problem.
If you understand those assignments, it should make it easier for you to add your own when you need to...

Regards,

John

Posted

@simnutzer1962 If you appreciate my support and product, could you please post a review of this on the SimMarket forums. I would only expect an honest review, and auf Deutsch ist gut / besser. In meinem kostbaren Leben habe ich in Darmstadt gelebt, als ich für die "European Space Agency" (ESA) im ESOC gearbeitet habe. Aber leider habe ich im Laufe der Jahre den größten teil meines deutsche verloren!! 😉

Mit freundlichen Grüßen,

John

Posted

Hi John, I am amazed. What a great job. I am a professional magician here in germany. But in two years I will retire. I will give a 5 from 5 Star review. I will do that tomorrow, cause in the moment I have no access to the simmarket.  If I had known, that you speak and write german, I had written my posts in german 🙂 🙂. You write, that you have lost the biggest part of your abilities to speak. I can give you some lessons for free, if you want.
I live about 100 miles north from Darmstadt.

 

Posted
5 minutes ago, simnutzer1962 said:

If I had known, that you speak and write german, I had written my posts in german 🙂 🙂. Yoi write, that you have lost the biggest part of your abilities to speak. I can give you some lessons for free, if you want.

Unfortunately my language skills are no match for my programing ability, and as I now live in Spain it is my spanish that needs improving, and I am also trying to learn galician/portugese as I live on the border.

English is and always will be the preferred language of support, but I do my best with any language that is posted, although I will usually respond in english unless familiar with the language!

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.