MATLAB: How to connect to the Teledyne LeCroy MDA810A oscilloscope from MATLAB

activexactxserverautomationInstrument Control Toolboxscpivbsvisa

I want to be able to connect to a Teledyne LeCroy MD810A oscilloscope to send and receive data.

Best Answer

The Teledyne LeCroy Remote Control and Automation manual for this model provides information on how to communicate with this instrument with different approaches:
In the manual, the section, "Automation in MATLAB", describes an ActiveX approach where the MATLAB "actxserver" function can be used to invoke methods and access properties of the oscilloscope. An X-Stream COM example is provided in the following link:
Another approach would be to use VISA interface in Instrument Control Toolbox with the SCPI commands documented in the instrument manual for this model. Teledyne LeCroy provides a VBS command format, specific to Lecroy oscilloscopes.