MATLAB Answers


Teledyne Lecroy Reading Waveform

Asked by Shane Sullivan on 18 May 2018
I am using the available example from Teledyne Lecroy to read data from an oscilloscope . It was working just fine last week! I updated from 2017b to 2018a, and now it no longer works! I have tried using 2017b, and it still does not work. I am hoping to avoid a complete uninstall and reinstall.
I have narrowed the problem down setting the input buffer size. I create a device object:
deviceObj = icdevice('lecroy_basic_driver.mdd', interfaceObj);
If I check the InputBufferSize, it is at a default value of 26000
I then set the input buffer size with
set(interfaceObj, 'InputBufferSize', 500000);
If I check the input buffer size, it is set to 500000.
Wen I then connect to the device:
Immediately following that and I check the input buffer size, it is reset to 26000.
Any help or ideas? I contacted Teledyne Lecroy and they gave me another example they verified that the buffer size is working correct, and suggest it is something to do with the Matlab environment.


Sign in to comment.

0 Answers