National Instruments BridgeVIEW User Manual

Page 203

Advertising
background image

Chapter 8

Servers

BridgeVIEW User Manual

8-8

© National Instruments Corporation

to use the server on another machine from your machine, use the network
tree control to open the machine, and select one of the OPC servers shown
on that machine and press the Add Server>> button. The information for
the remote OPC server is now stored in your local machine registry, and the
server will appear in your BridgeVIEW servers list with the server name
format of

(

machine name)programID

. BridgeVIEW runs the server on

the remote machine when you configure a tag to use that server.

To remove one or more remote OPC server from the BridgeVIEW server
list, select the servers and press the Remove Server(s) button. The servers
will no longer appear in your BridgeVIEW server list.

You can also use the Windows utility

dcomcnfg.exe

to configure an OPC

server to run on a remote machine rather than your local machine. In order
to use

dcomcnfg.exe

to configure an OPC server on a remote machine,

you must also have the server registered on your local machine.

To register an OPC server on your local machine, either install the server
locally or run the server registration utility on your local machine. Then,
launch

dcomcnfg.exe

and complete the following steps.

1.

Select the OPC server in the Applications list, under the Applications
tab, and press the Properties button.

2.

Click the Location tab in the Properties dialog box. De-select
the Run application on this machine checkbox and check the
Run application on the following computer:
checkbox. Enter the
name of the machine or use the Browse button to select the remote
machine. Press OK to close the Properties dialog box.

3.

Select the Default Properties tab and make sure that the Enable
Distributed COM on this computer
checkbox is checked. Also,
set the Default Authentication Level to Connect, and set the
Default Impersonation Level to Identify.

4.

Select the Default Security tab, and press the Edit Default… button.
Make sure that the machine on which you plan to launch the OPC
server is allowed to access your machine. This is necessary for the
machine to call back the BridgeVIEW on your machine when
supplying OPC values.

Note

If you use

dcomcnfg.exe

to select a remote server, you can only run one version

of that server, either locally or on one remote machine. You cannot use the same
server on more than one machine.

Advertising