Multi-device multi state buttons
Posted: Thu Mar 04, 2004 3:45 pm
I can probably figure out how to do this with a script and/or additional devices and tasks but it would be nice if the multi-state buttons could change a property belonging to a different device than the one its state reflects.
In other words, if DeviceA.Property1 state = X then change DeviceB.Property2 to Z when the button is pressed.
Specifically, here's what I'm trying to do: I have an External Control device with a property 'Zoom Player.ZP_State' which shows whether Zoom Player running on another machine is playing or paused. I can also set a Girder Bridge device property 'Girder.Event String' to 'event_play' to cause Zoom Player to play or 'event_pause' to cause Zoom Player to pause. I would like to have a multi-state button that shows a Play symbol when 'Zoom Player.ZP_State' = 'Playing' and a Pause symbol when 'Zoom Player.ZP_State' = 'Paused'. But when the button is pushed I want to set the 'Girder.Event String' appropriately.
Thanks!
Alan
In other words, if DeviceA.Property1 state = X then change DeviceB.Property2 to Z when the button is pressed.
Specifically, here's what I'm trying to do: I have an External Control device with a property 'Zoom Player.ZP_State' which shows whether Zoom Player running on another machine is playing or paused. I can also set a Girder Bridge device property 'Girder.Event String' to 'event_play' to cause Zoom Player to play or 'event_pause' to cause Zoom Player to pause. I would like to have a multi-state button that shows a Play symbol when 'Zoom Player.ZP_State' = 'Playing' and a Pause symbol when 'Zoom Player.ZP_State' = 'Paused'. But when the button is pushed I want to set the 'Girder.Event String' appropriately.
Thanks!
Alan