Group |
---|
Utilities | |
Description | Export a list of IOs configurations from a project into a file (*.rios) |
---|
| ||
Required Control | None | |
---|---|---|
Usage | RtlabApi.ExportIOsConfiguration(project_path_src, dir_path_to_export_ios='', filename='', io_list_name_to_export=[]) | |
Input |
|
IMPORTANT: Projects whose IOs are exported must be closed.
Note
|
Parameters
project_path_src {str} --
|
|
|
|
|
If empty or omitted, all IOs from project 'project_path_src' will be exported
|
Returns
- abs_file_path_to_ios_exported {str} -- absolute file path to the file containing exported ios
dir_path_to_export_ios {str} -- Path where the file containing exported IOs is stored
| ||
Output |
|
---|
|
| |
Exception | Method return 'None' if an error occurred |
---|---|
Examples | >>> r.ExportIOsConfiguration(r'C:\__WORKSPACE__\tmp\opcua', r'C:\\temp\\rios\\') 'C:\\temp\\rios\\opcua.rios' |
Related Items | ImportIOsConfiguration, GetIOsConfiguration |
Modules | import RtlabApi |