BMS Shared Memory
-
Hello developers!,
Glad to be here on the website. I have a quick question, am I able to write to shared memory? I am using F4sharedmem from lightning. It has reader and writer in C#. I tried to write to the TACAN band on AUX COMM panel and tried to change from X to Y which works but it goes back to X from Y very very fast like .1 of a second. I can see the check mark flicker in lightnings F4sharedmem viewer. Even without that it won’t stay on the selection we made either X or Y if selected. My wife is a software engineer and we are using lightnings tools to speed up the process. I have 4 digitran switches for the TACAN channel like in BMS and trying to drive them. I do see you have Left, Center, and Right digits for up and down, but the switches each have their own number value on the hardware pinout. Is there anyway you can help out with this?Maybe a callback for each number of each digit in keyfile?
-
Did you solve this issue? I’m facing the same problem.
-
Maybe a callback for each number of each digit in keyfile?
Supporting this request on the backup TACAN panel.
Being able to use BCD-digits instead of only up and down keys would be a cherry on top of the cake, as the sync-problem will disappear.
Thinking of using sth like this:
-
No, shared memory is read-only (except some head tracking stuff)
You can have your s/w sent callbacks:
SimCycleLeftAuxComDigit,SimDecLeftAuxComDigit
SimCycleCenterAuxComDigit,SimDecCenterAuxComDigit
SimCycleRightAuxComDigit,SimDecRightAuxComDigit
SimCycleBandAuxComDigit
then read from the shared mem and repeat until the switch and shared mem are in sync.