LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does DataSocket work with OPC in 64-bit computer?

I doubt it. I recently wanted to interface LabVIEW 2010 DataSocket vi with OPC server in same machine, which is 64-bit, and it never succeed. it always pop up error "the server is not properly registered...". not only one OPC. none of OPC servers in the PC can be read by DataSocket.

 

but when i tried same OPC and same version of LabVIEW in a 32bit computer, guess what, it WORKS FINE!

 

So I doubt that DataSocket is able to interface OPC in a 64-bit machine. 

 

anybody has idea? 

0 Kudos
Message 1 of 6
(4,187 Views)

Hi Daniel,

 

Unfortunately, NI OPC Servers is not officially supported on Windows 7 (32-bit or 64-bit). I am assuming this is the OS you are using)

The officially supported operating systems are: 
Windows Server 2008 (32-bit and 64-bit) 
Windows Vista Business/Ultimate (32-bit and 64-bit) -most recent 
Windows Server 2003 
Windows XP 
Windows 2000 Server 
Windows 2000 Service Pack 2 or higher 
Windows NT 4.0 Service Pack 6 

 

We don't have a specific timeline for Windows 7 support on NI OPC Servers right now. But, to be honest, I don't see that you'll have any problems running NI OPC Servers on Windows 7. In fact, my machine here is running Win7 and I haven't had any problems to date with running NI OPC Servers 2010 and neither have any of my colleagues that are running the same setup. So, although it's not listed as a supported OS, you shouldn't have any problems doing this. 


Best regards

Matt Surridge

National Instruments
0 Kudos
Message 2 of 6
(4,161 Views)

many thanks, Matt.

i see, but how shall i deal with this error??

 

error code - 0x80040154,

Class not registered

The server is not properly registered on the machine.

Try running <server>.exe /RegServer for an executable server, or RegSvr32.exe <server>.dll for an inproc server.

 

and, why i never see this error in 32-bit computer with same 3rd-party OPC and same version of LabVIEW??

 

pls advise. 

0 Kudos
Message 3 of 6
(4,156 Views)

Hi Matt,

could you kindly explain why i only have the attached error screenshoot in 64-bit PC, not 32-bit machine, when i double-click ANY of the OPC server listed in "Select URL" dialog? and any idea how to solve that? i have tried registering the server as being told by the error msg, but never succeed. 

Download All
0 Kudos
Message 4 of 6
(4,148 Views)

Probably late answer but it could help someone. I had the similar problem with "Class not registered" error message while trying to open the Datasocket connection with OPC (Kepware 5.12). I had installed the LabView Run-time engine 2011 in the PC with Win7-64.

In this oficial post http://digital.ni.com/public.nsf/allkb/40874A1AD3500DB186256A3A007373DA I noticed the information that the DataSocket is part of the Run-time instalation but nevertheless since my problem still persisted I decided to install the Datasocket driver separatelly (from the latest Labview 2012 SP1 driver DVD). After that the connection finally worked.

0 Kudos
Message 5 of 6
(3,912 Views)

One more but important addition to my previous post : I found out that I had installed "light" version of Run-time engine (I believe its called Runt-time for Web browser plugin which is included on the Drivers DVD). It seems that the FULL version of Run-time engine contains the DataSocket driver so that you really dont have to install it separatelly. Hopefully it helps.

0 Kudos
Message 6 of 6
(3,889 Views)