LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC and error code 1950679030

Communication between LabView and an OPC-server only works when I run the "Distributed System Manager" at the same time. Otherwise i get the error code 1950679030.  Any hints? 

 

/Mats

0 Kudos
Message 1 of 5
(3,152 Views)
Do you get this error at all times? Or, does the shared variable read correctly the first few times and then you get the error? Posting a snapshot of your code would be helpful.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 5
(3,147 Views)

The code is just for testing so far. 2 signals connected to gauges.

 

I get the error everytime.

If I start  the "Distributed System Manager" from the tools menu it works OK, no errors.

The OPC-server seems to work OK. I've checked this with Matrikon OPC-Explorer. 

0 Kudos
Message 3 of 5
(3,142 Views)

Have a look at this:

http://forums.ni.com/ni/board/message?board.id=170&message.id=267124&requireLogin=False

 

Maybe the error is associated with respect to the timing of the reads? Try to put a wait in your loop to see if you get the error?

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 4 of 5
(3,139 Views)
It doesn't work even when I singel-run so I don't think it's a timing problem.
0 Kudos
Message 5 of 5
(3,123 Views)