lightlab.equipment.lab_instruments.HP_8152A_PM module¶
Reference¶
-
class
HP_8152A_PM(name='The HP power meter', address=None, **kwargs)[source]¶ Bases:
lightlab.equipment.visa_bases.visa_driver.VISAInstrumentDriver,lightlab.equipment.abstract_drivers.power_meters.PowerMeterAbstractHP8152A power meter
Usage: Instrument: PowerMeter
Todo
Maybe allow a rapid continuous mode that just spits out numbers (‘T0’)
-
instrument_category¶ alias of
lightlab.laboratory.instruments.interfaces.PowerMeter
-
channelDescriptions= {1: 'A', 2: 'B', 3: 'A/B'}¶
-
doReadDoubleCheck= False¶
-
static
proccessWeirdRead(readString)[source]¶ The HP 8152 sometimes sends double characters. This tries to fix it based on reasonable value ranges.
We assume that the values encountered have a decimal point and have two digits before and after the decimal point
- Arg:
- readString (str): what is read from query(‘TRG’)
Returns: checked string Return type: (str)
-