LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write to opc by using datasocket

Hello,

I would like to create an OPC client with LabVIEW. The OPC Client should read and write variables from an OPC server. Reading the variables work. Once I want to write to one item I got the error message:

 

 „Fehler 1179 ist bei DataSocket: Öffnen in OPC Client.vi à BspAuftufOPCClient.vi aufgetreten

Mögliche Ursachen:

LabVIEW:  Zugriffsmodus wird für die Operation nicht unterstützt.“

 

 

Why can´t I open the DataSocket in the Modus write?

You can see my VI in the attachments.

 

 

Thanks

Volker

0 Kudos
Message 1 of 2
(2,962 Views)
Hello Volker,

you access two times to the same ressource. Please control the dataflow with an error connection.
A connection from the error out (close function of the lesen vi) to the error in of the datasocket open vi (schreiben).

Kind regards,

Elmar
0 Kudos
Message 2 of 2
(2,895 Views)