ActionTrigger to display screen
Kevin
✭✭
in ScreenMaker
Running RS 5.12, RW5.12.0138, SM 5.12.138.0
I am trying to use the ActionTrigger component to display a new screen but can find no information in the documentation.
I have a ScreenMaker project with two screens: 'Screen1(main)' and 'Screen2'.
I have added an ActionTrigger to screen1(main), with an action 'ScreenOpen Screen2' in its events panel and I have bound its value property to a Rapid boolean 'bNextScreen'.
I am testing the project on a real IRC5 as a documented error occurs on the VRC.
When I open the project from the ABB menu with bNextScreen=FALSE, Screen2 is displayed immediately instead of Screen1.
The Action part of the ActionTrigger is working, but it is not being controlled by the boolean.
Is it possible to display a screen using an ActionTrigger, and if so, what am I doing wrong?
Thanks,
Kevin
I am trying to use the ActionTrigger component to display a new screen but can find no information in the documentation.
I have a ScreenMaker project with two screens: 'Screen1(main)' and 'Screen2'.
I have added an ActionTrigger to screen1(main), with an action 'ScreenOpen Screen2' in its events panel and I have bound its value property to a Rapid boolean 'bNextScreen'.
I am testing the project on a real IRC5 as a documented error occurs on the VRC.
When I open the project from the ABB menu with bNextScreen=FALSE, Screen2 is displayed immediately instead of Screen1.
The Action part of the ActionTrigger is working, but it is not being controlled by the boolean.
Is it possible to display a screen using an ActionTrigger, and if so, what am I doing wrong?
Thanks,
Kevin
0
Comments
-
OK, I worked it out.
It is necessary to bind BOTH the 'Enabled' and 'Value' properties to the boolean.
Kevin
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings