Solution
The Enhanced State Diagram Toolkit is no longer supported, and there is no alternative toolkit available.
The issue is related to the integer-to-enum function from the toolkit.
This is caused by a software issue (in that toolkit), and the "integer to enum" functions must be replaced to mitigate it.
It is not possible to automate this process, and the following steps must be manually performed for every affected VI.
- Right-click on the state machine loop
- Select Unlock Code From Editor Wizard.
- Find all Integer to Enum nodes and replace them either with Variant To Data or Coerce to Type.
