seb737 Posted September 25, 2016 Report Share Posted September 25, 2016 Hello, I can not find the offsets to increment and decrement the frequency of COM radio. Can you help me? I developed a VB interface displays the frequency and the transfer button work fine. thank you Sébastien Link to comment Share on other sites More sharing options...
Pete Dowson Posted September 25, 2016 Report Share Posted September 25, 2016 5 hours ago, seb737 said: I can not find the offsets to increment and decrement the frequency of COM radio. There are no "offsets" to do things like increment and decrement values. The offsets contain the values which you can read, change yourself, and write back. That's the whole point of providing such access in the first place! If all you want to do it by increment and decrement using the FS facilities for such, use the FS controls for these things. you can send FS controls via offsets too -- see 3110. Pete Link to comment Share on other sites More sharing options...
seb737 Posted September 25, 2016 Author Report Share Posted September 25, 2016 Hello Pete I try to increment through a code on an Arduino board via an interface in VB If I understand correctly, I have to increment the frequency myself and send it to FSX Sébastien Link to comment Share on other sites More sharing options...
seb737 Posted September 25, 2016 Author Report Share Posted September 25, 2016 Father thank you for the info with 3110 works great super big thank you Sébastien Link to comment Share on other sites More sharing options...
Ahmet Mehmetbeyoğlu Posted October 27, 2016 Report Share Posted October 27, 2016 Hi Sebastien, You can try sample code below (C#) //definitions private Offset<int> sendControl = new Offset<int>(0x3110, true); private readonly int COM_RADIO_WHOLE_DEC = 65636; private readonly int COM_RADIO_WHOLE_INC = 65637; private readonly int COM_RADIO_FRACT_DEC = 65638; private readonly int COM_RADIO_FRACT_INC = 65639; private void btn_winc_Click(object sender, EventArgs e) { FSUIPCConnection.Process(); sendControl.Value = COM_RADIO_WHOLE_INC; } Link to comment Share on other sites More sharing options...
barrykensett Posted November 7, 2016 Report Share Posted November 7, 2016 I have successfully set up Com 1 radio tuning encoder by detecting encoder movement as a switch and used the drop down menu to assign Com 1 standby whole increase and decrease. When I try similar on Com 2 the menu shows Com 2 standby increase but no decrease. I can use the radio by always increasing so that the tuning "goes round again". Can anyone advise how I can get the decrease working for anti clock movement of the knob? Barry www.a320sim.com Link to comment Share on other sites More sharing options...
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