Page 1 of 1

[RESOLVED] Having trouble with some radio set simconnect events

Posted: Thu Jul 11, 2019 8:07 pm
by SimonRobbins
I'm having trouble setting radio frequencies using SimConnect. (This is part of a much larger app which is already working and functioning fine, so general SimConnect issues and event mapping related problems can be discounted.)

The events I'm trying to use are: COM_RADIO_SET, COM_STBY_RADIO_SET, NAV1_RADIO_SET, NAV1_STBY_SET, COM2_RADIO_SET, COM2_STBY_RADIO_SET, NAV2_RADIO_SET, NAV2_STBY_SET.

The SDK says these are BCD, so say I want to tune to 123.45, I send the event with the parameter (hex) 00012345, but there is no effect in the sim.

I noticed when interrogating the values using FSInterrogate that the leading 1 is missing (since it is always 1) so I tried sending only the last 4 least significant digits , but also with no change in the sim.

Is my usage and formatting correct?

Thanks,

Si

Re: Having trouble with some radio set simconnect events

Posted: Fri Jul 12, 2019 8:39 pm
by SimonRobbins
Scratch that. Got it working.

Re: [RESOLVED] Having trouble with some radio set simconnect events

Posted: Sat Jul 13, 2019 12:02 am
by ronh991
Really? Going to keep it to yourself. What was the problem please?