LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Receiving network variable data not written

Hello!
In the CVI documentation there is a quote saying that "in some cases, reader connections might receive data even when data has not been written to the server, for example when a connection is disposed".
I would like to dispose a conection and do not transmit any data to the subscribers. Is it possible?
 
Thanks in advance
 
0 Kudos
Message 1 of 3
(3,226 Views)

This happens only for variables with the "single-writer" restriction when an existing writer disconnects or a new writer connects - the data is resent because the write-access attribute changes on the server. All variables in the "system" process, that is, implicitly-created variables have the single-writer restriction.

If your system has only one writer connection, and your reader connections' lifetimes are bounded by the writer connection's lifetime then you should not see this issue. You can also completely avoid this by using explicit variables without the single-writer restriction. Explicit variables can be created using the Variable Manager program - and by default they do not have the single-writer restriction.

- Mohan

0 Kudos
Message 2 of 3
(3,208 Views)

Thanks Mohan!

 

0 Kudos
Message 3 of 3
(3,190 Views)