CodeBehind order of execution

Henry123
✭
Hello,
following setup:
SmartComponent "A" executes CodeBehind. "A" also has a embedded Mechanism.rslib.
The CodeBehind shall disconnect Mechanism.rslib from Library to be able to attach another component to it.
The disconnection is triggered by void Onload(SmartComponent component).
But it seems that the Mechanism.rslib is not loaded when the CodeBehind is executed. So, the Mechanism will not be disconnected. When I trigger the disconnection by an I/O Signal, it works.
How can I disconnect a sub-library after its owning SmartComponent is loaded?
following setup:
SmartComponent "A" executes CodeBehind. "A" also has a embedded Mechanism.rslib.
The CodeBehind shall disconnect Mechanism.rslib from Library to be able to attach another component to it.
The disconnection is triggered by void Onload(SmartComponent component).
But it seems that the Mechanism.rslib is not loaded when the CodeBehind is executed. So, the Mechanism will not be disconnected. When I trigger the disconnection by an I/O Signal, it works.
How can I disconnect a sub-library after its owning SmartComponent is loaded?
0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings