Documentation Home Page HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

TestView Command | Main | GetValue

GetValue Dialog Box


The GetValue command reads component parameter values from the model or preferences. It displays the result in the console.



Did you know?

Once you get a value using the command GetValue, it is possible to use this value in the rest of the script. For instance, to access the resistor value of Ld2, add a GetValue command with that parameter and afterwards you can simply write %{Ld2.R} anywhere in another command of the test to access it, e.g. in a pause message:

Example of Using a Parameter from the Model Directly in TestView





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