CAS Warning Lights on Thranda Cessna 208
-
- Posts: 93
- Joined: Wed Jul 01, 2020 8:06 am
CAS Warning Lights on Thranda Cessna 208
I am running X-Plane 12 and have the Thranda Cessna 208 Caravan.
I have developed an Air Manager instrument to show the CAS Warning lights.
Joseph Noe from Thranda has kindly told me that they work on the data_ref "thranda/TCAS/AnnLtA" which is FLOAT [400].
I can see them operating fine in X-Plane when I manipulate switches but I cannot get any response from Air Manager.
The lights are in a matrix of eight columns and three rows.
I am totally perplexed why this instrument is not working as it is so simple. The dataref Float matrix is large at 400 but does that matter?
I would be very grateful if someone could help me out with this.
best wishes
Anthony Sullivan
I have developed an Air Manager instrument to show the CAS Warning lights.
Joseph Noe from Thranda has kindly told me that they work on the data_ref "thranda/TCAS/AnnLtA" which is FLOAT [400].
I can see them operating fine in X-Plane when I manipulate switches but I cannot get any response from Air Manager.
The lights are in a matrix of eight columns and three rows.
I am totally perplexed why this instrument is not working as it is so simple. The dataref Float matrix is large at 400 but does that matter?
I would be very grateful if someone could help me out with this.
best wishes
Anthony Sullivan
Re: CAS Warning Lights on Thranda Cessna 208
400 is way too much. There are just 24 lights.
-
- Posts: 5363
- Joined: Thu Jul 27, 2017 12:22 am
Re: CAS Warning Lights on Thranda Cessna 208
as Ralph already mentioned, there's a limit in Air Manager dataref array handling at once, so we are able to limit on our own, without any issue, the dataref array max index in the subscription, in this way, with let say only the 24 first values useful for this usage, exactly as you done in your instrument sample with your own 100 max index. Performing this way will lower Air Manager memory consumption on dataref subscription :
Code: Select all
xpl_dataref_subscribe("thranda/TCAS/AnnLtA", "FLOAT[24]", WarningLight_Callback)
Re: CAS Warning Lights on Thranda Cessna 208
If I remember correctly, it has to do with the package size of UDP. But I might be wrong.
-
- Posts: 5363
- Joined: Thu Jul 27, 2017 12:22 am
Re: CAS Warning Lights on Thranda Cessna 208
You're mostly more right than me Ralph, I'm not sure to remember properly on the root cause
- Keith Baxter
- Posts: 4735
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Gauteng
Re: CAS Warning Lights on Thranda Cessna 208
Hi,
Yes it is 128 if I rem correct
Keith
Yes it is 128 if I rem correct
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
Re: CAS Warning Lights on Thranda Cessna 208
I guess the potential issue here is if Thranda or another dev are using different indexes throughout that 400. How does one get indexes beyond the current limit?
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
-
- Posts: 5363
- Joined: Thu Jul 27, 2017 12:22 am
Re: CAS Warning Lights on Thranda Cessna 208
I guess it would be a good point if SI will introduce a new syntax allowing a range with the mentioned 128 max indexes amount in any case ???
so, for example : [256-384] or [80-208]
in another way : the value will be the index start with a max of default 128 if required, or maxed by the range requested (though limited by 128)
so, for example : [256-384] or [80-208]
in another way : the value will be the index start with a max of default 128 if required, or maxed by the range requested (though limited by 128)
Re: CAS Warning Lights on Thranda Cessna 208
I don't know of any case where this is necessary, so I rather don't invest time into that.
Re: CAS Warning Lights on Thranda Cessna 208
Do we know it’s not necessary for this case yet?
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D