I need to launch automatically a python script before download the application in the device. Can I perform this operation when the user click on the 'Login' button?
Sorry, but not at the moment. We have the entry CDS-20898
in our bug tracking but it is not implemented yet. Small parts are already implemented but not the event part you need.
One of the already implemented parts could be a solution to your problem. It was introduced with CODESYS V3.5 SP10 (see CDS-48910
) and allows the user to execute python scripts from the toolbar. Search the online help for "Calling Scripts via Toolbar Icons". If you use this possibility, you have to do the login in your python script.
Check out the CODESYS store: http://store.codesys.com/CODESYS® a trademark of 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions