MATLAB: Am I unable to connect a LeCroy Wavepro 7200A oscilloscope using TCPIP to the Instrument Control Toolbox 2.5 (R2007b)

Instrument Control Toolboxlecroyporttcpipvicp

I am attempting to communicate with a Lecroy oscilloscope over TCPIP. I am using the TCPIP object to communicate with the instrument. However, when I attempt to execute the code below:
t = tcpip('172.26.208.227') ; % IP address of my instrument
fopen(t)
I receive the following error:
???Error using==> icinterface.fopen at 82

Best Answer

Many instruments or instrument vendors have designated specific ports on instruments for communications between the client and instrument. It is on this port that queries are received and data is returned. LeCroy uses Virtual Instrument Control Protocol (VICP) which designates port number 1861 for this communication.
Hence, to communicate with a LeCroy instrument over TCPIP, you would need to specify the port number along with the IP address of the instrument as shown below:
t = tcpip('172.26.208.227', 1861);
fopen(t)
For additional information about VICP, follow the link below:
<http://www.lecroy.com/tm/Library/LABs/PDF/LAB_WM827.pdf>