drs4.ctrl.cw module#
- drs4.ctrl.cw.off(*, sg_host: str | None = None, sg_port: int | None = None, timeout: float | None = None) None[source]#
Stop outputting the CW signal.
- Parameters:
sg_host – Host name or IP address of the SG (e.g. Keysight 8257D). If not specified, environment variable
DRS4_CW_SG_ADDRwill be used.sg_port – Port number of the SG (e.g. Keysight 8257D). If not specified, environment variable
DRS4_CW_SG_PORTwill be used.timeout – Timeout of the connection process in seconds.
- drs4.ctrl.cw.on(*, freq_range: Literal['inner', 'outer'], signal_sb: Literal['USB', 'LSB'], signal_chan: int, lo_freq: float | None = None, lo_mult: int | None = None, sg_ampl: float | None = None, sg_host: str | None = None, sg_port: int | None = None, timeout: float | None = None) None[source]#
Start outputting the CW signal after setting the SG amplitude and frequency.
- Parameters:
freq_range – Intermediate frequency range (inner|outer).
signal_chan – Signal channel number (0-511).
signal_sb – Signal sideband (USB|LSB).
lo_freq – LO frequency in GHz. If not specified, environment variable
DRS4_LO_FREQwill be used.lo_mult – LO multiplication factor. If not specified, environment variable
DRS4_LO_MULTwill be used.sg_ampl – Amplitude of the CW signal in dBm. If not specified, environment variable
DRS4_CW_SG_AMPLwill be used.sg_host – Host name or IP address of the SG (e.g. Keysight 8257D). If not specified, environment variable
DRS4_CW_SG_ADDRwill be used.sg_port – Port number of the SG (e.g. Keysight 8257D). If not specified, environment variable
DRS4_CW_SG_PORTwill be used.timeout – Timeout of the connection process in seconds.
- drs4.ctrl.cw.status(*, sg_host: str | None = None, sg_port: int | None = None, timeout: float | None = None) None[source]#
Show the status of CW signal in the logger.
- Parameters:
sg_host – Host name or IP address of the SG (e.g. Keysight 8257D). If not specified, environment variable
DRS4_CW_SG_ADDRwill be used.sg_port – Port number of the SG (e.g. Keysight 8257D). If not specified, environment variable
DRS4_CW_SG_PORTwill be used.timeout – Timeout of the connection process in seconds.