06-08-2010 07:57 AM
06-09-2010 08:04 AM
Hi Stu22,
Does the corruption only happen after you disconnect the switch from the network?
Where abouts is your remote OPC server?
How long does it take for the data to become corrupted?
Kind regards,
06-09-2010 01:52 PM
Hi Owen S, yes corruption only happens when disconnected from the network. The Remote OPC server is on a PC conected to the switch and my 2 OPC Clients on separate PC's. It may take an hour or can happen immediately for data to be corrupted.
Stu 🙂
06-10-2010 03:06 AM
Hi Stu,
Do you have another switch you could try? Or perhaps try some of the other ports on the switch?
Is there a reason why you have to disconnect from the network?
Kind regards,
06-10-2010 06:43 AM
06-11-2010 07:27 AM
Hi Stu22,
Is there any way you could remove all switch connections apart from the ones for your OPC server and client computer?
I'm not sure that security settings would corrupt data.
Kind regards,
06-11-2010 10:20 AM - edited 06-11-2010 10:27 AM
Have you tried using an network sniffer like Wireshark to capture the traffic? Barring a network analyzer would you be able to run NI Spy to capture the data? Are you sure that the data corruption is occuring at the network level and not in your application itself? What type of switch are you using (brand and model)? Do you know how it is configured? Can you query the switch for any logs or events? What are the addresses of your devices? Are you confident that you don't have any duplicate addresses in your network? Are your applications trying to communicate with something outside these devices such as a DNS or DHCP server? This could be why it only occurs when you disconnect from the main network.
Dropped connections can be an application issue if the applications specifically close connections after some specified time of inactivity. There could also be bandwidth limits defined which may drop connections after a specified threshold.It would be very rare for a switch to corrupt data unless it is specifically configured for some type of thresholds or filtering or if it is configured incorrectly. This type of issue is generally caused by a bug in the application or problem in the network infrastructure.
Based on your description of what is happening I would look at the network configuration to see if something is misconfigured.
06-14-2010 01:41 PM
06-14-2010 01:46 PM
Hi, as in my reply to the other post i suspect its to do with network. it may also not be corrupting the data. the datasocket gives an error of number 42, datasocket read error. I presume thats because it isnt able to see the items on the OPC server.
Stu
06-17-2010 03:39 AM