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.

OP_LOAD_FILE_OPTION

DescriptionWhen loading a file of parameters, signals or aliases, this enum specifies how to resolve conflict of the load operation. Conflict can occur when the current model has changed since the file was saved.
Usage
  • RtlabApi.OP_LOADF_IF_NO_CONFLICT
  • RtlabApi.OP_LOADF_IF_ALL_RESOLVED
  • RtlabApi.OP_LOADF_DROP_UNRESOLVED
Elements
  • OP_LOADF_IF_NO_CONFLICT (0): If you try to load a file of parameters, signals or aliases and there are conflicts between objects of the file and of the current model, no change will be applied.
  • OP_LOADF_IF_ALL_RESOLVED (1): If you try to load a file of parameters, signals or aliases and there are only resolved conflicts between objects of the file and of the current model, all new object will be loaded.
  • OP_LOADF_DROP_UNRESOLVED (2): If you try to load a file of parameters, signals or aliases and some conflicts have been found between the object of the file and of the current model, all objects with resolved conflicts will be loaded. Objects with unresolved conflicts will just be dropped.
 ExamplesNone
Related ItemsLoadAlias
Modulesimport 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