LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What actions LabVIEW OPC-client do if it receives flag: CONNECT_E_ADVISELIMIT from OPC-server

Hi All,

 

LV 9.0 + DSC 9.0

 

I'm using LV IO-server as a OPC client. OPC server sends a flag  CONNECT_E_ADVISELIMIT because LV is requesting data too fast. How LV OPC-client is programmed to behave in this case?

 

BR, Jim 

0 Kudos
Message 1 of 3
(3,277 Views)
What OPC server are you using? I don't think that's the interpretation of the flag CONNECT_E_ADVISELIMIT. Doesn't it mean that 'the connection point has already reached its limit of connections and cannot accept any more'? How many tags have you connected to the server? How many can your server handle? If you think LabVIEW is requesting data too fast, have you tried slowing down the while loop by placing a Wait in there?
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 3
(3,259 Views)

Hi I'm using ABB OPC server. I have a about 400 OPC items. We do not exceed any OPC item amount limits  in OPC server.

 

 

This is from ABB OPC server manual:

 

"If the client continues to call these methods before the OPC Server answers, the
OPC Server returns the error CONNECT_E_ADVISELIMIT. This error indicates
that the limit is reached. The client should then wait for one of the uncompleted
operations of the same type to finish, before trying again."

 

I need to know is there a this waiting function in LV OPC client. We get very strange errors randomly and this is one potential error source. Update rates are quite slow so there is not much to do with them.

 

BR, Jim

0 Kudos
Message 3 of 3
(3,232 Views)