TCPIP instrument communication

1 view (last 30 days)
Kenneth
Kenneth on 17 May 2012
I've been working with a LeCroy scope (Waverunner LT372) but I've had a bit of trouble communicating with it via ethernet. I thought the tcpip command worked similar to the gpib. I'm definitely establishing some sort of communication, and I seem to be able to send commands to the instrument, but most don't execute, and I definitely can't get the scope to return queries I send to it. My instrument establishment communication is as follows:
tobj = tcpip('IP address of instrument', 'port of instrument'), where both the port and IP address are set on the instrument fopen(tobj)
Then I use the typical fprintf and fscanf to send/receive information from the scope. Any thoughts? Thanks
  1 Comment
Walter Roberson
Walter Roberson on 17 May 2012
Could you check
get(tobj,'Terminator')
As best I can guess from the Waverunner documentation, this should probably be LF.

Sign in to comment.

Answers (0)

Categories

Find more on Instrument Control Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!