LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Intermittent undefined error (-1073479672) when trying to talk to OPC server with datasocket

HI,

I'm trying to talk to an OPC server on a Win2000 machine on a network using datasocket. When I try to connect I get the undefined error code -1073479672. The strange thing is that it started giving me this error and then suddenly worked fine for a few hours and then started giving me the error again! I didn't change the configuration of either machines between when it worked and when it stopped working.
The machine I am trying to connect with (ie, the client) is running win XP SP2 but I have been through the procedures necessary to get OPC/DCOM working on this OS and as I say it did work for a while.

Thanks,

Mike
0 Kudos
Message 1 of 4
(4,030 Views)
My best guess is that this is some kind of a network issue. The network seems to be the only dynamic variable in the system (as opposed to the static variables of your VIs, PCs, etc.), so it is a very likely suspect. Are you able to narrow down exactly where the error is being returned in your VIs? If you run them in highlight execution mode, you should be able to determine this, and it might give you some clues about the failure. Also, are you able to communicate across the network outside of LabVIEW at the same time the error is occurring?

Regards,
E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(4,022 Views)
Thanks for the reply.

I actually discovered that the problem was caused by the OPC server periodically losing its configuration. It would still be useful to know what the error code means, though.


Mike
0 Kudos
Message 3 of 4
(4,013 Views)

I know this 2005 old, but for anyone who may be searching the forums for answers, this error in the OPCAuto DLL means the following:

 

OpcInvalidItemID: The item ID doesn't conform to the server's syntax.

 

Just a friendly fyi for those in the future.

0 Kudos
Message 4 of 4
(3,246 Views)