Documentation Home Page ◇ RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
StartTargetPythonScript
Group | Utilities |
---|---|
Description | Start a python script on the selected target. The script should be copied to the target before running the command. The script and log paths should be absolute (relative paths are not supported). The script output can be monitored using the OpalDisplay or by the OpalDisplayInformation() Api command. See the OpalDisplayInformation documentation for more details. The function EnableContinousScriptDisplay() can be called at the beginning of the Python script to enable continuous display during execution. If this command is not called, the script standard output will be displayed only at the end of the execution. |
Required Control | The API should be connected to a model before running the command. |
Usage | RtlabApi.StartTargetPythonScript(targeName, targetAbsoluteScriptPath, args hostLogPathName) |
Input |
|
Output | None |
Exception |
|
Examples | See example start_target_python_script |
Related Items | OpalDisplayInformation |
Modules | import RtlabApi |
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter