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.

GetIOsConfiguration

Group

Model Preparation

Description

List IOs configuration available in a project or in an exported file (*.rios)

Required Control

None

Usage

iosList = RtLabApi.GetIOsConfiguration(path)

Input

  • path : Path to an RT-LAB project or an .rios file.

We advise specifying the path with the r'<path>' format instead of "<path>" to avoid interpretation of the escape character (\t, \n...)

Output

  • iosList : Return a list object containing the list of IOs names available in the project or in the .rios file given in parameters

Exception

Method returns 'None' if an error occurred

Examples

>>> RtlabApi.GetIOsConfiguration(r'C:\__WORKSPACE__\tmp\opcua')

['OPCUA Server']

Related Items

ImportIOsConfiguration, ExportIOsConfiguration

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