Rank: 243525 based on 0 downloads (last 30 days) and 0 file submitted
photo

Hans Segers

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Hans
Updated File Comments Rating
19 Mar 2013 LeCroy Oscilloscopes - MATLAB Instrument Driver MATLAB instrument driver for LeCroy oscilloscopes such as SDA, WaveMaster, WavePro, and WaveRunner Author: The Instrument Control Team

I have been using this driver for the Wavesurfer 104Xs-A. At apparently random times we could not connect to it. The problem was in the wrong buffersize for TCPIP at connect time. This is calculated dynamicaly, and is dependent on the settings of the scope. Our solution was to fix the TCP buffersize to 10 Mbytes in the connect function in the initialization and cleanup.

original code
set(interface, 'InputBufferSize', bufferSize);
set(interface, 'OutputBufferSize', bufferSize);

new code
set(interface, 'InputBufferSize', 1000000);
set(interface, 'OutputBufferSize', 1000000);

Depending on your hardware you may even need larger buffers.

Contact us