06-23-2006 02:53 PM
06-23-2006 07:02 PM
07-03-2006 02:09 PM
07-05-2006 06:23 PM
07-13-2006 02:43 PM
Hello,
Thanks for the input. I now have the server setup, etc. but am running into a Labview error/crash problem. I am using LV7.0 and OPC server, Windows XP. I have the server setup and OPC object as an AB PLC5/40E and data members associated with the channels on the PLC. I use the Datasocket Write VI and connect up a URL and data. I put this in a loop and it runs fine and at good speed. If I then try to change the URL (to write to a different address of the PLC) it immediately crashes with a range of errors that have no explanation (eg -2147467262). There are other times when it crashes and shuts down labview. Same result if built into an executable. IF the PLC is connected and operational it works OK. I am worried that the PLC will shut down for some reason (maintenance) and that will cause my exe to crash. IF anyone can help, I would appreciate it.
NI tech support have duplicated the problem and are trying to offer a work around or a solution, but so far with no success. One suggestion is to use LabView DSC but this is another $2k or so above the OPC original cost.
Thanks,
Ron Larson