04-15-2005 12:06 PM
04-19-2005
08:44 AM
- last edited on
03-09-2026
09:32 AM
by
Content Cleaner
The maximum number of connections is theoretically 1000 (What Is the Maximum Number Of DataSocket Connections I Can Make To One DataSocket Server?), so it's not simply a problem with the number of connections. That many connections is probably just overloading your system. What are the specs of the computer you are using?
What mode are you running these connections in? You could try running them in AutoUpdateMode (Difference between DataSocket AutoUpdate Mode and Non-AutoUpdate Mode) to improve performance.
As far as the programming structure goes, have you had a look at "Multiple OPC Items Monitor.vi" in the NI Example Finder? You may be able to make some optimizations based on its structure.
Are you familiar with LabVIEW DSC (Datalogging & Supervisory Control)? The Tag Engine used by DSC can greatly optimize communication with OPC servers. See this thread for more information.
04-19-2005 09:44 AM