lightlab.equipment.lab_instruments.Tektronix_RSA6120B_RFSA module¶
Reference¶
-
class
Tektronix_RSA6120B_RFSA(name='The RF spectrum analyzer', address=None, **kwargs)[source]¶ Bases:
lightlab.equipment.visa_bases.visa_driver.VISAInstrumentDriver,lightlab.equipment.abstract_drivers.configurable.ConfigurableTEKTRONIX RSA6120B, RF spectrum analyzer
Usage: TODO
Fairly simple class for getting RF spectra. The RSA6120 has a lot of advanced functionality, like spectrograms, which could be implemented later.
-
instrument_category¶ alias of
lightlab.laboratory.instruments.interfaces.RFSpectrumAnalyzer
-
setMeasurement(measType='SPEC', append=False)[source]¶ Turns on a measurement type
If append is False, turns off all measurements except for the one specified
See manual for other measurement types.
-
run(doRun=True)[source]¶ Continuous run
After transferring spectra remotely, the acquisition stops going continuously. Call this when you want to run the display live. Useful for debugging when you are in lab.
-
sgramTransfer(duration=1.0, nLines=100)[source]¶ Transfers data that has already been taken. Typical usage:
self.sgramInit() ... << some activity >> self.run(False) self.spectrogram()
Currently only supports free running mode, so time is approximate. The accuracy of timing and consistency of timing between lines is not guaranteed.
-
spectrum(freqReso=None, freqRange=None, typAvg='none', nAvg=None)[source]¶ Acquires and transfers a spectrum.
Unspecified or None parameters will take on values used in previous calls, with the exception of typAvg – you must explicitly ask to average each time.
Parameters: Returns: power spectrum in dBm vs. Hz
Return type: (lightlab.util.data.Spectrum)
-