From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controling LabView-Exe over a network

Hello out there,

I'm working with LabView 5.1 on NT 4.0 machines in a TCP/IP network.
I'm trying to write a Visual C++ 6.0 application which controls a LabView-Exe
on a remote server.
The Exe was build with the ActiveX-Server enabled.

The application works, starts and controls LabView on the _local_ machine.
To make it work over the network I used the racmgr32.exe and autmgr32.exe
tools shipped with Visual C++.
This configuration won't work.

My Question:
Do I have to make a connection using DCOM or is it possible to use remote-automation
with the racmgr32 + autmgr32 tools ?
Has anybody experience in doing so or can give me a link to an example (including
DCOM) ?

Thanks for any help.
Regards,
Ralf Erdmann
0 Kudos
Message 1 of 2
(2,779 Views)
Ralf,

In case you haven't seen it, there's a good example of the DCOM approach to this in the
Example Programs Database on the NI site:

http://digital.ni.com/explprog.nsf/websearch/3c742d0386e5d13c862568000069d87d

Unfortunately, I don't have any insight on the Visual C++ utility executables you are
using.

Regards,
John Lum
National Instruments

Ralf Erdmann wrote:

> Hello out there,
>
> I'm working with LabView 5.1 on NT 4.0 machines in a TCP/IP network.
> I'm trying to write a Visual C++ 6.0 application which controls a LabView-Exe
> on a remote server.
> The Exe was build with the ActiveX-Server enabled.
>
> The application works, starts and controls LabView on the _local_ machine.
> To make it work over the network I used the racmgr32.exe and autmgr32.exe
> tools
shipped with Visual C++.
> This configuration won't work.
>
> My Question:
> Do I have to make a connection using DCOM or is it possible to use remote-automation
> with the racmgr32 + autmgr32 tools ?
> Has anybody experience in doing so or can give me a link to an example (including
> DCOM) ?
>
> Thanks for any help.
> Regards,
> Ralf Erdmann
0 Kudos
Message 2 of 2
(2,779 Views)