LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Network Variables and repeated data being received!

I use Network Variables with an Implicitly Created Variable (so there is a "single-writer" restriction).
Everytime I "publish" a data and use CNVDispose, I receive extra data (data with repeated values).
I learn from this Forum (and from CVI documentation) that this kind of think happens because the write-access attribute changes on the server.
My questions are:
Is there some way to avoid this extra data without change to Explicitly Created Variables?
And if I do not use CNVDispose at each write operation? Is there a problem?
Tipically my "write operations" are like this:
 
CNVCreateScalarDataValue (&data, CNVDouble, value);
CNVPutDataInBuffer (bufferedWriter, data, CNVDoNotWait);
CNVDisposeData (data);
 
Thanks in advance
0 Kudos
Message 1 of 1
(899 Views)