Hi, I have a N5242B with an E4419B connected via GPIB. Is there a way to programmatically set the Power Sensor Settings in the Source Power Calibration to use Sensor B instead of Sensor A?
Thanks in advance!
See the online help for command SOUR:POW:CORR:COLL:<pmChan>SEN:SEL
The short answer is yes.
The long answer depends on the remote programming interface you are using. Are you using the COM interface or SCPI? both have the API needed to do what you want, and if you tell us which you are using, I can point you to the right location in the online help.
I am using SCPI. Thanks!
Thank you! That's it. The help that I was using on the PNA-X did not have the scpi command listed.
When you use the Programming Guide in the online help, there are two options. one is the simulated user interface (which looks like what you used), and the other one is the command tree (which is down below on the main programming guide page). the simulated UI view is handy when you are not even sure where in the SCPI tree to even start looking, but it may not have a complete listing of all the available commands. the Command Tree is a complete listing, so if you know sort of where you want to look (for example in the sour:pow:corr:coll commands), then you can use the Command Tree to find the specific command you are looking for and if it is not in the command tree, then you can be sure it does not exist.
Retrieving data ...