I am using the DataSocket functionality to read data from an OPC Server. When the OPC server is local it works fine, but when I am trying to connect to external Server the Timeout Error (-2147220221) is showing.Error:-2147220221. Check parameters. Error: The DataSocket operation timed-out. However, the DS_SelectURL does display the variables that exist on the remote OPC Server.
The DataSocket protocol has an OPC layer, which allows you to read and write to an OPC server using DataSocket. This function is available for LabVIEW 5.1 and upper.But sometimes client can't connect to server, and timeout error is showing up. There is a service called Remote Registry that must be running on server.
For Configuring this function, please follow the instructions below:
Now you will be able to establish the connection.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.