collapse

* Who's Online

  • Dot Guests: 693
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

* Recent Topics/Posts

Hello from Poland by Cupra
[Today at 04:43:53 PM]


Export light question. by Dimtom89
[January 28, 2026, 03:40:45 AM]


Site hosting by Sandman
[January 27, 2026, 04:38:09 PM]


Forum Security by Romanski
[January 22, 2026, 04:54:00 AM]


Hello from Michigan by Historiker
[January 03, 2026, 10:51:27 AM]


Hello from Colorado by henkie
[December 28, 2025, 07:45:05 AM]


DCS multiscreen setup tutorial by Snatch
[December 28, 2025, 06:11:22 AM]

Author Topic: Export light question.  (Read 825 times)

Offline Dimtom89

  • 2nd. LT
  • *
  • Join Date: Jan 2024
  • Location:
  • Posts: 14
  • Country: gr
  • Brand new newbie!
    • Awards
Export light question.
« on: January 26, 2026, 03:31:26 AM »
 :outthewindow:Good morning , I’d like some info on how I can export the cockpit indicator lights using BMSAIT. Thanks!

Offline mihi4

  • General
  • ******
  • Join Date: Jul 2003
  • Location: Graz, LOWG
  • Posts: 1734
  • Country: at
  • VP Awards 1000+ posts Award: Awarded for achieving over 1000 posts Top Poster Award: for those 30 members with most posts Old Geezer Award: Awarded after 10 years of community service
    • https://f16simulator.net
    • Buy me a soda
    • Awards
Re: Export light question.
« Reply #1 on: January 26, 2026, 05:46:24 AM »
That depends on your hardware. Have a look at the example configurations inside the BMSAIT folder, there are some for LEDs (one on each pin of an Arduino) but also for other hardware to drive LEDs.

You then need to define what lights you want to drive in the Arduino files and the Windows configuration.
I made a short BMSAIT tutorial here: https://www.youtube.com/watch?v=6cLPfiHxl_U

Most important of all, be prepared and willing to learn something new and dive a bit deeper into electronics - BMSAIT is not an "buy and forget" solution.
Michi "MiHi" Hirczy
https://f16simulator.net

Offline Dimtom89

  • 2nd. LT
  • *
  • Join Date: Jan 2024
  • Location:
  • Posts: 14
  • Country: gr
  • Brand new newbie!
    • Awards
Re: Export light question.
« Reply #2 on: January 26, 2026, 06:13:17 AM »
Thank you for your interest. I don’t know how to enable shared memory in BMS 4.38 so that I can read data from the shared memory.

Offline mihi4

  • General
  • ******
  • Join Date: Jul 2003
  • Location: Graz, LOWG
  • Posts: 1734
  • Country: at
  • VP Awards 1000+ posts Award: Awarded for achieving over 1000 posts Top Poster Award: for those 30 members with most posts Old Geezer Award: Awarded after 10 years of community service
    • https://f16simulator.net
    • Buy me a soda
    • Awards
Re: Export light question.
« Reply #3 on: January 26, 2026, 07:47:19 AM »
I would suggest you first take your time and read a lot of the basic stuff about building a simulator here in the forum.

You don't need to enable sharedmemory, it's always available when BMS is running.
Reading the data is done by BMSAIT, check out the documentation PDF about the variablen.xsl - that is the source which variable number holds which value.
Michi "MiHi" Hirczy
https://f16simulator.net

Offline Dimtom89

  • 2nd. LT
  • *
  • Join Date: Jan 2024
  • Location:
  • Posts: 14
  • Country: gr
  • Brand new newbie!
    • Awards
Re: Export light question.
« Reply #4 on: January 26, 2026, 08:13:05 AM »
Can BMSAIT read the shared memory only if I have an Arduino connected? Also, I noticed that when I opened the BMS flight data, they were all uneditable. Maybe I’m on the wrong track and I’ve mixed everything up in my head. I also read some tips about changing the BMS user, and now I feel completely lost. Could you recommend some reliable sources for correct information?

Offline Falcao

  • -=VP Veteran Donor=-
  • LT. General
  • *
  • Join Date: Sep 2008
  • Location:
  • Posts: 483
  • Country: 00
  • VP Awards Old Geezer Award: Awarded after 10 years of community service
    • Awards
