klocki Posted February 10, 2010 Report Posted February 10, 2010 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
Pete Dowson Posted February 10, 2010 Report Posted February 10, 2010 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
klocki Posted February 10, 2010 Author Report Posted February 10, 2010 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
Pete Dowson Posted February 10, 2010 Report Posted February 10, 2010 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
klocki Posted February 10, 2010 Author Report Posted February 10, 2010 Thank you Pete for the answers. Right now it looks to me like if a mouse macro could do the job? Alex
Pete Dowson Posted February 10, 2010 Report Posted February 10, 2010 Right now it looks to me like if a mouse macro could do the job? If that gauge is susceptible to the mouse macro treatment, yes, that would be the easiest way. Regards Pete
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now