12-09-2021 08:59 AM
I have observed this on LV 2019, 2020, 2021.
When a VI with an XControl is loaded, the Facade is called and the "Exec State Change" event is called and it is passed the "Run Mode?" of False.
However if the owning VI has its BD locked because it is password protected, and the password is not in the cache, then on that initial call to the XControl's facade, it will receive "Run Mode?" of True. Furthermore, no further "Exec State Change" events will be triggered until the BD is unlocked.