Re: Export light question.
« Reply #5 on: January 26, 2026, 08:49:46 AM »
DimTom,
maybe better to let us know what you want to do, we can point you the right direction.
Keep in mind that having a bit of electronics/coding knowledge before hand is very useful or else you will be overwhelmed quickly.
Read the the manuals from BMSAIT, try do understand them and how the system works. Mihi video is quite good take a look at it.
Do you have the basics for Arduino? if not I suggest you see some videos for the basics, BMSAIT is great and Hummer did the most work for us but you need to have some insight before you mess with it.
(v)2Lt Harpoon
872nd Fighter Squadron
http://www.87th.org

Offline Dimtom89

  • 2nd. LT
  • *
  • Join Date: Jan 2024
  • Location:
  • Posts: 14
  • Country: gr
  • Brand new newbie!
    • Awards
Re: Export light question.
« Reply #6 on: January 26, 2026, 09:01:48 AM »
I don’t have any issues with Arduino programming. I’ve already developed the necessary code for each cockpit panel, and now I would like to control the indicator lights, but I’m not sure about the correct approach. I’ve read that this can be done using BMSAIT, which reads data from shared memory and then transmits it to the Arduino via serial communication. Is my understanding correct so far?

Offline mihi4

  • General
  • ******
  • Join Date: Jul 2003
  • Location: Graz, LOWG
  • Posts: 1734
  • Country: at
  • VP Awards 1000+ posts Award: Awarded for achieving over 1000 posts Top Poster Award: for those 30 members with most posts Old Geezer Award: Awarded after 10 years of community service
    • https://f16simulator.net
    • Buy me a soda
    • Awards
Re: Export light question.
« Reply #7 on: January 26, 2026, 09:20:18 AM »
Is my understanding correct so far?
Yes, BMSAIT does the data transmition.
The protocol between BMS and the Arduino is proprietary, but if you look at the "vanilla.ino" inside the "03 Arduino Code" directory you can try and implement the whole communications protocol into your finished code.

The easier method though is, to create just your own "modules" like all the ".h" files inside the "04 Beispielprogramme" directory and let BMSAIT do the comms protocol by itself.
That's what I did to control my MM5451 LED controller chip, since this was not available.
Check out that directory ("30 MM5451") how I implemented it.

That way you can take your finished code and just modify it a bit according to the code examples. It's not really that hard if you know how to program (and not vibe coded it with some AI ;) )

Michi "MiHi" Hirczy
https://f16simulator.net

Offline Dimtom89

  • 2nd. LT
  • *
  • Join Date: Jan 2024
  • Location:
  • Posts: 14
  • Country: gr
  • Brand new newbie!
    • Awards
Re: Export light question.
« Reply #8 on: January 26, 2026, 09:25:07 AM »
Everything is fine so far. Now I’d like to move on to my questions.
1) Are there any additional settings I need to configure in BMS beyond those required by BMSAIT?
2) Does BMSAIT provide a test mode so I can verify that communication between BMS and BMSAIT is working correctly?

Offline mihi4

  • General
  • ******
  • Join Date: Jul 2003
  • Location: Graz, LOWG
  • Posts: 1734
  • Country: at
  • VP Awards 1000+ posts Award: Awarded for achieving over 1000 posts Top Poster Award: for those 30 members with most posts Old Geezer Award: Awarded after 10 years of community service
    • https://f16simulator.net
    • Buy me a soda
    • Awards
Re: Export light question.
« Reply #9 on: January 27, 2026, 11:46:51 AM »
Everything is fine so far. Now I’d like to move on to my questions.
1) Are there any additional settings I need to configure in BMS beyond those required by BMSAIT?
2) Does BMSAIT provide a test mode so I can verify that communication between BMS and BMSAIT is working correctly?
1) no, BMS will never know about BMSAIT
2) yes, the latest versions of BMSAIT have a value display window where you can see the values of the different variables
Michi "MiHi" Hirczy
https://f16simulator.net

Offline Dimtom89

  • 2nd. LT
  • *
  • Join Date: Jan 2024
  • Location:
  • Posts: 14
  • Country: gr
  • Brand new newbie!
    • Awards
Re: Export light question.
« Reply #10 on: January 28, 2026, 03:40:45 AM »
Thank you very very much.

 

SimplePortal 2.3.5 © 2008-2012, SimplePortal