Borrar filtros
Borrar filtros

Open dedicated automation servers from Labview

4 visualizaciones (últimos 30 días)
Ulf Knoblich
Ulf Knoblich el 23 de Jun. de 2012
Hi,
I need to open multiple dedicated automation server sessions from a Labview program. I can use the IMLApp and DIMLApp interfaces in Labview, but it seems they both start a shared automation server. I found a post from 2009 that stated these interfaces do not support dedicated mode, but that's three years ago and surely there's a better solution now.) How can I start dedicated automation servers using COM or .NET?
Thanks! Ulf

Respuestas (1)

Kaustubha Govind
Kaustubha Govind el 25 de Jun. de 2012
Not sure about IMLApp and DIMLApp, but if you started MATLAB as a COM Server manually, would you not have full control over whether it should be shared or dedicated?
  2 comentarios
Ulf Knoblich
Ulf Knoblich el 25 de Jun. de 2012
What do you mean by starting it as a COM sever manually? Do you mean the "/automation" command line option? As far as I can tell that always starts a shared server, which would make sense, since a dedicated server is only for whichever process opens it, so no other process could connect to it after the fact?
Kaustubha Govind
Kaustubha Govind el 26 de Jun. de 2012
Ah! I see. I don't have any experience with COM servers, but I meant the equivalent of the "actxserver" MATLAB command which is used to start a COM server. Is there a way to start any application as a COM server with multiple (non-shared) instances. If you know that this is possible with any application (ie., not a COM limitation), then we might be able to figure out a way to make it work for MATLAB.

Iniciar sesión para comentar.

Categorías

Más información sobre Use COM Objects in MATLAB en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by