you work too hard for that, this is not the right way to create your own OLP command.
Actually you don’t need to code at all, Process Simulate supports it OOTB.
The correct way, is to write customized OLP XML.
There is a detailed manual “RoboticsCustomizedUIManual” that you can find under you installation or open it directly from Robot->Customized Command XML Checker->Help.
Bu this, you new OLP will be supported totally by system, in UI, simulation, download & upload.
Watch Replays of Previous Topics