Hi All
I have some stragnge bahavior in Labview 8.5.1 in combination with datasocketes. I have written a set of objects to handle OPC variables using DataSocket Labview objects. Things run fine until I start changing my app. When I change my code (not even my custom OPC datasocket objects), sometimes LV crashes. All LV VIs and other windows close and LV is completly gone (windows is still fine). When I open an application which was running fine before at this point and run it, it crashes the same way as the failing one. To resolve, I have to delete and recreate a wire which connects to every datasocket object (datasocket open, datasocket read, datasocket write and datasocket close). Once I have redone those wires, my application works fine, until the next such crash happens. Unfortunately, this happens so frequent, while developing that it gets unusable.
I'm accessing a Siemens OPC server.
I have done an other approach using an OPC DA auto ActiveX and this seems to be much more stable, however, I was not able to get the DataChanged callback functionality to work and therefore I would have to do a constant polling of the OPC data, which I don't like.
Any help would be grat.
regardes,
Herbert