フィルターのクリア

Open dedicated automation servers from Labview

4 ビュー (過去 30 日間)
Ulf Knoblich
Ulf Knoblich 2012 年 6 月 23 日
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

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2012 年 6 月 25 日
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 件のコメント
Ulf Knoblich
Ulf Knoblich 2012 年 6 月 25 日
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 2012 年 6 月 26 日
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeUse COM Objects in MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by