Hi,
I'm having some difficulties getting HP ESA-L1500A to function with matlab. Every time I try to send a new command the instrument resets itself and then executes the command I've sent. I'm probably doing something (OK, probably many things ) wrong but can't really figure this one out...
Code:
inst = gpib('agilent',boardID,instrID);
set(inst,'EOSMode','read&write');
set(inst,'EOSCharCode','LF');
fopen(inst);
fprintf(inst,command);
fclose(inst)
delete(inst)
So I'm creating a new gpib object for all commands and closing it after executing the command. The above works fine with other instruments on the same bus...
I'm having some difficulties getting HP ESA-L1500A to function with matlab. Every time I try to send a new command the instrument resets itself and then executes the command I've sent. I'm probably doing something (OK, probably many things ) wrong but can't really figure this one out...
Code:
inst = gpib('agilent',boardID,instrID);
set(inst,'EOSMode','read&write');
set(inst,'EOSCharCode','LF');
fopen(inst);
fprintf(inst,command);
fclose(inst)
delete(inst)
So I'm creating a new gpib object for all commands and closing it after executing the command. The above works fine with other instruments on the same bus...
Please realize that the L1500A is not a scpi based instrument. Are you trying to send scpi to the analyzer? If so, you need to get a programming guide specifically for the L1500A, which has an older style command set.
Regards -