dpConnect

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
slamkwon
Posts:19
Joined: Wed Oct 10, 2018 2:20 am

dpConnect

Post by slamkwon »

dpConnect
dpConnect(strSysname + sdp);


1. Is there a limit to the number of dpConnects in the script (ie. maximum load to the system when the number of connections is large)?
2. At what point will I disconnect if I do not connect and disconnect

Code: Select all

dpConnect (strSysname + sdp+".para.PV);

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: dpConnect

Post by leoknipp »

There is no limit defined for the number of dpConnects.
A dpConnect itself will not cause load. Only dpConnects which are triggered will cause load for the Event Manager and the manager which receives the hotlinks.
How much data can be handled by your systems depends on the used hardware, the operating system, the project configuration (single, redundant), the size of the data model, the number of value changes and alerts per second, ....

Normally there is no need to do dpDisconnects in the scripts.
When a CTRL manager is stopped a dpDisconnect is made automatically. If a panel is closed which has made dpConnects the dpDisconnects is done automatically.

Note: The syntax in your example is not correct. The name of the work function is missing.

Best Regards
Leopold Knipp
Senior Support Specialist

2 posts • Page 1 of 1