Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I am aiming to generate a test setup (signals, implementation for referenced interfaces, task configuration,etc.) for library POU's in a project via script and as fully automated as possible. So far the creation of test instance of a POU via prompt, test prg and task call for this have been relatively straight forward but i'm facing some difficulties in generating the necessary signal and interface instances required for the POU. In order to get his done without further prompting from the user, the script would have to acquire all the necessary information for the test POU (structs, types of referenced interfaces, methods) from the library. Is it somehow possible to export the whole POU as PLCopenXML via the project that uses the library POU's ? Or some better way to extract specific info from a library ?
Best regards,
Sami
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am aiming to generate a test setup (signals, implementation for referenced interfaces, task configuration,etc.) for library POU's in a project via script and as fully automated as possible. So far the creation of test instance of a POU via prompt, test prg and task call for this have been relatively straight forward but i'm facing some difficulties in generating the necessary signal and interface instances required for the POU. In order to get his done without further prompting from the user, the script would have to acquire all the necessary information for the test POU (structs, types of referenced interfaces, methods) from the library. Is it somehow possible to export the whole POU as PLCopenXML via the project that uses the library POU's ? Or some better way to extract specific info from a library ?
Best regards,
Sami