LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error connecting to shared variable OPC item

I have a DSC application that has a bunch of shared variables.  Some of those variables are bound to an OPC server(Eurotherm).  When I place controls or indicators in a VI and bind them to the shared variable, some of them get the "green light" and some of them get the "red light".  If I hover over the red light, there is a message about an error connecting to the shared variable.  However, all the values update and appear to be working correctly.  Why would I get this error?
0 Kudos
Message 1 of 7
(4,908 Views)
Hi Brian,

Could you please be a little more specific about
1) Which of the shared variables are bound to the OPC Server?
2) Which of these that are bound to the OPC server have red lights? Do shared variables that are not bound to the OPC server have red lights as well? Or just some of the bound ones?
3) Which are controls and which are indicators?

And also, are the values changing both for the shared variables and the OPC items?

Best regards,

-Sam F, DAQ Marketing Manager
0 Kudos
Message 2 of 7
(4,903 Views)

Sam-

I can say that I only tested a couple of them.  I will try the rest of them and get you some answers.

0 Kudos
Message 3 of 7
(4,900 Views)
I have several of them reading now, but only one shows the error.  It is error 0x8ABC0066.  It is working fine.  It is a read-only shared variable that is bound to the OPC server.  The same "tag" for a identical instrument has no errors.  The OPC server shows no errors, and when I put that variable in the Shared Variable Manager watch window, it reports no error.  Any ideas?
0 Kudos
Message 4 of 7
(4,892 Views)
Hi Brian,
 
Which version of the DSC Module is this? Is the OPC Server that you are trying to connect to on your local machine or on a remote machine?

Have you tried deleting the front panel object and redragging it from the project explorer? What type of value is this (boolean, double, etc?)

What are you referring to when you mean an "identical instrument" - are you connection to two different OPC I/O servers in your projects?

Would you be able to post a screenshot of this error please?

Best regards,
-Sam F, DAQ Marketing Manager
0 Kudos
Message 5 of 7
(4,875 Views)

Sam-

It is version 8.2.1.  OPC server is on the local machine.  I have not tried deleting it, but I will.  It is a double.  There are four instruments on one of the com ports that the OPC server is communciating with.  They are all the same models, but with different addresses.  I will get a screenshot for you.

Brian

0 Kudos
Message 6 of 7
(4,872 Views)

Hi,

I have encountered the exact error - "Error 0x8ABC0066 connecting to..."

and reached to this post when searching "0x8ABC0066".

 

I am also using a OPC Server (which I think is not relevant to the error)

and also some of the connections indicators where red and some of them where green.

(only the red ones gave the error)

and also the update of the value (even the ones with the error) of the variables was good.

 

I am writing the solution at least in my case - which is pretty simple :

Those variables where shown on the front panel via Front Panel Binding and they where Defined in their properties as 'Read/Write'

even though they are 'Read Only' and that's what caused the problem.

 

Regards,

 

Amitai Abramson.

0 Kudos
Message 7 of 7
(3,291 Views)