LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DCOM issue

Solved!
Go to solution

I am connecting to a National Instruments OPC server. My simple test app uses one indicator with its DataSocket property hard-coded to a tag on the OPC server.

 

This app will work on some machines and on others the DataSocket will never connect.

 

I believe it is DCOM issues. I have been comparing every aspect of a working and non-working machine and I have found one major difference.

 

Under the dcomcnfg, in the  DCOM Config section, a working machine has an entry for "National Instruments Variable Engine". The non-working machines do not.

 

I do not know how I got this component installed on some machines and not others. If anyone could let me know how to get it installed or added to my build package I'd appreciate it.

 

Thanks,

Dave

0 Kudos
Message 1 of 2
(2,973 Views)
Solution
Accepted by topic author Dave@Xerox

I have resolved the issue.

 

I was publishing the software just by building an exe.

 

When I build an entire Installer I was able to add the DataSockets component to the install package.

0 Kudos
Message 2 of 2
(2,957 Views)