Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello i uploaded an image of the control i have been trying to find now for hours. Does anybody know which "control sent when button pressed" i need to select for this control? I might be looking in the wrong place for it.

Thank you

Alex

post-36699-128689711157_thumb.jpg

Posted
Hello i uploaded an image of the control i have been trying to find now for hours. Does anybody know which "control sent when button pressed" i need to select for this control? I might be looking in the wrong place for it

What does it do when you operate it? I can usually tell you what controls do what, but I can't guess at a knob labelled in German. Perhaps you could translate, please?

If it operates an FS control (which it might not do -- some gauges have switches and knobs used for purely internal purposes), then enable Event logging in FSUIPC's Logging tab (one of the checkboxes on the left hand side), and operate the knob. You should see which named FS control it operates by looking in the FSUIPC Log file (which you will find in the FS Modules folder).

Regards

Pete

Posted

Hello Pete,

It increases / decreases the selected frequency on the radio. So first i select with a push button which frequency i intend to change and then by turning the the rotary encoder i would like to change the corresponding values.

When i use it in the simulator i get different log entries, while turning the same rotary in the sim, depending on which of the radios is selected.

208339 *** EVENT: Cntrl= 65643 (0x0001006b), Param= 1 (0x00000001) NAV1_RADIO_FRACT_INC

199759 *** EVENT: Cntrl= 65637 (0x00010065), Param= 1 (0x00000001) COM_RADIO_WHOLE_INC

199806 *** EVENT: Cntrl= 65637 (0x00010065), Param= 1 (0x00000001) COM_RADIO_WHOLE_INC

235250 *** EVENT: Cntrl= 66454 (0x00010396), Param= 1 (0x00000001) ADF1_RADIO_TENTHS_INC

235250 *** EVENT: Cntrl= 66454 (0x00010396), Param= 1 (0x00000001) ADF1_RADIO_TENTHS_INC

240132 *** EVENT: Cntrl= 65647 (0x0001006f), Param= 1 (0x00000001) NAV2_RADIO_FRACT_INC

235296 *** EVENT: Cntrl= 66454 (0x00010396), Param= 1 (0x00000001) ADF1_RADIO_TENTHS_INC

Posted

It increases / decreases the selected frequency on the radio. So first i select with a push button which frequency i intend to change and then by turning the the rotary encoder i would like to change the corresponding values.

Okay. There are 4 separate FS controls for each radio frequency -- increment and decrement both for the fraction and for the whole number part. There are 8 for the transponder, 2 for each digit, but I added some special controls in FSUIPC to do it in 4 controls using pairs (Xpndr low NNand Xpndr high NN ..).

When i use it in the simulator i get different log entries, while turning the same rotary in the sim, depending on which of the radios is selected.

Yes, of course. The gauge is noting the radio selection and sending the appropriate control. That'll be some coding internal to the gauge.

Note that with the default FS radio stacks, and add-ons based on those, once the appropriate part of the frequency has been selected, the main keyboard =+ and _- keys do the job. They send the controls "PLUS" and "MINUS", respectively, and that in turn sends the appropriate radio inc/dec control. However I don't know how you'd select the whole number or fractional part of your radio.

Regards

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.