Open dedicated automation servers from Labview

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

Answers (1)

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 Comments

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?
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.

Sign in to comment.

Categories

Asked:

on 23 Jun 2012

Community Treasure Hunt

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

Start Hunting!