Group | IO |
---|---|
Description | Import a list of IOs configurations from a file (*.rios) in a project IMPORTANT: Project whose IOs are exported must be closed. |
Required Control | None |
Usage | ImportIOsConfiguration(project_path_dst, file_path_to_exported_ios, io_list_name_to_import=[])
IMPORTANT: Project where IOs are imported, must be closed when importing IOs. Note: We advise specifying the path with r'<path>' format instead of "<path>" to avoid interpretation of the escape character (\t, \n...) Parameters
Returns
|
Input |
|
Output | Return a dictionnary containing the name of the io as a key and the status of the importation : success or skipped, if already present |
Exception | Method return 'None' if an error occurred |
Examples | >>> r.ImportIOsConfiguration(r'C:\__WORKSPACE__\tmp\rtdemo2', r'C:\\temp\\rios\\opcua.rios') {'OPCUA Server': 'success'} |
Related Items | GetIOsConfiguration, ExportIOsConfiguration |
Modules | import RtlabApi |
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.
General
Content
Integrations
App links