Open dedicated automation servers from Labview

1 vue (au cours des 30 derniers jours)
Ulf Knoblich
Ulf Knoblich le 23 Juin 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

Réponses (1)

Kaustubha Govind
Kaustubha Govind le 25 Juin 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 commentaires
Ulf Knoblich
Ulf Knoblich le 25 Juin 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 le 26 Juin 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Use COM Objects in MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by