I am trying to pass an enumerated value from an actor to my system-of-interest (SOI) block. I am using proxy ports and an InterfaceBlock. I have the value defined as a valueProperty in the actor and the block, and a flow property in the InterfaceBlock. I have a panel widget bound to the valueProperty in the actor part, I have a state chart in the SOI that uses the valueProperty as a guard. I am then trying to simulate. It all works fine & simulates when I configure the button valueType as an integer, but I can’t get it to work as an enumerated type. I don’t get an error, it is just that the value doesn’t seem to be passed. Is there something special that I need to do to exchange enumerated types versus int.
I posted this under the wrong tool. I can't find a way to remove it.
Yeah, posts can't be edited or removed.
In addition if we post a correction within a short window of time, say 10 seconds, the forum will think this is spam and lock your account