From: Sam on
Hi,

I have connected my Lecroy WaveSurfer 422 to Matlab instrument control toolbox using the lecroy_basic_driver, and connected to the o-scope using TCP/IP. With tmtool, or equivalent commands at the command line, I can change my o-scope's settings and such.

However, the driver is very limited and I want to use all the commands and settings available on the machine (specifically, I eventually need to average a signal and return the results to the workspace). Whenever I type in fprintf, the o-scope disconnects and I will get an error any time after that
"Error using ==> icinterface.fprintf at 147 Connection closed by RemoteHost. Use FOPEN to connect to RemoteHost".
Is this just a syntax error? I've tried many different ways, but in general I use the approximate form: fprintf(interfaceObj,'GRID "XY" ').

Can someone help me with this problem? Am I missing something? Thank you for any advice you might have!