-
Notifications
You must be signed in to change notification settings - Fork 58
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
Enable OMCSessionZMQ to connect to an already running omc #148
Comments
OMC itself can be started to listen and perhaps you could connect to it. But it will only allow 1 connection and quits after the connection dies. It might not be so convenient to connect to it, but could perhaps be added as an option. |
Sounds good! These restrictions would be OK for our use case. I imagine I would independently start If omc can be convinced to not die after a connection dies, that could be useful, but that need is not currently on my radar. |
@bilderbuchi , I guess we could use the existing |
@arun3688 great! I think that an additional |
I would also like this feature. I am using a Mac host with a custom docker container with OpenModelica programs installed. I am able to connect to the container with a ZMQ session, but I am not able to use OMPython because of this. |
As a user, I would like to be able to connect to an already running omc --interactive process that is listening at a certain host/port.
That is, I want
OMCSessionZMQ
to not start a separate omc process here if I pass in an endpoint, URI, socket/port that defines where my omc is listening.This would be useful to enable OMPython to use an omc instance that is running elsewhere, e.g. in a managed container (that I can't start myself, so the present docker support does not help here) or on a (powerful) remote server.
The text was updated successfully, but these errors were encountered: