Perspective session I want to animate a pump from Props >state>running, stop etc

Hi,

I'm struggling to animate a pump in Perspective environment, via Props > state >running, stop, etc.., while I can do that in Vision, I cannot do it in Perspective, I'm using few Boolean values from Plc to show the pump is running, stopping, fault, etc.

please can anyone help, I just recently started using Ignition.

Thanks to all!

You need to create a binding on the pump's props.state property. There's a dropdown there that shows you the valid options are default, running, stopped, faulted.

You could use an expression binding to combine the boolean flags using binEnc:
https://docs.inductiveautomation.com/display/DOC80/binEnc

and then use case to return one of the options above.

https://docs.inductiveautomation.com/display/DOC80/case

thanks for you help,

it's working as intended using the case...thank you!