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.

Opal_Set_Current_Model

Instantiates a new connection to an RT-LAB model specified by Model Path+Name+Ext. If the connection is successful, an Instance ID is created. A New Handle is returned for subsequent calls to the same Instance ID.



Note: If you wish to connect to an already loaded model use OpalConnect to connect by instance id or OpalConnectByName to connect by name/path.



WARNING: The New Handle must NEVER be used by two VIs simultaneously. If simultaneous calls are necessary, use Opal_New_Connection_Handle or another connection function to obtain another handle.


Deprecated

Please use Opal_New_Project or Opal_Open_Project instead.



Note: a default project will be created containing only the specified model. This project can then be used like any other RT-LAB project.



Opal_Set_Current_Model

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323