Hello,
I try to remotely turn on the Peak Search funtion and read this value. Currently I can turn on the marker and read the value but I'm not able to execute the Peak Search function:
fprintf(obj1,'CALC:MARK:STAT ON');
fprintf(obj1,'CALC:MARK:FUNC:EXEC MAX');
peak = str2num(query(obj1,'CALC:MARK1:Y?'));
The following message appears on the CXA: Undefined header; CALC:MARK:FUNC:EXEC
I found this command here: http://na.tm.agilent.com/pna/help/WebHelp9_42/Programming/GP-IB_Command_Finder/Calculate/Marker.htm#fselect
Thanks for your help.
JB
I try to remotely turn on the Peak Search funtion and read this value. Currently I can turn on the marker and read the value but I'm not able to execute the Peak Search function:
fprintf(obj1,'CALC:MARK:STAT ON');
fprintf(obj1,'CALC:MARK:FUNC:EXEC MAX');
peak = str2num(query(obj1,'CALC:MARK1:Y?'));
The following message appears on the CXA: Undefined header; CALC:MARK:FUNC:EXEC
I found this command here: http://na.tm.agilent.com/pna/help/WebHelp9_42/Programming/GP-IB_Command_Finder/Calculate/Marker.htm#fselect
Thanks for your help.
JB
To execute the peak search function, you can use command “:CALCulate:MARKer[1]|2|…12:MAXimum”. For instance, if you want to peak search marker 1, you can send command “:CALC:MARK1:MAX”.
Looks like the linkage you attached is for the network analyzers. For X-series signal analyzer, you can refer to its User’s and Programmer’s Reference:
http://cp.literature.agilent.com/litweb/pdf/N9060-90027.pdf
Another approach is to use the “built-in help” of the signal analyzer. Press hardkey [Help], and then press any keys you want to know how to use of the instrument on front panel, then you will be able to get the detailed explanation, including the SCPI commands.
Regards -