09-12-2019 09:57 AM
Hi folks,
I am trying to read back the set frequency and power level on a Keysight N5183B sig gen using LabVIEW. I couldn't find (or missed) any instrument driver function or SCPI command in the programming manual that does that.
Does anyone have any idea of how can I get (read from instrument) the frequency and power level from a N5183B signal generator using LabVIEW and GPIB instrument control?
TIA
Mike
09-12-2019 12:21 PM
The driver is IVI and I don't have it installed, and haven't used it. I typically don't automate this model.
SCPI to get centre freq is... :SOUR:FREQ:CENT?
SCPI for power is.. :SOUR:POW:LEV:IMM:AMPL?
But it depends a bit on the mode the instrument is in. I think not all commands will return what you expect in certain modes.
SCPI Manual is here - https://www.keysight.com/main/gated.jspx?lb=1&gatedId=2179718&cc=CA&lc=eng&parentContId=x202011&pare...