This error occurs when you use a front panel terminal inside a Case structure on a simulation diagram.
To correct this error, move the front panel terminal outside of the Case structure.