LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Update of OPC-Controls produce heavy overhead

Hi group,

inside my application i use a lot of controls and indicators, which are
connected directly to an OPC-server. During runtime i realized a extreme
slowdown when OPC is active. I think the update interval is too short. Do
somebody know, how to change this interval?
Another effect is the inconsistency when the user changes one value too
fast.. so the OPC-server don't get the last one. In my app this behavior is
really dangerous.

For help i would be appreciated
greets
Henrik
0 Kudos
Message 1 of 3
(2,477 Views)
The front panel datasocket (opc) subscribers are set to update whenever they detect a change in the item, ie whenever data has been written to them. Unfortunately, there is no way that I am aware of to configure the datasocket controls to update at certain time intervals instead. Front panel datasocket is an extremely easy method of programming your communication, but it does not have much flexibility. You might be forced to actually program the datasocket reads and writes using the datasocket VIs. This might also improve your performance since the datasocket operations won't all be running in the user interface thread.
0 Kudos
Message 2 of 3
(2,477 Views)
"Aaron Marks" schrieb im Newsbeitrag
news:506500000005000000E15F0000-1012609683000@exchange.ni.com...
> You might be forced to actually program the datasocket reads and
> writes using the datasocket VIs. This might also improve your
> performance since the datasocket operations won't all be running in
> the user interface thread.

Thanks for your answer.. during the last two days i have changed from direct
OPC-connections to the prefered Datasocket vi's. When i switch throught the
menu's and use datasocket exchange during runtime, i feel a really exiting
peformance increasement. Before I changed, i had to wait 3 seconds for any
reaction of LV, now it's approximately 300ms. From this point i will never
use this new feature again, till the
y improved this technique.

greets
Henrik
0 Kudos
Message 3 of 3
(2,477 Views)