-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModelicaSystem does not show plot window #144
Comments
@bilderbuchi the
The above will work And We can also add a new API,
|
ah, so there is some hidden state created when using the omc Thank you for your suggestion, this works! Sorry, this was not obvious to me. By the way, you can mix
Yeah, a new method Same actually for a |
I am trying to plot results using the ModelicaSystem API, but the plot window is not shown.
This is on Windows, using OMPython master and a recent OM nightly(OpenModelica v1.18.0-dev.beta1 (64-bit)).
Based on examples from the documentation, using the omc API works, it shows a plot window (the sleep is just there so that the window does not immediately disappear when the script is finished):
Doing the same thing (I hope?!) with the ModelicaSystem API does not show a window:
output (notice: nothing in the error string):
I tried to find out what's going wrong, but couldn't find anything.
The text was updated successfully, but these errors were encountered: