RobotStudio event

ActionTrigger to display screen

Options
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



Comments

  • Kevin
    Kevin ✭✭
    Options
    OK, I worked it out.

    It is necessary to bind BOTH the 'Enabled' and 'Value' properties to the boolean.

    Kevin