Why am I unable to connect a LeCroy Wavepro 7200A oscilloscope using TCPIP to the Instrument Control Toolbox 2.5 (R2007b)?
6 views (last 30 days)
Show older comments
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
Accepted Answer
MathWorks Support Team
on 10 Feb 2010
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>
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!