Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Keysight MXG N5183B Get RF Power Level

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

0 Kudos
Message 1 of 2
(2,027 Views)

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...

0 Kudos
Message 2 of 2
(1,997 Views)