Building radio com1 nav1 with spadnext

Post any technical issues here. This forum gets priority from our staff.
new reply
User avatar
chacal
Airman
Posts: 32
Joined: 02 May 2019, 02:12
Location: Toulon - France

Building radio com1 nav1 with spadnext

Post by chacal »

Hello all,
i would like to simulate more or less modes of the radios with a saitek radio panel (and spadnext). i have not yet found the LVAR used with the TO, FM and ET modes (bearings and elapsed time) of the nav radio. Those variable are not discussed in the a2a list of variables for the radio, maybe some of you had more succes with them ? Or maybe those variables are not findable within spad.

thanks for you help

Ludwik
Ludwik
Image

Tomas Linnet
Senior Master Sergeant
Posts: 2286
Joined: 05 Nov 2013, 10:48
Location: Oksboel, Denmark

Re: Building radio com1 nav1 with spadnext

Post by Tomas Linnet »

Hi Ludwik

I just did a test..It looks like you can use L:Com1NavSwitch to cycle through the different modes. 1 = button pressed 0 = button released
I'm not sure how it's possible to use a Saitek radio, as there's no available buttons
Kind Regards
Tomas

Sim: FSX SE
Accu-Sim aircraft in my hangar:
C172, C182, P51 Civ, P51 Mil, B17, Spitfire, P47, B377 COTS,
J3 Cub, T6, Connie, P-40, V35B
A2A Accu-Sim Avro Lancaster Loading:............0.000003% complete, please wait.

User avatar
chacal
Airman
Posts: 32
Joined: 02 May 2019, 02:12
Location: Toulon - France

Re: Building radio com1 nav1 with spadnext

Post by chacal »

Hi Tomas, thanks for your answer.

i wasnt very clear sorry for that : I use the knob button of the saitek radio to switch modes (my panel is used only as com1 nav1 i) but i would like to display on the right displays of the saitek the bearing values of the TO and FROM modes, and if possible the ET time.

Ludwik
Ludwik
Image

Tomas Linnet
Senior Master Sergeant
Posts: 2286
Joined: 05 Nov 2013, 10:48
Location: Oksboel, Denmark

Re: Building radio com1 nav1 with spadnext

Post by Tomas Linnet »

OK, I understand..
No I cannot find these, I think you'll have to wait until one of the :a2a: guys sees this.
Kind Regards
Tomas

Sim: FSX SE
Accu-Sim aircraft in my hangar:
C172, C182, P51 Civ, P51 Mil, B17, Spitfire, P47, B377 COTS,
J3 Cub, T6, Connie, P-40, V35B
A2A Accu-Sim Avro Lancaster Loading:............0.000003% complete, please wait.

User avatar
some1 - A2A
A2A Lieutenant Colonel
Posts: 1832
Joined: 03 Aug 2008, 11:56

Re: Building radio com1 nav1 with spadnext

Post by some1 - A2A »

Unfortunately that's not possible at this moment.
Michael Krawczyk

User avatar
chacal
Airman
Posts: 32
Joined: 02 May 2019, 02:12
Location: Toulon - France

Re: Building radio com1 nav1 with spadnext

Post by chacal »

Thanks for the answer Michael, so i will create only dummies modes.
However do you think it may be avaiable in future ?

Pozdowienia !

Ludwik
Ludwik
Image

alioth
Senior Airman
Posts: 162
Joined: 01 Feb 2017, 17:05

Re: Building radio com1 nav1 with spadnext

Post by alioth »

I don't know about spadnext, I am working with arduino/teensy and real moded gauges/avionics.

In case you canwrite your own code in spadnext, then you have enough standard variables to make what you want.
You have variables to read nav data, as:
0x0C50, NAV1 radial ( *360/65536 for degrees).
With de diference between your digital OBS selected and this radial, you can calculate the digital needle deviation... etc..

But I don't know if it is posible with spadnext. It is sure posible to read those offsets with other software, as link2fs + arduino, air manager, mobiflight...

Arturo.

User avatar
chacal
Airman
Posts: 32
Joined: 02 May 2019, 02:12
Location: Toulon - France

Re: Building radio com1 nav1 with spadnext

Post by chacal »

Thanks Alioth for your extensive answer.

Im only a begginer with spadnext and not sure of being able to create 'calculated' variables. I asked on the spadnext forum but still waiting for my question to appear...

Anyway as i use also air manager maybe i can create a dummy gauge within Airmanager and read it using spadnext Worth a try.

regards,

Ludwik
Ludwik
Image

User avatar
chacal
Airman
Posts: 32
Joined: 02 May 2019, 02:12
Location: Toulon - France

Re: Building radio com1 nav1 with spadnext

Post by chacal »

I get it to work !
Thanks Alioth cause you gave me ideas how to work it.

Finally by playing with spadnext i was able to create local variables and by adding 180 to navradial:1 i have the TO mode displayed on the saitek radio.

Then I created a second local variable, adding another 180 and testing it if not > 360. if >360 then i use only navradial:1, otherwise navradial:1+360. And this give you the FROM mode.

Next time ET mode.
If somebody is interested i can give the exact code.

thanks again
k/r

Ludwik
Ludwik
Image

alioth
Senior Airman
Posts: 162
Joined: 01 Feb 2017, 17:05

Re: Building radio com1 nav1 with spadnext

Post by alioth »

You are welcome.
I am happy to see your progress!

Arturo.

new reply

Return to “C172 Trainer Tech Support”

Who is online

Users browsing this forum: No registered users and 11 guests