LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Connecting Shared Variable to OPC Server

Hi All,
I use LBW 8.2.1 and DSC.
I try to connect to an OPC server :  Emerson DeltaV
 
When using Datasocket, I am able to connect to the DeltaV OPC server and browse (DSTP Server) to the variables I want to Read/Write.
But, since I'll need to connect to hundreds of variables I want to use DSC and so the Shared Variables.
When I try to bind the variable, Labview cannot detect the DeltaV OPC Server... Browsing results in a "Populating Node" comment... But never completes...
Does anyone have a clue?
 
Thanx to All
 
Dai
Dai

LV 7.1 - WIN XP - RT - FP
0 Kudos
Message 1 of 4
(7,337 Views)

Hi Dai,

I didn't see any problems with DeltaV OPC server in our database. Is it really a problem to work with DataSocket? I can understand that's a little bit ennoying for you! Are the names of your variables always constant? So you could keep it the same and then configure your system once.

Keep us informed about your application or if you have questions about programmation!

Regards,

Julien Roland - District Sales Manager
NI Belgium - Technical Support

Don't forget to rate a good answer
0 Kudos
Message 2 of 4
(6,446 Views)

Hi,

I do not trust datasocket for this. I already tried with LBW 7.1and after something like 150 datasocket connections to DeltaV OPC, some variables do not respond anymore.

It's kinda wierd. It happens to groups off variables. Just add one more connection and a all bunch off the other connections freeze. Remove it and it comes back...

One application Engineer of NI told me at the NiDays that datasocket was not meant for so many variables and that I had to use DSC.

He said something like : "Now you know why datasocket ships with Labview and that you have to pay for DSC..."

I'll take some screenshots to explain, but later... In fact, we are going to upgrade our DeltaV to version 8 or 9 soon (currently 7.4).

 

Dai

Dai

LV 7.1 - WIN XP - RT - FP
0 Kudos
Message 3 of 4
(6,433 Views)
Hi to All:

I think that i had the same problem:
I have a S7-200 PLC and the S7-200 PC Access (Siemens OPC server) and I see it in Datasocket, but not in NI-Shared Variable Monitor.
So i was googling for info in the web and i find this article: Can LabVIEW Act as an OPC Server?
It give to me some ideas and the solution that i found is to add in Variable Manager the OPC server and now I can read the S7-200 variables using NI-PSP in LV 8.2and  LV 8.0 and Datasocket in LV 7.1 (and read them in the Shared Variable Monitor)
0 Kudos
Message 4 of 4
(3,756 Views)