I am using datasocket write.vi in LabVIEW 6.1 to write a 1D array of I32 to the datasocket server. The speed at which this data is written to the DSS seems independent of the size of the written array.
I am then using datasocket read.vi to read back that array from the DSS on another computer. The speed at which datasocket read.vi reads back the array seems to be dependent on the size of the written array. If the written array starts at about 50 values, the average read time is 0.06 seconds. If I increase the written array size the average read time drops as low as 0.02 seconds.
The optimal size (to minimise the average read time) of the written array appears to be between about 200 and 800 values. If the
written array is bigger than about 800 values, the read time drops but this doesn't surprise me since the more data there is, the longer it should take to read it.
Are datasocket read operations optimised for written array sizes greater than (say) 200 values?
All this programming is being done in LabVIEW 6.1 under Windows 2000 (although I have noticed the problem in previous versions of LabVIEW and Windows).