I have been using SimVim for the FlightFactor A320 for some time now. I noticed that I always have to click "Reload Configuration" after starting SimVim, otherwise the displays do not work. I tested it with the Baron B58. There everything works after the start. Now, due to programming work with LUA-Script, I have an idea why this error occurs.
In my LUA-Script, which processes DataRefs and commands, I have to insert a delay at startup. The DataRefs and commands specifically used by FlightFactor are loaded rather late when the A320 is launched. This caused the LUA-Script to abort with an error. Another user gave me the tip to integrate a function in the LUA-Script which waits for the availability of the special DataRefs/Commands and only then starts. Since then it has worked without any problems.
Now my suspicion is that SimVim encounters the same problems at startup. When SimVim is started the required DataRefs/commands are not loaded. Therefore SimVim only works after a "Reload Configuration".
Is it possible to start SimVim delayed ? Would it be possible to integrate a function in SimVim that waits for the availability of a specific dataref ?